-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create left navigation bar #56
Comments
@justin-c-anthony @rowsnr please list out the components that should be created in Storybook. |
Ran into some trouble with Jest. Specifically the error: |
Created the basic component and component tests. Will refine the design. Can't seem to find the icons defined in the mockup at MUI's Icon library. Looked for about an hour for the icons associated with cases and Admin Portal. They do not exist under material-icons library. Will ask during standup which library the icons come from. |
We were able to change the color when hovering over the Icon and ListItem by modifying Some screenshots of the basic Storybook story: |
…ook to eslintrc Co-authored-by: Paul Thompson <[email protected]>
|
Found out it is not possible to dynamic import with a variable. For now, I think it would be best to just include the required import statements in a function with lazy loading. Basically a switch statement for possible icons. Which will be faster than importing all the required icons at once. |
…nd introduced lazy loading to NavigationBar component
…ss test, updated nav story, updated nav test, updated styling of main page.
User Story
As a user,
I want to have a left navigation bar,
So that I can easily access different sections of the system.
Business Context:
A left navigation bar improves the usability and accessibility of the system by providing a consistent and intuitive way to navigate through different sections. This enhances the user experience and helps users efficiently find and access the features they need.
In Scope
Out of Scope
Mockups
https://www.figma.com/design/Qpewv3nKANuv7qm4oJd2Xy/Hi-Fi_Mockups?node-id=242-85295&t=09HmZfEP1fzQhgln-0
Checklist
Component.tsx
using TDDComponent.test.tsx
based on mockComponent.stories.ts
Resources
Use react-drawer (temporary drawer) as a template to do this
https://mui.com/material-ui/react-drawer/
Acceptance Criteria
Scenario: Navigation Bar Display
Given a user is logged-in,
When they are in the all cases page
Then they should see a left navigation bar with links to key sections.
Scenario: Responsive Design
Given a user is logged-in,
When the screen size changes,
Then the navigation bar should adjust its layout to remain usable (e.g., collapse into a hamburger menu on mobile devices).
Open Questions
The text was updated successfully, but these errors were encountered: