hackforla / expunge-assist

Expunge Assist is a free digital tool specifically designed to aid Californians with arrest and conviction histories in clearing their criminal records.
https://expungeassist.org
40 stars 17 forks source link

Code Oops Reminder #1142

Open sydneywalcoff opened 8 months ago

sydneywalcoff commented 8 months ago

Dependency

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

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.

eruan8888 commented 1 month ago

Design can be found here

sydneywalcoff commented 1 month ago

Current Figma content isn't fully accurate so Content is re-evaluating