hyperledger-labs / aifaq

AI FAQ Proof-of-Concept project: it provides a chatbot that replies to the questions on Hyperledger Ecosystem
Other
38 stars 31 forks source link

frontend: Revamp UI components #21

Open swaptr opened 1 month ago

swaptr commented 1 month ago

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.

swaptr commented 1 month ago

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 commented 1 month ago

@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 commented 1 month ago

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 commented 1 month ago

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

anshikavashistha commented 4 weeks ago

@swaptr PTAL