The-Strategy-Unit / The-Strategy-Unit/nhp_inputs_selection_app
Add a custom disconnect message
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 0
- Forks
- 1
- Avg merge
- 17h 40m
- Merged PRs (30d)
- 11
Description
Timeout on the app is 10 mins.
Users may be concerned that they lost progress, but they can return to the scenario via the selection app.
The disconnection notification is generic and just says that you've been disconnected from the server.
We could write our own disconnect message with e.g. {shinydisconnect}. Edit: which apparently just tweaks the CSS of the existing message, so maybe we could write our own to avoid the dependency.
Might only need a few tweaks to keep it simple:
You have been disconnected from the server after 10 minutes of inactivity.
Your progress has been saved.
You can return to the inputs selection app to continue where you left off.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing disconnection notification in the app and reviewing whether its UI can be customized without the shinydisconnect dependency. Done when the message explains the 10-minute inactivity timeout, confirms that progress was saved, and links users to the inputs selection app to continue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100