-
Notifications
You must be signed in to change notification settings - Fork 12
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
Expand combobox flexibility #2296
Merged
Merged
Changes from 49 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
54f3ae1
Add means to type new entries into combobox
charliepark b65263d
make items prop optional; without items, combobox acts as regular input
charliepark a8c9284
add data fetching for instances and VPCs
charliepark 35b46bf
Update with working combobox and dynamic data loading; still a few ro…
charliepark fcd2d73
items should be required
charliepark 19fd538
Merge branch 'main' into expand-combobox-flexibility
charliepark 7a579c0
Tweak onKeyDown, as enter key shouldn't get overridden with comboboxe…
charliepark a5d0ecd
test refactor
charliepark 6cd8888
Merge branch 'main' into expand-combobox-flexibility
charliepark 39157ec
Merge branch 'main' into expand-combobox-flexibility
charliepark cec67a6
Make form clearable when field is empty
charliepark c651791
test updates
charliepark a660300
Merge main and hopefully don't bork firewall-rules-create and firewal…
charliepark 7e0174e
Add more controls on Target section of firewall rules create form
charliepark 1137eb5
update tests
charliepark 5ab814c
Merge main and hopefully resolve issues
charliepark 98d707a
Update firewall form a bit more
charliepark ce8351c
Refactoring / deduping code
charliepark dd2ccb0
e2e utils
charliepark cac1ac3
Remove duplicate section
charliepark deb50d1
Merge branch 'main' into expand-combobox-flexibility
charliepark 8202ebf
Refactor duplicated code
charliepark 1fe7c1c
More cleanup
charliepark 307125d
Merge branch 'main' into expand-combobox-flexibility
charliepark e8af303
More cleanup
charliepark 757695a
A bit more sorting
charliepark da547f7
Last cleanup before tests, hopefully
charliepark 6808ba5
jk optimized the mini table
charliepark c93bbca
Update aria-label for Combobox
charliepark 91a7b9e
Update tests
charliepark 8435343
Cleanup
charliepark ef44da2
showNoMatchPlaceholder -> allowNewItems and change default
charliepark 934b9c7
Merge branch 'main' into expand-combobox-flexibility
charliepark 83e419b
Add test for 'no items match'
charliepark b00a78a
Refactoring post-review
charliepark 089a056
Add prop to selectively hide 'optional' tag on FieldLabel
charliepark 268a997
A few more spots for showOptionalTag
charliepark 045c58a
Updated placeholder/description text
charliepark 07ccefe
Refactoring
charliepark 9a76cc6
more cleanup; not totally sold on microcopy on firewall rule combobox
charliepark c29cdf1
Revert placeholder in two spots
charliepark 8d869ff
fix capitalization on test
charliepark bf7b3c5
Default to current VPC in VPC subnet form
charliepark 107371e
Fix tests
charliepark cb0bdde
Merge branch 'main' into expand-combobox-flexibility
charliepark e48a3af
Remove VPC selection step from VPC Subnet targeting; refactor and add…
charliepark 5e515cb
Update logic around show/hideOptionalTag
charliepark 85178ad
More precise logic to get better TS error messages
charliepark b64a257
remove obsolete default
charliepark c613f23
Remove obviated prop
charliepark 9e400d5
Merge branch 'main' into expand-combobox-flexibility
charliepark f5f2964
Update limit values to 1000
charliepark File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this right? Seems like the mismatch between
disabled
andisDisabled
may require this to be passed.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I think I see what you did: you changed the prop on
ComboboxField
toisDisabled
and let it get passed through as part of the props spread.045c58a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I realized that there was an existing
isDisabled
prop and it made sense to just use that.