cdisc-org / cdisc-org/conformance-rules-editor

Alert user if they have unsaved changes

Open
#217 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
14
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Howto: https://javascript.plainenglish.io/how-to-alert-a-user-before-leaving-a-page-in-react-a2858104ca94

AC
- If a rule is dirty (does not match the rule saved in the database) and the user tries to navigate away from the page, they should receive a notification that their progress has not been saved.
- Rule Editor should notify the user when they try to select a new rule if the current rule has been edited without being saved or discarded.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.