1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-14 01:16:17 +02: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 chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useChangeRequestInReviewWarning.tsx chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useChangeRequestsEnabled.test.tsx chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useChangeRequestsEnabled.ts
useChangeRequestToggle.ts feat: add disabled state handling on slow network (#6165) 2024-02-08 10:27:51 +01:00
useClearSWRCache.test.ts feat: introduce large cache for swr (#7470) 2024-06-28 10:44:35 +03:00
useClearSWRCache.ts feat: introduce large cache for swr (#7470) 2024-06-28 10:44:35 +03:00
useCollaborateData.tsx chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useConditionallyHiddenColumns.ts
useCustomEvent.ts feat: Recent flags (#7211) 2024-05-29 16:01:52 +02:00
useDefaultProjectSettings.ts refactor: replace useProject with useProjectOverview (#7087) 2024-05-20 15:15:24 +02:00
useDragItem.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useEventSettings.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useFormErrors.ts
useGlobalLocalStorage.ts refactor: cleanup fix for persistent set (#6060) 2024-01-29 12:33:01 +01:00
useGlobalState.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useHasAccess.ts chore: useProject cleanup (#6700) 2024-03-27 10:28:43 +02:00
useHiddenEnvironments.ts refactor: cleanup fix for persistent set (#6060) 2024-01-29 12:33:01 +01:00
useHighestPermissionChangeRequestEnvironment.test.ts
useHighestPermissionChangeRequestEnvironment.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useId.test.ts feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
useId.ts
useIsAppleDevice.ts
useKeyboardShortcut.ts
useLastViewedFlags.test.tsx feat: Recent flags (#7211) 2024-05-29 16:01:52 +02:00
useLastViewedFlags.ts feat: Recent flags (#7211) 2024-05-29 16:01:52 +02:00
useLastViewedProject.test.tsx feat: Synced last viewed projects (#7208) 2024-05-29 12:58:14 +02:00
useLastViewedProject.ts feat: Recent flags (#7211) 2024-05-29 16:01:52 +02:00
useLoading.ts fix: loading state (#6765) 2024-04-03 10:20:04 +02:00
useLocalStorageState.test.tsx feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
useLocalStorageState.ts feat: Persist navigation settings (#7144) 2024-05-24 13:21:12 +02:00
useLocationSettings.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useOnBlur.test.tsx
useOnBlur.ts
useOnClickOutside.test.tsx
useOnClickOutside.ts
useOnVisible.ts
useOptionalPathParam.ts
usePageTitle.ts
usePagination.ts poc: many strategies pagination (#7011) 2024-05-08 14:20:51 +02:00
usePersistentGlobalState.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
usePersistentTableState.test.tsx feat: projects list sorting (#8011) 2024-08-29 15:43:16 +02:00
usePersistentTableState.ts feat: projects list sorting (#8011) 2024-08-29 15:43:16 +02:00
usePinnedFavorites.test.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
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 feat: move recording recently visited into separate component (#7494) 2024-07-01 10:35:02 +02:00
useRecentlyVisited.ts feat: move recording recently visited into separate component (#7494) 2024-07-01 10:35:02 +02:00
useRequiredPathParam.ts
useRequiredQueryParam.ts
useSearch.test.tsx chore: rename toggle to flag #1 (#7092) 2024-05-21 15:18:00 +03:00
useSearch.ts task: upgraded semver dependency (and biome) (#7272) 2024-06-04 15:01:43 +02:00
useStickinessOptions.ts support setting mode and stickiness in new project form (#6972) 2024-05-03 07:27:13 +02:00
useSubmittedFeedback.ts feat: what's new in Unleash (#7497) 2024-07-03 09:54:38 +02:00
useTabs.ts
useThemeMode.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useToast.tsx chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useTrafficData.test.ts feat: refactor data usage into hooks, estimate monthly added fees (#7048) 2024-05-17 15:27:32 +02:00
useTrafficData.ts feat: refactor data usage into hooks, estimate monthly added fees (#7048) 2024-05-17 15:27:32 +02:00
useUiFlag.ts
useUsersPlan.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useVariant.ts chore: Bump biome and configure husky (#6589) 2024-03-18 13:58:05 +01:00
useVirtualizedRange.ts
useWeakMap.ts fix: separate concerns for ConstraintAccordionList (#5701) 2023-12-20 15:36:23 +01:00