Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify user of unsaved edits #921

Merged
merged 15 commits into from
Oct 19, 2023
Merged

Notify user of unsaved edits #921

merged 15 commits into from
Oct 19, 2023

Conversation

egbicker
Copy link
Contributor

@egbicker egbicker commented Oct 5, 2023

Notify user of unsaved text when navigating away from editor.

The user can decide whether to remain on the page, or discard unsaved changes to navigate away.

Closes #912

@egbicker egbicker changed the title move config files to folder and add unsaved change dialog prompt when… Unsaved Text Dialog on Menu Navigation Oct 5, 2023
@egbicker egbicker linked an issue Oct 6, 2023 that may be closed by this pull request
@jw3
Copy link
Member

jw3 commented Oct 7, 2023

Config dialog has rule text

image

@jw3 jw3 changed the title Unsaved Text Dialog on Menu Navigation Notify user of unsaved edits Oct 19, 2023
@jw3 jw3 merged commit 33c5321 into ctc-oss:master Oct 19, 2023
22 of 27 checks passed
jw3 added a commit that referenced this pull request Oct 31, 2023
This fixes an issue where the text editors were erroneously notifying of
existing changes after a deployment.

For reference see the changes in #727 and #921. The text clearing in the
former is clashing with the flagging in the latter. This PR addressed it
by flipping a flag right after the point where the text is cleared.

Closes #934
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Text editor state issues
2 participants