1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02: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__
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
useDragItem.ts fix: improve drag behaviour when using handle (#2407) 2022-11-14 08:25:20 +00:00
useEventSettings.ts
useFeaturesFilter.test.ts
useFeaturesFilter.ts
useFormErrors.ts
useGlobalState.ts
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
useIsAppleDevice.ts
useKeyboardShortcut.ts
useLastViewedProject.ts Fix/last viewed project (#2530) 2022-11-28 16:10:40 +02:00
useLoading.ts
useLocationSettings.ts
useOnVisible.ts feat: add search to event log pages (#1205) 2022-08-09 16:00:51 +02:00
useOptionalPathParam.ts
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
usePlausibleTracker.ts fix: invite link page docs (#2166) 2022-10-14 09:54:15 +02:00
useQueryParams.ts Feat/user flow (#267) 2021-04-19 10:55:15 +02:00
useQueryStringNumberState.ts feat: add new feature metrics page (#716) 2022-02-21 13:47:54 +01:00
useQueryStringState.ts
useRequiredPathParam.ts
useRequiredQueryParam.ts feat: add new feature strategy create/edit pages (#739) 2022-03-09 14:59:24 +01:00
useSearch.test.ts
useSearch.ts Refine playground form (#1136) 2022-07-13 14:35:43 +00:00
useTabs.ts feat: e2e tests and mobile views (#348) 2021-09-30 11:44:30 +02:00
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
useVirtualizedRange.ts
useWeakMap.ts