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(wip): add Combobox component for timezone picker #6154

Merged
merged 11 commits into from
Jan 27, 2024

Conversation

m1yon
Copy link
Contributor

@m1yon m1yon commented Jan 4, 2024

This change introduces a new Combobox component, a custom select with autocomplete functionality.

The purpose of this component is to replace the current timezone dropdown and be used wherever we need it in the future:

Current:
CleanShot_2024-01-01_at_16 10 432x

New (WIP):
CleanShot 2024-01-03 at 18 59 24@2x

@alextran1502
Copy link
Contributor

Looking amazing!

@alextran1502 alextran1502 marked this pull request as ready for review January 27, 2024 17:44
@alextran1502
Copy link
Contributor

@m1yon I refactored the combo box so that it can be used in different components in the future, as well as cleaned up the change date component

Copy link
Contributor

@jrasm91 jrasm91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work pretty well. I changed a few small things:

  • Clicking outside of the dropdown/combobox close it
  • Clicking the up/down arrows in the button now opens the combobox (did not before)
  • Removed an unnecessary nested div.relative element

@jrasm91 jrasm91 enabled auto-merge (squash) January 27, 2024 18:35
@jrasm91 jrasm91 merged commit c4b8c85 into immich-app:main Jan 27, 2024
23 checks passed
@m1yon
Copy link
Contributor Author

m1yon commented Jan 30, 2024

@alextran1502 @jrasm91 Thanks for picking this up and finishing it! I'm in the middle of a move so I haven't had a chance to work on it :/

Looks great though!

@jrasm91
Copy link
Contributor

jrasm91 commented Jan 30, 2024

No worries, hope the move goes well 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants