1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-15 17:50:48 +02:00
unleash.unleash/frontend/src/component
Fredrik Strand Oseberg 1f6db91fde
Fix/redirect woes (#2899)
This PR fixes two problems: 

(1) The initial redirect put us into an infinite loop when redirecting,
because trying to go back to the root would always trigger the initial
redirect component. Throwing you back to project screen.

(2) Using UI config in the useLastViewedProject to get the basePath
introduced a race condition where you needed data from the uiConfig in
order to fetch the correct key from local storage. The fix here was to
use the basePath coded into the HTML file, so we can synchronously
retrieve the correct key at startup.

Co-authored-by: kwasniew <kwasniewski.mateusz@gmail.com>
2023-01-17 13:33:52 +01:00
..
addons POC: integration tests (#2422) 2022-12-06 15:28:33 +01:00
admin fix: SA unique token bug (#2901) 2023-01-16 13:10:08 +01:00
application Fix crashing search bars (#2765) 2022-12-28 12:35:27 +02:00
archive fix: disable autoResetHiddenColumns when useConditionallyHiddenColumns (#2851) 2023-01-10 08:15:12 +00:00
changeRequest refactor: styles batch 3 (#2821) 2023-01-11 17:44:21 +01:00
common fix: small breadcrumb adjustments (#2893) 2023-01-16 13:09:38 +01:00
context Styled components batch4.1 (#2812) 2023-01-05 09:45:39 +01:00
environments Styled components batch4.1 (#2812) 2023-01-05 09:45:39 +01:00
events visual changes representation (#2583) 2022-12-01 14:44:33 +01:00
feature feat: better tooltip links (#2891) 2023-01-16 13:04:52 +01:00
feedback refactor: styles batch 3 (#2821) 2023-01-11 17:44:21 +01:00
layout fix: flex was breaking change request banner (#2890) 2023-01-12 16:47:36 +01:00
maintenance Maintenance mode for users (#2716) 2022-12-21 13:23:44 +02:00
menu Fix/redirect woes (#2899) 2023-01-17 13:33:52 +01:00
playground/Playground fix: disable autoResetHiddenColumns when useConditionallyHiddenColumns (#2851) 2023-01-10 08:15:12 +00:00
project feat: better tooltip links (#2891) 2023-01-16 13:04:52 +01:00
providers feat: allows creation of PATs for other users (#2718) 2023-01-02 10:49:57 +00:00
segments fix: disable autoResetHiddenColumns when useConditionallyHiddenColumns (#2851) 2023-01-10 08:15:12 +00:00
splash Makestyles refactor #7/1 (#2805) 2023-01-03 16:30:59 +02:00
strategies feat: export ui api integration (#2888) 2023-01-12 16:09:13 +01:00
tags refactor: styles batch 3 (#2821) 2023-01-11 17:44:21 +01:00
user fix track invite-link user created event (#2689) 2023-01-11 11:24:11 +02:00
App.tsx Fix/redirect woes (#2899) 2023-01-17 13:33:52 +01:00