Skip to content

flux: Fix table malformatting when toggling Show/Hide columns#810

Open
AshutoshSharma-pixel wants to merge 1 commit into
headlamp-k8s:mainfrom
AshutoshSharma-pixel:fix/flux-table-column-toggle
Open

flux: Fix table malformatting when toggling Show/Hide columns#810
AshutoshSharma-pixel wants to merge 1 commit into
headlamp-k8s:mainfrom
AshutoshSharma-pixel:fix/flux-table-column-toggle

Conversation

@AshutoshSharma-pixel

Copy link
Copy Markdown
Contributor

Fixes #77
The Show/Hide columns feature caused table malformatting because columns using accessorFn without an explicit id could not be uniquely identified by TanStack Table when toggled, causing layout corruption.
Fix: Updated processedColumns in flux/src/common/Table.tsx to dynamically generate a unique id for any column that doesn't explicitly have one or lacks an accessorKey. This covers all Flux plugin list/table views automatically.
All checks passing: tsc, lint, format.

Signed-off-by: Ashutosh Sharma <itsashutosh769@gmail.com>
@AshutoshSharma-pixel AshutoshSharma-pixel force-pushed the fix/flux-table-column-toggle branch from 3c73045 to 9d43701 Compare June 13, 2026 04:07
@illume illume added the flux flux plugin related issues label Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flux flux plugin related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flux: Show/Hide column feature causes table malformatting

2 participants