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

UI: Fix namespace picker in small screens #27728

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

hashishaw
Copy link
Contributor

Description

In small screens where the navbar gets collapsed by default, the namespace picker was broken in that nothing would happen when you open the sidebar, click the dropdown, and try to navigate to one of the namespace options. With this PR, the namespace picker dropdown is fully functional even in screens where the side nav is collapsed by default.

renderInPlace is what fixed the behavior, but some CSS changes were necessary to make sure visually it looks the same as before:
Before and after -- same same!

@hashishaw hashishaw added the ui label Jul 9, 2024
@hashishaw hashishaw added this to the 1.18.0-rc milestone Jul 9, 2024
@hashishaw hashishaw requested a review from a team as a code owner July 9, 2024 19:18
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Jul 9, 2024
Copy link

github-actions bot commented Jul 9, 2024

CI Results:
All Go tests succeeded! ✅

Copy link

github-actions bot commented Jul 9, 2024

Build Results:
All builds succeeded! ✅

Copy link
Contributor

@hellobontempo hellobontempo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful solution ✨

@hashishaw hashishaw added backport/ent/1.15.x+ent Changes are backported to 1.15.x+ent backport/ent/1.16.x+ent Changes are backported to 1.16.x+ent backport/1.17.x labels Jul 9, 2024
@hashishaw hashishaw merged commit 261c9a8 into main Jul 9, 2024
46 checks passed
@hashishaw hashishaw deleted the ui/VAULT-28285/mobile-namespace-picker branch July 9, 2024 20:23
@hashishaw hashishaw added backport/ent/1.16.x+ent Changes are backported to 1.16.x+ent and removed backport/ent/1.16.x+ent Changes are backported to 1.16.x+ent labels Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/ent/1.15.x+ent Changes are backported to 1.15.x+ent backport/ent/1.16.x+ent Changes are backported to 1.16.x+ent hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants