theastrogoth / tera-raid-builder

A tool for simulating Tera Raid battles in Pokémon Scarlet & Violet
https://theastrogoth.github.io/tera-raid-builder/
4 stars 3 forks source link

Displayed and Stale Links #208

Open Ericzklm opened 4 months ago

Ericzklm commented 4 months ago

Jotting down an idea:

In addition to copying a shared link to the clipboard, also have it shown on the page so users don't have to click the button again to get a link of the same strat. This may involve checking for edits and if the link becomes stale and either clearing the link from the page or somehow indicating that the displayed link is now stale.

theastrogoth commented 4 months ago

I've addressed half of the problem - #210 should prevent new links from being generated every time the button is pressed, and the button will now copy the hard-coded links instead of making new ones in Firebase. So now, nobody would need to feel bad about losing their link and needing to recopy it by pressing the button again.

It's still worth having links displayed on the page somewhere and having a way to monitor for stale links.