10 ms·
Thanks a lot for this, it's really helpful to get an idea of how this would be used. How would you suggest this is used then? People have the option to save a
by codez 13y ago
Thanks a lot for this, it's really helpful to get an idea of how this would be used.
How would you suggest this is used then?
People have the option to save a file or to localStorage?
Or should it just do it in the background without people knowing or maybe it's set as a config option?
You opinion on this is really appreciated so thanks again!
- onion2k 13y agoIn a few things I've made that use it I do it in the background so state is maintained between sessions (load the data during initialisation, save it on any state change). It's important to inform the user that it's storing things locally, and include a UI element that allows the user to clear all the data easily, and possibly let users switch storage off (for shared computers). I use it in mobile things so that's not really a problem for me.
- codez 13y agohey onion2k, this insight is really appreciated as it will really help to improve tyto. How would you suggest maybe showing this information to the user? a modal or pop up? or something less intrusive just like a spinner when it saves? Or should there be some intro that asks the user if localStorage is ok to be used? Maybe a disappearing banner? then a button could easily be added to the header for removing said data maybe. I guess I will really need to assess how many buttons make their way into the header really. What's you opinion on drop buttons or maybe some of the actions being icon buttons and some text plus icons? I'm just thinking of screen real estate and the responsive element. on mobile I would like the traditional hidden menu I think when it comes to it. Thanks for the insight and feedback again, it's really appreciated.