1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-17 13:46:47 +02:00
unleash.unleash/frontend/src/component/project/Project/PaginatedProjectFeatureToggles/hooks
Thomas Heartman c9beb864cd
fix: show all envs in project tables unless you've explicitly hidden some (#6812)
This PR changes the behavior of the project tables' environment columns
based on input from customers.

Up until now, you have been shown either the first project or the first
three projects in the list of the project's environment. The decision on
whether to show one or three is based on screen size. The breakpoint
appears to be about 1280px. Above that you get three, below it you get
one.

With this PR, we'll show you *all* environments by default, regardless
of screen size. However, that's just for the default values. If you
manually change column visibility, those changes will of course be
respected.

I've used a new package, `css-mediaquery`, to test that all screen sizes
show all envs.
2024-04-10 15:07:55 +02:00
..
useDefaultColumnVisibility.test.tsx fix: show all envs in project tables unless you've explicitly hidden some (#6812) 2024-04-10 15:07:55 +02:00
useDefaultColumnVisibility.ts fix: show all envs in project tables unless you've explicitly hidden some (#6812) 2024-04-10 15:07:55 +02:00
useRowActions.tsx
useSelectedData.ts Fix row selection on paginated pages (#5706) 2023-12-21 11:01:10 +02:00