The-Strategy-Unit / The-Strategy-Unit/nhp_inputs_selection_app

Add a custom disconnect message

Open Beginner friendly
#14 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement priority: could
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.