-
Notifications
You must be signed in to change notification settings - Fork 34
feat: DH-21344: Dropdown for input table enums #2704
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
Merged
Merged
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
c3b8162
feat: DH-21344: Dropdown for input table enums
dgodinez-dh a9eddaa
CellDropdownField
dgodinez-dh 55585eb
render drop down
dgodinez-dh 9691562
fix focus change behavior
dgodinez-dh ca75fe8
allowed values
dgodinez-dh 395c778
clean up
dgodinez-dh bd85994
quiet picker
dgodinez-dh 4a38561
insets
dgodinez-dh c999ac9
background
dgodinez-dh c044e58
defaultOpen
dgodinez-dh 4ee9b22
fix height
dgodinez-dh 26ca065
fix width
dgodinez-dh a5e0438
clean up
dgodinez-dh 3c27203
box shadow
dgodinez-dh 6d454e2
padding
dgodinez-dh 3b8f0b6
multiple restrictions
dgodinez-dh bb689a8
More padding
dgodinez-dh 2711f50
context
dgodinez-dh 01162cd
move context provider
dgodinez-dh 44d3a2d
more renaming
dgodinez-dh 35a87f0
Separate contexts
dgodinez-dh 2798ae1
separate theme provider
dgodinez-dh 8ae03f0
render chevron
dgodinez-dh 05b051b
better chevron
dgodinez-dh 5375bc2
wider
dgodinez-dh 4d315de
fix text shifting
dgodinez-dh a37e044
fix esc behavior
dgodinez-dh 3c36809
better enter behavior
dgodinez-dh 4821cb0
even better enter
dgodinez-dh c13b1a4
edit on enter
dgodinez-dh 6e2c18d
better space behavior
dgodinez-dh 38cd7b9
merge latest
dgodinez-dh b0dfff7
add comment
dgodinez-dh 9f6058b
move types
dgodinez-dh 18e6bd4
key handler should use model column index
dgodinez-dh ef0eb88
account for depth in cell background color
dgodinez-dh 2afdc7b
update comment
dgodinez-dh 53f7d9b
remove any
dgodinez-dh 3449614
unit test
dgodinez-dh 87aa247
merge latest
dgodinez-dh c225ced
batch suggestions
dgodinez-dh d485f4e
fix type
dgodinez-dh 5989f85
merge latest
dgodinez-dh 929b529
fix type
dgodinez-dh a7e2170
formatted backgrond color
dgodinez-dh 1b66c47
account for foreground color
dgodinez-dh 4ab56be
refactor type
dgodinez-dh 91f4966
use model column
dgodinez-dh 09c6e82
combine restriction key handler with edit key handler
dgodinez-dh 5852f2f
exctend prop type
dgodinez-dh 9eded27
plural
dgodinez-dh b8812f6
move registry to theme provider
dgodinez-dh 8d49f57
rename theme to context
dgodinez-dh 372d9da
remove CellInputRendereContext
dgodinez-dh eaa5037
deprecated exports
dgodinez-dh f8de705
add comment
dgodinez-dh e366aad
use grid-cell-input-field
dgodinez-dh 05e7da6
fix compact font size
dgodinez-dh 0a5070d
move css
dgodinez-dh c2ba6d8
compact font for cell input
dgodinez-dh 6b3488e
fix scrollbar and center text vertically
dgodinez-dh 3eebb5c
fix last commit
dgodinez-dh 02dea2a
fix: align cell editor text with canvas across densities
mofojed 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
So if column restrictions has more than one element, we just use undefined? Then what's the point of having an array for column restrictions?
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.
We need to discuss this. It is an array of restrictions because a user can add as many as they want. I should have a comment on this code, but I think this code is essentially saying, "The UI doesn't know how to render multiple column restrictions, so if you have more than one then we use the default cell renderer."
That being said, maybe there is a discussion to be had about how we render columns with multiple restrictions. But I feel like it would be difficult to create an algorithm or hierarchy that would handle all cases correctly given that a user can combine an restrictions even if they make no sense.
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.
Added comment.