Skip to content
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

frontend: Revamp UI components #21

Open
1 of 3 tasks
swaptr opened this issue Jul 16, 2024 · 5 comments
Open
1 of 3 tasks

frontend: Revamp UI components #21

swaptr opened this issue Jul 16, 2024 · 5 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@swaptr
Copy link
Contributor

swaptr commented Jul 16, 2024

The following UI components need to be revamped. Note that we are using shadcn/ui and radix for the base components so we can support any first-class dependencies from there.

  • Responsive Navigation Bar
  • Dropdown Menu
  • Responsive Modals
@swaptr swaptr added help wanted Extra attention is needed good first issue Good for newcomers labels Jul 21, 2024
@swaptr
Copy link
Contributor Author

swaptr commented Jul 22, 2024

For the Dropdown Menu component, I have a design idea. Personally I like Google Gemini's dropdown menu component. The general design with spacing on top and bottom and the separator are what stand out to me. If someone has other ideas for a better component design please reach out here.

Screenshot_20240722_195338

@anshikavashistha
Copy link
Contributor

@swaptr I have opened a draft PR but one thing I want to discuss this drop down menu should be added to the UI or some other design should be preferred.
Along with that ,Please share some relevant details regarding UI like some figma design which we are subjecting.

@swaptr
Copy link
Contributor Author

swaptr commented Aug 1, 2024

Hello @anshikavashistha Thanks for your interest in working on this. The default dropdown menu component was borrowed from shadcn/ui and is available here: https://github.com/hyperledger-labs/aifaq/blob/dev/src/frontend/components/ui/dropdown-menu.tsx. I am looking for changes in the design of this component to have a more accessible design similar to the screenshot above. This will allow us to have a consistent design for dropdowns. We do not have a preferred design system here so you are free to experiment here.

@anshikavashistha
Copy link
Contributor

Thank you, @swaptr, for letting me know.Now I am looking forward to this .

@anshikavashistha
Copy link
Contributor

@swaptr PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants