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

feat: refactor combobox to make it more maintainable #166

Merged
merged 1 commit into from
Apr 16, 2023

Conversation

Jshen123
Copy link
Contributor

@Jshen123 Jshen123 commented Apr 15, 2023

Description:
Several improvements to combobox (previously named dropdown)

  1. Use Headless UI
    a. combobox is now accessible
    b. combobox queries can now autocomplete
    image
    c. UX is now more intuitive (will only display the full list if the chevron is clicked)
    image

  2. minor refactor to Input component to make the code more dry (no longer repeating code in both input and combobox)

@vercel
Copy link

vercel bot commented Apr 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
agent-gpt ✅ Ready (Inspect) Visit Preview Apr 15, 2023 11:06pm

@Jshen123
Copy link
Contributor Author

@awtkns, combobox reimplemented with headless-ui 🙌

@asim-shrestha asim-shrestha merged commit a3e0e5f into main Apr 16, 2023
@Mirza-Numan Mirza-Numan linked an issue Apr 16, 2023 that may be closed by this pull request
@asim-shrestha asim-shrestha deleted the feat/refactor_combobox branch May 18, 2023 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Agent payshop
3 participants