1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00
unleash.unleash/frontend/src
Nuno Góis db7b39af2d
fix: upgrades useHiddenColumns hook to fix related issues (#2691)
https://linear.app/unleash/issue/2-514/fix-issues-with-conditionally-hidden-table-columns

This upgrades the old `useHiddenColumns` to a new
`useConditionallyHiddenColumns`. This implementation covers some issues
and edge cases, and should hopefully be the standard way of achieving
responsive visibility for table columns from now on.

Some of these issues included incorrectly showing/hiding table columns,
whether when resizing the window or at page load, even when the proper
conditions were met to toggle their visibility.

This PR adapts the tables that were already using `useHiddenColumns` to
use the new approach.
I'll create a new PR after this one to adapt our other existing tables
to use this new approach as well.
2022-12-14 15:22:38 +00:00
..
__mocks__
assets Change request event tracking (#2570) 2022-11-30 12:04:29 +01:00
component fix: upgrades useHiddenColumns hook to fix related issues (#2691) 2022-12-14 15:22:38 +00:00
constants Feat clone environment modal (#2245) 2022-10-28 09:15:46 +01:00
contexts Custom event tracking (#2151) 2022-10-10 14:06:44 +02:00
hooks fix: upgrades useHiddenColumns hook to fix related issues (#2691) 2022-12-14 15:22:38 +00:00
interfaces remove feature flag: tokens last seen (#2673) 2022-12-12 14:32:35 +00:00
openapi Feature toggles: Filtering by tags (#2396) 2022-11-15 10:24:36 +00:00
themes feat: review your draft sidebar (#2305) 2022-11-02 16:05:27 +01:00
types
utils loosen permissions for change requests (#2682) 2022-12-14 10:00:14 +01:00
index.tsx
setupTests.ts
vite-env.d.ts