1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-15 17:50:48 +02:00
unleash.unleash/frontend/src/component/admin/apiToken
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
..
ApiTokenDocs refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
ApiTokenForm POC: integration tests (#2422) 2022-12-06 15:28:33 +01:00
ApiTokenPage refactor: port tokens list to react-table (#1026) 2022-05-27 08:48:01 +01:00
ApiTokenTable fix: upgrades useHiddenColumns hook to fix related issues (#2691) 2022-12-14 15:22:38 +00:00
ConfirmToken Update dialogue design (#2342) 2022-12-14 15:16:58 +00:00
CopyApiTokenButton refactor: port tokens list to react-table (#1026) 2022-05-27 08:48:01 +01:00
CreateApiToken Client-side SDK access tokens info (#2485) 2022-11-28 15:22:11 +01:00
CreateApiTokenButton refactor: port tokens list to react-table (#1026) 2022-05-27 08:48:01 +01:00
ProjectsList fix: misc ui fixes post tables upgrade (#1049) 2022-06-02 08:21:51 +01:00
RemoveApiTokenButton Update dialogue design (#2342) 2022-12-14 15:16:58 +00:00