Open lbwexler opened 6 years ago
Happy to take any low hanging fruit here and close this issue. Doesn't have to be perfect.
Would be cool to show off bringing up the AppUpdate banner (in a simulated way) as well.
Think we might put much of this stuff in a top-level tab called "App Lifecycle" or App Support": Sub-tabs could be:
Still agree some good examples to be added re. preferences and (especially) exceptions, which have a clear UI component and are a great example of some Hoist-level polish that apps should leverage.
The preference example could allow the user to set a few preferences via bound form controls - e.g. a boolean (switchInput), string (I'd suggest a select), and JSON (jsonInput). All three should be set to local so they are persisted only to the user's own browser.
Exception example could, obviously, trigger an exception, to show the handler dialog. Only trick there is that we would not want to log on the server or trigger an email to our support list.
Would be great to get our websocket support in there. Maybe the ability to send a message via a websocket, and get the server to answer? Could display the json in a little text box...
"Hoist, tell me a Dad Joke?"
idleService.suspendApp()
to show "app is sleeping" featureXH.getUser()
and display details