Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

feat: refactor combobox to make it more maintainable#166

Merged
asim-shrestha merged 1 commit intomainfrom
feat/refactor_combobox
Apr 16, 2023
Merged

feat: refactor combobox to make it more maintainable#166
asim-shrestha merged 1 commit intomainfrom
feat/refactor_combobox

Conversation

@Jshen123
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent payshop

3 participants