expunge-assist icon indicating copy to clipboard operation
expunge-assist copied to clipboard

Code Oops Reminder

Open sydneywalcoff opened this issue 1 year ago • 1 comments

Dependency

  • [ ] #1141

Overview

If you use browser navigation like (refresh, forward and backward) while in the letter generator, the app forgets all your previous answers. And because it uses your previous answers to determine the flow and eventually to form the letter, the app breaks and shows a blank white page.

We should a) warn users not to use browser navigation like (refresh, forward and backward) while in the letter generator before they start #1152 b) if a user does refresh, we should show a little Oops reminder (similar to the https://github.com/hackforla/expunge-assist/issues/1136, but smaller) reminding the user not to use browser navigation

Action Items

  • [ ] Code Oops Reminder
    • [ ] The Oops Reminder should show when someone breaks the LG from the inside

Resources/Notes

DESIGN

The bug is created by having an empty formstate while in the middle of the letter generator. This might be able to be used to dynamically present the oops reminder when the state is empty and you are in the LG.

sydneywalcoff avatar Feb 02 '24 23:02 sydneywalcoff