-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(deps): upgrade react-router to v6 #1143
Conversation
/build_test |
Test image available:
|
/build_test |
Test image available:
|
This is interesting: It seems like now, if I kill the The same thing happens if I log out in the top-right user menu - most views become 404s, but I expected this instead to just display the login view everywhere instead. I haven't tried this in an OpenShift setup to see how that auth works in a similar case. |
Ahh I think that I added
to fall back to not-found. That would mean logging out will match only this path. Ahh, I will have a look again. |
I guess one possibility would be to redirect the user to |
Sure! How about:
I would use Login when logging out. Haven't tested it yet but seems reasonable. |
Seemed to work. Can you try again? |
/build_test |
Test image available:
|
Seems to work in |
Worked well enough in OpenShift. There is also a white screen flash but I don't think it's a big deal. Also, I use everything in dark mode, which really emphasizes it. |
Ahh I am using light mode so I didn't notice. Interesting^^ I will keep that in mind. |
Welcome to Cryostat! 👋
Before contributing, make sure you have:
main
branch[chore, ci, docs, feat, fix, test]
To recreate commits with GPG signature
git fetch upstream && git rebase --force --gpg-sign upstream/main
Related to #482
Related to #1110
Continue #726
Description of the change:
Route
component are now "snub"-component and are expected to be directly underRoutes
.<MemoryRouter>
withRouterProvider
instead of usingcreateMemoryHistory
(removed in v6).<Promp />
is not yet supported inv6
.yarn
deps since it is not used.@types/react
to^17
Motivation for the change:
Upgrades to v6 in prepration to migrate to React 18. However, turn out pinning
@types/react
version might just solve the type issue with React upgrades as multiple installation of this package causes the issue described in #726 (comment)