1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-12 13:48:35 +02:00
unleash.unleash/frontend/src/utils
andreas-unleash a096b2a485
fix: store redirect to localStorage to avoid loss of redirect (#5929)
Stores `redirect` param in localStorage in the Authentication component.
Retrieves the `redirect` param from localStorage at the Login screen if
it is not there in the url.

This will solve losing the redirect information all provider logins

Closes #
[1-1890](https://linear.app/unleash/issue/1-1890/capture-path-before-logging-in-and-redirect-to-it-if-there-and-custom)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-01-19 11:32:26 +02:00
..
apiUtils.ts feat: make maintenance-related 503s more intuitive (#5018) 2023-10-16 09:27:29 +01:00
arraysHaveSameItems.test.ts
arraysHaveSameItems.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
calculatePercentage.ts
capitalizeFirst.ts feat: Advanced playground table (#3978) 2023-06-15 09:29:31 +00:00
cleanConstraint.test.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
cleanConstraint.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
createFeatureStrategy.test.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
createFeatureStrategy.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
createLocalStorage.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
cyclicIterator.test.ts feat: first draft of chart for instance traffic in frontend (#2670) 2022-12-15 08:47:07 +00:00
cyclicIterator.ts feat: first draft of chart for instance traffic in frontend (#2670) 2022-12-15 08:47:07 +00:00
deepOmit.test.ts fix: Remove lastSeenAt from useCollaborateData.tsx staleness check (#4461) 2023-08-10 16:13:24 +03:00
deepOmit.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
env.test.ts
env.ts
formatAccessText.test.ts
formatAccessText.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
formatConstraintValue.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
formatDate.ts feat: daily metrics display (#5836) 2024-01-11 10:39:58 +01:00
formatPath.test.ts Revert "formatApiPath / formatAssetPath - Implement smart functionality to detect double subpath" (#3001) 2023-01-26 15:34:42 +01:00
formatPath.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
formatUnknownError.test.ts
formatUnknownError.ts
getFeatureMetrics.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
getFeatureTypeIcons.ts
instanceTrial.test.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
instanceTrial.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
nonEmptyArray.ts
objectId.test.ts
objectId.ts
oneOf.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
operatorsForContext.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
paginate.test.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
paginate.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
parseParameter.test.ts
parseParameter.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
permissions.ts refactor: favor permission name over id (#5409) 2023-11-27 11:12:09 +00:00
projectFilterGenerator.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
removeEmptyStringFields.test.ts
removeEmptyStringFields.ts
reorderObject.test.ts feat: keep filter order (#5688) 2023-12-19 15:35:39 +01:00
reorderObject.ts feat: keep filter order (#5688) 2023-12-19 15:35:39 +01:00
routePathHelpers.ts Biome1.5.1 (#5867) 2024-01-12 09:25:59 +00:00
search.ts feat: improve group users select search (#1988) 2022-08-30 08:06:59 +01:00
serializeQueryParams.ts feat: add tags filter (#5584) 2023-12-11 14:10:03 +02:00
sortStrategyParameters.test.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
sortStrategyParameters.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
sortTypes.test.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
sortTypes.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
storage.test.ts fix: store redirect to localStorage to avoid loss of redirect (#5929) 2024-01-19 11:32:26 +02:00
storage.ts fix: store redirect to localStorage to avoid loss of redirect (#5929) 2024-01-19 11:32:26 +02:00
strategyNames.tsx feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
testIds.ts feat: keep filters ordered based on user selection (#5609) 2023-12-12 13:01:23 +02:00
testRenderer.tsx chore: add no unused imports biome rule (#5855) 2024-01-11 12:44:05 +00:00
testServer.ts feat: show dependencies only when using pro/enterprise or at least on… (#5052) 2023-10-16 20:56:06 +02:00
unknownify.ts perf: Simplify queries to prometheus (#2706) 2022-12-19 17:06:59 +01:00
validateParameterValue.test.ts fix: avoid validating boolean and undefined parameter values (#1244) 2022-08-24 10:38:08 +02:00
validateParameterValue.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
variants.ts feat: biome lint frontend (#4903) 2023-10-02 13:25:46 +01:00
withTableState.test.tsx Feat: row actions (#5635) 2023-12-14 09:04:56 +01:00
withTableState.ts Feat: row actions (#5635) 2023-12-14 09:04:56 +01:00