Skip to content
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

LB-1557: Fix Dashboard URL-encoded username #2845

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

MonkeyDo
Copy link
Member

A user reported an issue with space in username.
Since the move to the single-page-app, the secondary nav layout component does not have direct access to a user object, and does not load data itself.
So for showing the user name in the secondary nav, it uses the username from the URL for the current location.
We didn't realize that for users with spaces or special characters in their name, we are showing the URL-encoded version of their name.

We missed a necessary step do decode the URL segment containing the user name.

Also renamed misnamed DashboardLayout component., probably a copy/paste error

@MonkeyDo MonkeyDo merged commit 9216e17 into master Apr 23, 2024
3 checks passed
@MonkeyDo MonkeyDo deleted the fix-username-decoded branch April 23, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant