Skip to content

feat: add collapsible global sidebar#31

Open
nblog wants to merge 1 commit into
alibaba:mainfrom
nblog:feature/collapsible-global-sidebar
Open

feat: add collapsible global sidebar#31
nblog wants to merge 1 commit into
alibaba:mainfrom
nblog:feature/collapsible-global-sidebar

Conversation

@nblog

@nblog nblog commented Jun 9, 2026

Copy link
Copy Markdown

Summary

  • add a persistent collapse/expand control to the global sidebar
  • switch the collapsed sidebar to a compact icon-only layout with accessible labels and tooltips
  • keep the brand mark visible while hiding the wordmark, slogan, labels, and version in compact mode
  • add Chinese and English toggle labels plus regression coverage

Test plan

  • npm run test:ui -- GlobalSidebar.spec.tsx --run (2 tests)
  • npm run test -- i18n.test.ts --run (5 tests)
  • ESLint on the three changed TypeScript/TSX files (0 errors; existing <img> warning only)
  • git diff --check
  • sensitive-data scans on the staged diff (0 new hits)
  • Full npm run typecheck currently fails on pre-existing EnvConfig / DefaultModelSettings errors in EnvConfigDialog.tsx and SettingsPage.tsx
  • Full npm run lint currently fails on existing repository-wide lint debt unrelated to this change

@CLAassistant

CLAassistant commented Jun 9, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@nblog nblog force-pushed the feature/collapsible-global-sidebar branch from 94be69a to 7a59229 Compare June 9, 2026 16:37
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.

2 participants