punchcard
punchcard copied to clipboard
Content Creator: Unsaved content notification
As a Content Creator, I want to be notified if I enter content in the CMS and try to leave the screen before saving so that I can have the ability to save the content I entered and not lose the work I did.
Feature: Unsaved content notification
As a Content Creator,
I want to be notified if I enter content in the CMS and try to leave the screen before saving
So that I can have the ability to save the content I entered and not lose the work I did.
Scenario: Create content
Given I am creating content
And I try to leave the screen without saving
When I go to leave the screen
Then I will stay on the screen I am currently on
And I will see a notification that my changes have not been saved
And be given the option to leave the page and not save
And be given an option to leave the page and save those changes
Scenario: Edit content
Given I am editing content
And I might try to leave the screen without saving
When I go to leave the screen
Then I will stay on the screen I am currently on
And I will see a notification that my changes have not been saved
And be given the option to leave the page and not save
And be given an option to leave the page and save those changes
Unsaved content notification:
- [ ] Create content
- [ ] Edit content
Related to https://github.com/punchcard-cms/punchcard/issues/256
🎱 @joshkimmell @poofichu @mkiang3051 @scottnath - Ready for review.
@ineedsubstance @scottnath Would this story be better like this?
Scenario: notify of unsaved changes
Given I am creating content (new or revision)
And I might try to leave the screen without saving
When I go to leave the screen
Then I will see a notification that my changes have not been saved
Scenario: option to leave and NOT SAVE changes
Given I am creating content (new or revision)
And I might try to leave the screen without saving
When I go to leave the screen
Then I will be given the option to leave the page and not save
Scenario: option to leave and SAVE changes
Given I am creating content (new or revision)
And I might try to leave the screen without saving
When I go to leave the screen
Then I will be given an option to leave the page and save those changes
---
- [ ] Unsaved content notification/ notify of unsaved changes
- [ ] Unsaved content notification/ option to leave and NOT SAVE changes
- [ ] Unsaved content notification/ option to leave and SAVE changes
@joshkimmell @scottnath - I'm not sure, they seem to be saying the same thing so I'll let Scott decide which is the more clear scenarios.
The difference is in the scenarios and the tasks that are broken out. A developer working this story can literally check off the tasks as they go.
Agree, let's see what @scottnath thinks.
Yeah, you are probably right. It seems clearer in terms of the tasks that can be completed.