-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[dashboard] Fix PageWithSubMenu selection state by URL-encoding all links #7259
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
Conversation
4418487
to
99f2627
Compare
4d9f998
to
c619e6a
Compare
Reroll 🎲 /werft run 👍 started the job as gitpod-build-jx-fix-page-with-submenu-select.4 |
Hard reroll 🎲 /werft run with-clean-slate-deployment 👍 started the job as gitpod-build-jx-fix-page-with-submenu-select.5 |
Laurie, could you please take a look at this small fix when you have some time? 😊 🙏 (Priority: Low 🔅🌴) |
@jankeromnes I checked the project settings page before and after updating the DB.
|
Cool, many thanks @laushinka! 🙏
Whoops, that's not expected. By any chance, did you stay on a project URL that was opened before the database change? (If so, I guess it still has the slug that got removed from the DB). Or, put another way, does it work if you go back to your list of Projects, refresh, then open that Project again? (If it does work, it's a bug in my testing instructions, and not the PR 😅 but if it still doesn't work, it's a bug in my PR 🙈) |
@jankeromnes Yes it works! Sorry that should've been obvious to make sure nothing's cached still. Great job! /lgtm |
LGTM label has been added. Git tree hash: cce4266bb44b3ce2148711a2734fdcc19027901c
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: laushinka Associated issue: #7231 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks @jankeromnes and @laushinka for fixing this! 🧡 🧡 |
Description
Fixes PageWithSubMenu selection state when sub-menu links contain special characters (e.g. a space).
Related Issue(s)
Fixes #7231
How to test
Gitpod Test
)Expected: The current Project Settings subsection should have a different background in the left menu (without needing to hover):
Release Notes
Documentation
/uncc