Wubbadub/ClubHub

Add Editor 'Save' Prompt to Avoid Losing Changes

Opened this issue · 0 comments

Description:
Ask the user if they would like to save changes before leaving the editor. #ForgivingDesign

Requires:

  • Logic in Editor component based on value of dirtyBit state field.
  • A friendly prompt.

Breakdown:

  • Add logic in Editor.jsx to prompt if dirtyBit === true i.e. there exist unsaved changes
  • Design and implement prompt
  • Test

Time Estimation:
2 hrs.