Skip to content

Add unsaved changes alert for pack changes - #41

Merged
maplethorpej merged 4 commits into
Packstack-Tech:masterfrom
darinalleman:10-show-unsaved-warning
Feb 13, 2021
Merged

Add unsaved changes alert for pack changes#41
maplethorpej merged 4 commits into
Packstack-Tech:masterfrom
darinalleman:10-show-unsaved-warning

Conversation

@darinalleman

@darinallemandarinalleman commented Jan 11, 2021

Copy link
Copy Markdown
Contributor

Show a warning if there are pending unsaved changes in the pack edit view when trying to navigate away.
My screen recorder won't show it, but if you try to close the tab or refresh it will do a normal JS alert to prevent the page from closing. Closes#10.

Screenshot 2021-01-10 221414

10-show-unsaved-warning.mp4

@maplethorpej

Copy link
Copy Markdown
Collaborator

This is great 🎉

@maplethorpej

Copy link
Copy Markdown
Collaborator

Looks like it will require the conflict to be resolved and then we can merge it. @darinalleman

@darinalleman

Copy link
Copy Markdown
ContributorAuthor

Conflicts resolved!

@darinallemandarinalleman mentioned this pull request Jan 23, 2021
@maplethorpej
maplethorpej merged commit 82f58c2 into Packstack-Tech:masterFeb 13, 2021
@darinalleman
darinalleman deleted the 10-show-unsaved-warning branch February 16, 2021 12:14
Sign up for freeto 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.

Warn "Unsaved changes" if navigating away from 'Create Pack' with unsaved changes

2 participants

@darinalleman@maplethorpej