Skip to content

feat(app-shell): fold pages into a menu on narrow screens; account menu - #85

Merged
zyx1121 merged 1 commit into
mainfrom
feat/app-shell-menus
Oct 14, 2026
Merged

zyx1121 merged 1 commit into
mainfrom
feat/app-shell-menus

Conversation

@zyx1121

@zyx1121 zyx1121 commented Oct 14, 2026

Copy link
Copy Markdown
Member

From migrating llm.winlab.tw (NYCU-WinLab/llm.winlab.tw#80): five pages plus the account do not fit beside the breadcrumb on a phone, and a signed-in member needs somewhere to sign out.

  • Below md the top-right pages fold into one 頁面選單 button; the menu holds the same links (role link), the breadcrumb and account stay
  • account is a link as before, or {label, tip, menu} opening a dropdown of DropdownMenuItems
  • Export cornerLinkClassName for corner items that are not links (apps were copying the class string)
  • DESIGN.md: the no-menu-button rule is replaced (Loki decided 2026-10-14)

Checked on sandbox: lint, typecheck, format, tokens, build. A temporary page with 5 pages and an account menu: desktop shows the links and no menu button; at 390px the links hide, 頁面選單 opens them, and 登出 fires from the account menu in both.

🤖 Generated with Claude Code

- Below md the top-right pages fold into one 頁面選單 button of the same links
- account can be a link or a menu under the member's name (e.g. 登出)
- export cornerLinkClassName for custom corner items that are not links
- DESIGN.md: replace the no-menu-button rule

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zyx1121
zyx1121 merged commit 33c6db3 into main Oct 14, 2026
2 checks passed
@zyx1121
zyx1121 deleted the feat/app-shell-menus branch October 14, 2026 08:26
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