DTLA Hack for LA is partnering with Los Angeles Department of Transportation (LADOT) to develop a Traffic Demand Management (TDM) calculator tool. This tool will help planners at LADOT and real estate developers to meet the Los Angeles’s Mobility Plan goals by 2035.
We need to have a warning modal before the project actually resets, so that people don't accidentally lose everything.
Details
The modals will be different between saved and unsaved projects
Action Items
[ ] Create the Unsaved Project Warning Modal Dialog
[ ] Create the Saved Project Warning Modal Dialog
[ ] Wire up the Reset Project Button to show the appropriate dialog.
Use the following guidelines for behavior
[ ] Reset project on Saved project, keeps you on the same page on dialog close and reverts to the last version saved
[ ] Reset project on unsaved project all the fields on all the pages should be cleared, resulting in a form ready to enter a new project (on page 1 of calculator)
[ ] If the user chooses the Cancel Option, close the dialog and leave the project unchanged
Overview
We need to have a warning modal before the project actually resets, so that people don't accidentally lose everything.
Details
The modals will be different between saved and unsaved projects
Action Items
Resources/Instructions-
Unsaved Project warning modal
![Unsaved Project 2](https://github.com/user-attachments/assets/612f4df8-ad05-41dc-85dd-cd30a17b3574)TDM Calculation Summary's Date Last Saved field
![TDM Calculation Summary, Date Last Saved](https://github.com/user-attachments/assets/7b92cc53-4e22-440b-9ba7-45b9b18b9b82)Saved Project warning modal
![Saved Project](https://github.com/user-attachments/assets/e13bb7c7-cbff-414e-b75e-0ce4708028fc)