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

frontend: Fix column visibility handled by internal Table state #2677

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sniok
Copy link
Contributor

@sniok sniok commented Dec 13, 2024

Fixes #2676

Currently table only updates grid layout based column visibility that comes from the props (which is used in Resource tables).
But internal Table visibility state wasn't taken into account causing bugs like #2676

This PR handles internal state table.getState().columnVisibility to generate table layout.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Dec 13, 2024
@sniok sniok force-pushed the fix-table-column-visibility branch from af2d7c3 to 3432c25 Compare December 13, 2024 09:41
@sniok sniok added frontend Issues related to the frontend bug Something isn't working labels Dec 13, 2024
@sniok sniok requested a review from a team December 13, 2024 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Issues related to the frontend size:M This PR changes 30-99 lines, ignoring generated files.
Projects
Development

Successfully merging this pull request may close these issues.

Hiding columns in tables in plugins breaks layout
1 participant