1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/frontend/src/hooks
andreas-unleash 1eb0116e11
Fix/last viewed project (#2530)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

Fix using projectId on redirect.

Fix: only redirect to project(s) on app load


## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes #

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2022-11-28 16:10:40 +02:00
..
__snapshots__ refactor: adapt to Vite (#940) 2022-05-05 16:15:22 +01:00
api fix: add project move warning when change requests exists with the fe… (#2526) 2022-11-24 15:55:16 +01:00
useChangeRequestAddStrategy.ts fix: change domain vocabulary (#2503) 2022-11-23 13:45:19 +01:00
useChangeRequestsEnabled.ts disable change request overview actions when CR are disabled (#2527) 2022-11-24 16:16:14 +01:00
useChangeRequestToggle.ts fix: change domain vocabulary (#2503) 2022-11-23 13:45:19 +01:00
useCollaborateData.tsx fix: equality check on feature strategy (#2145) 2022-10-06 14:39:56 +02:00
useDragItem.ts fix: improve drag behaviour when using handle (#2407) 2022-11-14 08:25:20 +00:00
useEventSettings.ts feat: add trial expiration warning banner (#985) 2022-05-19 14:06:18 +02:00
useFeaturesFilter.test.ts refactor: improve OpenAPI refs (#1005) 2022-05-24 08:37:46 +02:00
useFeaturesFilter.ts refactor: improve OpenAPI refs (#1005) 2022-05-24 08:37:46 +02:00
useFormErrors.ts fix: validate feature strategy parameters (#1192) 2022-08-04 13:34:30 +02:00
useGlobalState.ts refactor: improve feature toggle search state (#741) 2022-02-23 15:08:44 +01:00
useHiddenColumns.ts fix build 2022-08-08 16:21:23 +03:00
useId.test.ts refactor: adapt to Vite (#940) 2022-05-05 16:15:22 +01:00
useId.ts refactor: improve icon labels and tooltips (#884) 2022-04-21 08:26:49 +02:00
useIsAppleDevice.ts Search keyboard shortcut (#1048) 2022-06-06 14:23:48 +02:00
useKeyboardShortcut.ts Search keyboard shortcut (#1048) 2022-06-06 14:23:48 +02:00
useLastViewedProject.ts Fix/last viewed project (#2530) 2022-11-28 16:10:40 +02:00
useLoading.ts
useLocationSettings.ts feat: add trial expiration warning banner (#985) 2022-05-19 14:06:18 +02:00
useOnVisible.ts feat: add search to event log pages (#1205) 2022-08-09 16:00:51 +02:00
useOptionalPathParam.ts feat: add new feature strategy create/edit pages (#739) 2022-03-09 14:59:24 +01:00
usePageTitle.ts Refactor project health table (#1098) 2022-06-21 09:08:37 +02:00
usePagination.ts fix: user search pagination (#997) 2022-05-19 14:27:19 +02:00
usePersistentGlobalState.ts Persistent table query (#999) 2022-05-25 08:14:22 +00:00
usePlausibleTracker.ts fix: invite link page docs (#2166) 2022-10-14 09:54:15 +02:00
useQueryParams.ts
useQueryStringNumberState.ts feat: add new feature metrics page (#716) 2022-02-21 13:47:54 +01:00
useQueryStringState.ts chore: update react-router to v6 (#946) 2022-05-05 13:42:18 +02:00
useRequiredPathParam.ts feat: add new feature strategy create/edit pages (#739) 2022-03-09 14:59:24 +01:00
useRequiredQueryParam.ts feat: add new feature strategy create/edit pages (#739) 2022-03-09 14:59:24 +01:00
useSearch.test.ts feat: add filtering capabilities to search (#1052) 2022-06-03 11:32:30 +01:00
useSearch.ts Refine playground form (#1136) 2022-07-13 14:35:43 +00:00
useTabs.ts
useThemeMode.ts Soft landing page on projects or last viewed project (#2499) 2022-11-23 15:58:02 +02:00
useToast.tsx refactor: simplify error toast text (#1081) 2022-06-09 15:36:01 +02:00
useUsersPlan.ts feat: upgrade users table (#1040) 2022-05-31 07:59:09 +01:00
useVirtualizedRange.ts Virtualize project toggles list (#1043) 2022-06-01 12:24:24 +00:00
useWeakMap.ts feat: add new feature strategy create/edit pages (#739) 2022-03-09 14:59:24 +01:00