-
Notifications
You must be signed in to change notification settings - Fork 33
feat: Create UI to Display Partitioned Tables #1663
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
mofojed
merged 40 commits into
deephaven:main
from
georgecwan:1143-partitioned-table-ui
Jan 18, 2024
Merged
Changes from 34 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
9c94210
Create IrisGridPartitionedTableModel
georgecwan 00c96df
Merge branch 'main' of https://github.com/deephaven/web-client-ui int…
georgecwan 12b638c
Handle partitions and partitionColumns with model
georgecwan dffd2bb
Update IrisGridPartitionSelector for PartitionedTable
georgecwan 7ead3b5
Fix partially selected partitions
georgecwan ac52c3f
Merge branch 'main' of github.com:GcWan/web-client-ui into 1143-parti…
georgecwan 35120eb
Fix minor bugs and button formatting
georgecwan 64cfaf4
Add new partition selector dropdowns
georgecwan 563a6c5
Merge branch 'main' of https://github.com/deephaven/web-client-ui int…
georgecwan a2cdec0
Fix bug when no partition is selected
georgecwan 6bcb03a
Fix error with char and long types
georgecwan 0b578b1
Fix unit tests
georgecwan 5f69436
Rename PartitionedTable model file
georgecwan 3a5c1fb
Update key tables to match jsapi
georgecwan 208dd61
Remove partitionColumns setter
georgecwan 3131270
Check partition in IrisGridTableModel constructor
georgecwan 93ab3bc
Merge branch 'main' of https://github.com/deephaven/web-client-ui int…
georgecwan 105dc3a
Fix styling
georgecwan 57d787e
Remove recursion in partition selector
georgecwan a139bf2
Remove log statements
georgecwan 9eea801
Add PartitionedGridModel
georgecwan 98f9ba3
Add PartitionedGridModel
georgecwan e01581a
Merge branch 'main' of https://github.com/deephaven/web-client-ui int…
georgecwan e86692c
Update unit tests
georgecwan 820eb2e
Use model in partition selector
georgecwan 5e82a31
Fix initial key selection
georgecwan 394932d
Fix unit tests
georgecwan 1899334
WIP cleaning up George's partitioned table selector
mofojed c0bf727
Cleaning up some more
mofojed 6726531
Don't throw for getting properties
mofojed 4e0ae6c
Some more cleanup
mofojed 19a1b35
Fix bad import
mofojed a9e834b
Fix failing test
mofojed dd761a1
Fix rehydration and char partitions
mofojed cbd28aa
Merge remote-tracking branch 'origin/main' into 1143-partitioned-tabl…
mofojed f4cba3a
Fix review comments
mofojed 02542dd
Fix the columns used in the partition selector
mofojed 5ce6ff9
Fix issues found in review with ticking partition tables
mofojed b81cd58
Merge remote-tracking branch 'origin/main' into pr/georgecwan/1663
dsmmcken 681bc24
adjust color variables
dsmmcken 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,13 @@ | ||
| import React from 'react'; | ||
| import React, { OptionHTMLAttributes } from 'react'; | ||
|
|
||
| export type OptionProps = { | ||
| export type OptionProps = OptionHTMLAttributes<HTMLOptionElement> & { | ||
| children: React.ReactNode; | ||
| disabled?: boolean; | ||
| value: string; | ||
| 'data-testid'?: string; | ||
| }; | ||
|
|
||
| function Option({ | ||
| children, | ||
| disabled, | ||
| value, | ||
| 'data-testid': dataTestId, | ||
| }: OptionProps): JSX.Element { | ||
| return ( | ||
| <option value={value} disabled={disabled} data-testid={dataTestId}> | ||
| {children} | ||
| </option> | ||
| ); | ||
| function Option({ children, ...props }: OptionProps): JSX.Element { | ||
| // eslint-disable-next-line react/jsx-props-no-spreading | ||
| return <option {...props}>{children}</option>; | ||
| } | ||
|
|
||
| export default Option; |
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
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.
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.
Uh oh!
There was an error while loading. Please reload this page.