less than 1 minute read

Introduction

Today, I worked on altering the classification form into a multi-page format, and separating the result page

Development Notes

I simply started with adding a ResultsPage to the components and importing it to my App file to create a route for it

Screenshot 2025-06-25 at 11 00 44 AM

Then, I revamped the entire ClassificationForm put with a multi-page format for the different assessments. I first created the 3 pages (prohibited, high-risk, and transparency) as constants

Screenshot 2025-06-25 at 11 03 51 AM

I added useEffect to set form data and load data from the local storage

Screenshot 2025-06-25 at 11 04 53 AM

Next, I created handleBack and handleNext so that the user can go back and forth between the different assessments to make edits if necessary

Screenshot 2025-06-25 at 11 07 41 AM

Once the form is submitted, the program navigates to the ResultsPage

Screenshot 2025-06-25 at 11 08 41 AM

Moving forward, I will create the basic structure for the remaning pages:

  • Landing page ☑
  • Page for user to enter system name and purpose ☑
  • Loading screen with rotating logo
  • Prohibited Assessment ☑
  • High-risk Assessment ☑
  • Transparency Assessment ☑
  • Loading screen with rotating logo
  • Recommendations with option to export