mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
db7b39af2d
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. |
||
---|---|---|
.. | ||
__snapshots__ | ||
api | ||
useChangeRequestAddStrategy.ts | ||
useChangeRequestInReviewWarning.tsx | ||
useChangeRequestsEnabled.ts | ||
useChangeRequestToggle.ts | ||
useCollaborateData.tsx | ||
useConditionallyHiddenColumns.ts | ||
useDragItem.ts | ||
useEventSettings.ts | ||
useFeaturesFilter.test.ts | ||
useFeaturesFilter.ts | ||
useFormErrors.ts | ||
useGlobalLocalStorage.ts | ||
useGlobalState.ts | ||
useHasAccess.ts | ||
useId.test.ts | ||
useId.ts | ||
useIsAppleDevice.ts | ||
useKeyboardShortcut.ts | ||
useLastViewedProject.ts | ||
useLoading.ts | ||
useLocationSettings.ts | ||
useOnVisible.ts | ||
useOptionalPathParam.ts | ||
usePageTitle.ts | ||
usePagination.ts | ||
usePersistentGlobalState.ts | ||
usePinnedFavorites.test.ts | ||
usePinnedFavorites.ts | ||
usePlausibleTracker.ts | ||
useQueryParams.ts | ||
useQueryStringNumberState.ts | ||
useQueryStringState.ts | ||
useRequiredPathParam.ts | ||
useRequiredQueryParam.ts | ||
useSearch.test.ts | ||
useSearch.ts | ||
useTabs.ts | ||
useThemeMode.ts | ||
useToast.tsx | ||
useUsersPlan.ts | ||
useVirtualizedRange.ts | ||
useWeakMap.ts |