Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In 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.


hey 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: