Giter Site home page Giter Site logo

Update old saves about regexr HOT 2 CLOSED

gskinner avatar gskinner commented on August 19, 2024
Update old saves

from regexr.

Comments (2)

gskinner avatar gskinner commented on August 19, 2024

Saved patterns can be updated for 24hrs. This is to prevent issues with people changing patterns after others have favourited them or linked to them. We had a fair amount of discussion on the best approach to this (ex. I didn't like the JSFiddle approach of not allowing updates at all), but I'm definitely open to new ideas on how to approach it. It is mentioned in the video tutorial, and I just pushed a commit that includes it in the Help docs.

Feel free to reopen.

from regexr.

tomByrer avatar tomByrer commented on August 19, 2024

There are a few ways to allow editing:

  • login procedure (I guess you're trying to keep this light.
  • soft login like jsPerf uses; seems to allow a simple username + email address (& cookie?) without a full login. A bit extra 'security' to allow only the user update after X hours.
  • token for edit eg: share: http://regexr.com/38mqi but you can edit with http://regexr.com/38mqi?edit=g3yq468k4lc9jdk2875z. Kinda hard to break, & if someone really wants to have others edit, they'll have to share the link/token.
  • fork history You'll have to add obvious forking, then add a fork listing. Keeps the linked version stable, but semi-easier to find updates (can be a bit messy after 20 forks, but still helpful) ex:

from regexr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.