-
Notifications
You must be signed in to change notification settings - Fork 16
feat(TableColumnSetup): support sortable columns #2908
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
Conversation
items={columnsToSelect} | ||
showStatus | ||
onUpdate={handleTableColumnsSetupChange} | ||
sortable={false} |
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.
Hook useSelectedColumns
is not used here, you should change the logic inside PartitionsTableColumnSetup
to make it work
e0f74f4
to
a30dd1e
Compare
const columns = useGetPartitionsColumns(selectedConsumer); | ||
|
||
const [columns, columnsIdsForSelector] = useGetPartitionsColumns(selectedConsumer); | ||
const {columnsToShow, columnsToSelect, setColumns} = useSelectedColumns( |
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.
Columns are not reordered
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.
Sorry, I simply didn't redeploy stand. For now it's done and columns are reordering as expected.
If I change columns order when no consumer is selected, I have only 7 columns instead of 15 when I select consumer |
Also if I change selected columns when no consumer is selected, all consumer specific columns become not selected |
Fixed, stand redeployed |
Closes #2522
Stand
CI Results
Test Status:⚠️ FLAKY
📊 Full Report
Test Changes Summary ⏭️2
⏭️ Skipped Tests (2)
Bundle Size: ✅
Current: 85.40 MB | Main: 85.40 MB
Diff: +0.28 KB (0.00%)
✅ Bundle size unchanged.
ℹ️ CI Information