codeforpdx / PASS

PASS project - with HMIS module integration
MIT License
26 stars 25 forks source link

Create HMIS Profile editing page + form framework #438

Closed timbot1789 closed 9 months ago

timbot1789 commented 9 months ago

Details:

When we sign up users for PASS, we want to get certain information about them. The more information we can collect about a person, the better able case managers will be to provide services. For this purpose, we want to create a registration workflow where a user can create a profile. This profile will need to contain a large amount of information (we will try to collect most of the data allowed in this data ontology), and so we will need a fairly sophisticated registration flow. For this issue, I'd like to do the following things:

  1. Create a new tab in PASS called "HMIS Profile" that navigates you to this page
  2. This page should be under the route /hmis_profile (use react router)
  3. The page should display: - On the right a form card that will serve as a placeholder for a basic info form.
    • On the left there should be a sidebar allowing you to select different forms (housing status, employment history, etc).
    • On the bottom should be next and previous buttons allowing you to navigate to the next or previous forms in the list. image

Additional considerations

Additional information

bingeboy commented 9 months ago

For this feature I'd assume we are going to lean heavy on ReactRouter? Setup an <Outlet /> and another router for this section?

timbot1789 commented 9 months ago

For this feature I'd assume we are going to lean heavy on ReactRouter? Setup an <Outlet /> and another router for this section?

That would be ideal, yes. Having a separate route for each step of the form would let us leverage browser history and caching more.