1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/frontend/src/hooks
Thomas Heartman 67f036c0ab
feat: store dashboard state (#8382)
This PR stores the dashboard state (selected project and flag) in
localstorage so that you get taken back to the same project and flag
when you refresh the page or navigate away and back.

It also handles scrolling the selected items into view in case they're
below the fold.
2024-10-08 08:21:23 +02:00
..
api feat: store dashboard state (#8382) 2024-10-08 08:21:23 +02:00
useChangeRequestAddStrategy.ts
useChangeRequestInReviewWarning.tsx
useChangeRequestsEnabled.test.tsx
useChangeRequestsEnabled.ts
useChangeRequestToggle.ts
useClearSWRCache.test.ts
useClearSWRCache.ts
useCollaborateData.tsx
useConditionallyHiddenColumns.ts
useCustomEvent.ts
useDefaultProjectSettings.ts
useDragItem.ts
useEventSettings.ts
useFormErrors.ts
useGlobalLocalStorage.ts
useGlobalState.ts
useHasAccess.ts
useHiddenEnvironments.ts
useHighestPermissionChangeRequestEnvironment.test.ts
useHighestPermissionChangeRequestEnvironment.ts
useId.test.ts
useId.ts
useIsAppleDevice.ts
useKeyboardShortcut.ts
useLastViewedFlags.test.tsx
useLastViewedFlags.ts
useLastViewedProject.test.tsx
useLastViewedProject.ts
useLoading.ts
useLocalStorageState.test.tsx
useLocalStorageState.ts
useLocationSettings.ts
useOnBlur.test.tsx
useOnBlur.ts
useOnClickOutside.test.tsx
useOnClickOutside.ts
useOnVisible.ts
useOptionalPathParam.ts
usePageTitle.ts
usePagination.ts
usePersistentGlobalState.ts
usePersistentTableState.test.tsx
usePersistentTableState.ts
usePinnedFavorites.test.ts
usePinnedFavorites.ts
usePlausibleTracker.ts chore: plausible event for event timeline signals tip click (#8349) 2024-10-03 15:35:34 +02:00
useQueryParams.ts
useRecentlyVisited.test.tsx
useRecentlyVisited.ts
useRequiredPathParam.ts
useRequiredQueryParam.ts
useSearch.test.tsx
useSearch.ts
useStickinessOptions.ts
useSubmittedFeedback.ts
useTabs.ts
useThemeMode.ts
useToast.tsx
useTrafficData.test.ts
useTrafficData.ts
useUiFlag.ts
useUsersPlan.ts
useVariant.ts
useVirtualizedRange.ts
useWeakMap.ts