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: Made searchForm into generic combobox with two variations (for search & select) #2659

Merged
merged 10 commits into from
Jun 14, 2024

Conversation

hannahpurcell
Copy link
Collaborator

There is 1 failing test, but I can't test it without the vpn! Will do tomorrow at the office

@hannahpurcell hannahpurcell requested a review from a team as a code owner June 12, 2024 03:03
Copy link
Member

@firestack firestack left a comment

Choose a reason for hiding this comment

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

I have a few thoughts on this but haven't been able to read through and grok all the code yet, sorry!

I'm running out of time today, so I'll try and look at this later tonight or tomorrow morning at the very latest

@firestack firestack self-assigned this Jun 13, 2024
Copy link

Coverage of commit e0cc1c7

Summary coverage rate:
  lines......: 93.6% (3256 of 3480 lines)
  functions..: 73.3% (1342 of 1830 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

<GrouplessAutocompleteFromArray
controlName=""
fallbackOption={autocompleteOption(
"No matching routes",
Copy link
Member

Choose a reason for hiding this comment

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

nit(non-blocking): we chatted about this in a huddle, but it may be beneficial if we rename this from Combobox to something about how this is a Map search OR route select at this moment.

I'll post the combobox refactor ticket we talked about on this comment thread for posterity once it's created.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah that's right, I remember discussing, but I'm not sure what options were preferred. Rename from Combobox to InputBoxWithDropdown or DropdownSearchOrSelect or something of the sort?

Copy link
Member

@firestack firestack left a comment

Choose a reason for hiding this comment

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

Feeling good that all feedback is either addressed or being addressed, left one more nit if you want to do it, otherwise I don't think I need to rereview 👍🏻

assets/src/components/searchForm.tsx Outdated Show resolved Hide resolved
@firestack firestack assigned hannahpurcell and unassigned firestack Jun 14, 2024
Copy link

Coverage of commit e42d8a0

Summary coverage rate:
  lines......: 93.6% (3257 of 3480 lines)
  functions..: 73.4% (1343 of 1830 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

Copy link

Coverage of commit b2f0cd3

Summary coverage rate:
  lines......: 93.6% (3256 of 3480 lines)
  functions..: 73.3% (1342 of 1830 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

@hannahpurcell hannahpurcell merged commit bacc552 into main Jun 14, 2024
9 checks passed
@hannahpurcell hannahpurcell deleted the hp/combobox-refactor branch June 14, 2024 13:16
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.

2 participants