galacticcouncil / hydration-ui

8 stars 12 forks source link

Add debug mode #1250

Open jak-pan opened 7 months ago

jak-pan commented 7 months ago

Check for debugMode=true in local storage (you will need to manually add this entry)

Debug mode:

- show "warning you are using development mode of app. Proceed with caution" notification with button/link to disable/remove debugMode local storeage entry
- add all assets to localStorage
- drop all debug logs to console (i.e. all routes found by router)
- ??? (add ideas)
jak-pan commented 7 months ago

We can use this as testing ground for "degen" mode. We can create new subdomain, but to use it we require some gatekeeping for now.