Skip to content

[ISSUE #15354] Adjust sidebar menu elements - #15455

Merged
KomachiSion merged 1 commit into
alibaba:developfrom
KomachiSion:codex/issue-15354-sidebar-menu-adjust
Jul 6, 2026
Merged

KomachiSion merged 1 commit into
alibaba:developfrom
KomachiSion:codex/issue-15354-sidebar-menu-adjust

Conversation

@KomachiSion

Copy link
Copy Markdown
Collaborator

What is the purpose of the change

Fixes #15354.

Adjust the console-ui-next sidebar/header layout for the accepted scope in the issue: move the sidebar collapse control to the header, move Setting Center under Platform Management, keep the sidebar footer focused on version information, and add an icon to the username row in the user dropdown. This intentionally does not make the Core section collapsible.

Brief changelog

  • Move the sidebar collapse/expand icon button to the header before the namespace selector, with tooltip text from existing i18n keys.
  • Move Setting Center into the Platform Management menu while preserving the existing copilotEnabled visibility gate and /settingCenter route.
  • Leave the sidebar footer with centered version/startup mode information only.
  • Add a UserRound icon to the username row in the account dropdown.
  • Add minimal layout tests and rebuild next console static assets.

Verifying this change

  • pnpm exec vitest --run src/components/layout/tests/header-change-password.test.ts src/components/layout/tests/sidebar-layout.test.ts
  • pnpm exec eslint src/components/layout/header.tsx src/components/layout/sidebar.tsx src/components/layout/tests/header-change-password.test.ts src/components/layout/tests/sidebar-layout.test.ts
  • pnpm run build
  • mvn -B clean package apache-rat:check spotbugs:check -DskipTests (not run; frontend layout-only change)
  • mvn clean install (not run; frontend layout-only change)
  • mvn clean test-compile failsafe:integration-test (not run; frontend layout-only change)

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
  • Run mvn -B clean package apache-rat:check spotbugs:check -DskipTests to make sure basic checks pass. Run mvn clean install to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test to make sure integration-test pass. (Not run; frontend layout-only change.)

Move the sidebar collapse control to the header, place setting center under platform management, and add a user icon to the account dropdown.

Assisted-by: Claude Code
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

Thanks for your this PR. 🙏
Please check again for your PR changes whether contains any usage/api/configuration change such as Add new API , Add new configuration, Change default value of configuration.
If so, please add or update documents(markdown type) in docs/next/ for repository nacos-group/nacos-group.github.io


感谢您提交的PR。 🙏
请再次查看您的PR内容,确认是否包含任何使用方式/API/配置参数的变更,如:新增API、新增配置参数、修改默认配置等操作。
如果是,请确保在提交之前,在仓库nacos-group/nacos-group.github.io中的docs/next/目录下添加或更新文档(markdown格式)。

@KomachiSion KomachiSion added this to the 3.2.3 milestone Jul 3, 2026
@KomachiSion KomachiSion added area/Nacos console Related to Nacos consle kind/enhancement Category issues or prs related to enhancement. labels Jul 3, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@KomachiSion
KomachiSion merged commit e9e5aaa into alibaba:develop Jul 6, 2026
7 checks passed
@KomachiSion
KomachiSion deleted the codex/issue-15354-sidebar-menu-adjust branch July 6, 2026 02:18
KomachiSion added a commit that referenced this pull request Jul 7, 2026
Move the sidebar collapse control to the header, place setting center under platform management, and add a user icon to the account dropdown.

Assisted-by: Claude Code
(cherry picked from commit e9e5aaa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/Nacos console Related to Nacos consle kind/enhancement Category issues or prs related to enhancement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

菜单边栏元素调整

2 participants