punchcard icon indicating copy to clipboard operation
punchcard copied to clipboard

Content Creator: Unsaved content notification

Open ineedsubstance opened this issue 9 years ago • 7 comments
trafficstars

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

ineedsubstance avatar Aug 10 '16 18:08 ineedsubstance

Related to https://github.com/punchcard-cms/punchcard/issues/256

Snugug avatar Aug 15 '16 15:08 Snugug

🎱 @joshkimmell @poofichu @mkiang3051 @scottnath - Ready for review.

ineedsubstance avatar Aug 18 '16 18:08 ineedsubstance

@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 avatar Aug 18 '16 18:08 joshkimmell

@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.

ineedsubstance avatar Aug 18 '16 19:08 ineedsubstance

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.

joshkimmell avatar Aug 18 '16 19:08 joshkimmell

Agree, let's see what @scottnath thinks.

joshkimmell avatar Aug 18 '16 19:08 joshkimmell

Yeah, you are probably right. It seems clearer in terms of the tasks that can be completed.

ineedsubstance avatar Aug 18 '16 19:08 ineedsubstance