Just woke up recently and suddenly found a UI change in the Perchance editor. The “revisions” button as Perchance generator editors found very familiar with has now been renamed to “backups”, likely because it’s a more familiar name. It still lists revisions though by default, same as the revisions did.

But, as my genuine reaction to the new change, I added references to the restore point feature I made as well as adding a functionality to list all the restore points available for the generator. And, as I turn on my custom script extension, here’s what it looks like on my end now.

Here’s a little demo on how the dialog above actually works.

  • @[email protected]M
    link
    fedilink
    English
    3
    edit-2
    2 months ago

    Heh yep, I just hadn’t got around to replying to your post yet: https://lemmy.world/post/14490176 By coincidence, I actually lost about an hour of work (due to computer crash) within a few hours of you posting that, so I had some extra motivation to implement it.

    It now saves local browser storage backups/revisions if you’re editing and it has been 5 minute’s since your last save. The local backups display at the top of the revision history (they’re labelled as browser-stored and are orange instead of blue). It also shows you an alert on page load if there are local backups of your generator that are newer than the generator’s last save time.

    It currently stores up to 30 backups/checkpoints per generator, and if there are more than that, it starts ~exponentially deleting the older ones so basically there are a higher number of recent ones and then the checkpoints get further apart as they get older. It clears backups that are >30 days old.

    • BluePowerOP
      link
      English
      12 months ago

      Great details on that though, I previously wonder what’s the reason it changed to “backups” and not just revisions anymore. 😄

      • @[email protected]M
        link
        fedilink
        English
        22 months ago

        I figure it’s a more intuitive/common word that gets across the same idea. It also captures that fact that it’s now more backup-related, rather than being purely sequential version list, if that makes sense.