Closed bushwallyta271828 closed 6 months ago
Maybe I should use Context to share state data? https://medium.com/inato/how-to-develop-a-navigation-menu-with-react-context-9f4d14db3d55
This tutorial on state management looks excellent: https://www.youtube.com/watch?v=I7dwJxGuGYQ
For context, I'm thinking (1) a dictionary claimID --> claim and (2) an array of claimID's.
Current thoughts:
It would be reasonable to organize the website as follows:
(/) (Sign-in) (/claims) (where you enter the claims) (/analysis) (where you see analysis of your claims) (/documentation) (the documentation page)
However, from a user experience perspective, I don't love this setup. I dislike how ChatGPT's chat interface isn't the first thing you get when you google ChatGPT: you have to click a further link from that website.
Instead, I'm thinking of:
(/) (where you enter the claims, can't save unless you're signed in) (/analysis) (where you see analysis of your claims) (/documentation) (the documentation page) (/sign-in) (the sign-in page, you get directed here if you try to save while signed out)
Along the navbar, this would be displayed as:
Claims Analysis Documentation Account