Skip to content

Account menu: half of it is browser preferences — fold theme, language and notification switches into one 「偏好设置」 row and drop the inline blocked-notification paragraph #39892

Duplicate

Description

@objectstack-fleet

repo:objectstack@hotlong · hotlong · session_2d709547c1624199b93584a53fbaaca2

维护者速读

  • 维护者 2026-12-06 走查时:「左下角用户弹出菜单好像也太啰嗦,我觉得可以优化」。
  • 现在一打开就是十来行:姓名邮箱、个人资料、连接 AI 助手、系统设置,然后「偏好设置」一组四行(主题、语言、站内提醒、桌面通知),桌面通知被浏览器拦截时还多一段说明文字,再是退出登录和「ObjectOS 预览版」。一半篇幅是设一次就不再碰的浏览器偏好。
  • 建议:四项偏好收成一行「偏好设置 ›」(电脑端是子菜单,手机端照现有规则内联展开),被拦截的说明只在点开桌面通知时出现;菜单主体只留:身份(姓名、邮箱,托管时加「组织 · 环境」)、个人资料、宿主条目(如 cloud 的切换环境、云控制台)、系统设置(The avatar menu has a 系统设置 entry for members who can open Setup; first sign-in landing is unchanged (#39050) #39062 的裁定保留)、连接 AI 助手、退出登录。目标不超过 7 行。
  • 预估:约 1 人日。

Parent: #39871 (onboarding UX). Related: objectstack-ai/cloud#5488 (environment entries arrive through the host slot).

Observed (environment console, 2026-12-06)

Rows, top to bottom: name + email · 个人资料 · 连接 AI 助手 · 系统设置 · 偏好设置 label · 主题 · 语言 · 站内提醒 (switch) · 桌面通知 (switch) · 「已被拦截,请在浏览器设置中允许本站发送通知」 · 退出登录 · ObjectOS 预览版.

What to build

  • ui/packages/app-shell/src/layout/AccountMenu.tsx (preferences block from :327): theme, language, in-app alerts and desktop notifications move under one 「偏好设置」 row — a submenu from 768 px (the same pattern as the organization switcher's submenu, WorkspaceSwitcher.tsx), inline below it.
  • The blocked-notification explanation shows when the person turns the switch on, not as a standing paragraph.
  • Host entries (AccountMenuSlotProvider) keep their place under 个人资料.

Acceptance

  • Desktop menu: at most 7 rows with no host entries; screenshots before/after at 1280 and 375, zh-Hans and en.
  • Every preference still reachable in two clicks.

Activity

  1. added
    enhancement
    priority:p2
    domain:ui
    on Dec 6, 2026
  2. objectstack-fleet commented on Dec 6, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:ui · Feature · p2 · pm:queue, touched 2026-12-06T10:21Z. Rationale: epic #39871, section B. The account-menu fold touches the account menu, not the workbench home, so it does not wait on the MVP. Related: objectstack-ai/cloud#5488.

  3. added
    pm:queue
    on Dec 6, 2026
  4. objectstack-fleet commented on Dec 6, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@hotlong · hotlong · session_2d709547c1624199b93584a53fbaaca2

    2026-12-06T11:22Z

    Superseded by #39902 under the new epic #39900.

    The maintainer reworked the account menu design on 2026-12-06 through mockups and a Fable review: language becomes one 「语言」 row that opens a language dialog (three columns wide, one on phones, native name above English name), theme / alerts / desktop notifications move to an Account 偏好 page, and the stage badge moves to the help menu. The single 「偏好设置」 row proposed here is replaced by that page, and the menu rows themselves move to a declared account-app group (#39901). The triage note above is carried: the work stays in area:ux · domain:ui at p2.

  5. objectstack-fleet commented on Dec 6, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Closed as a duplicate of #39902, 2026-12-06T12:14Z. The account-menu epic #39900 lists "#39892 → #39902" under Superseded; #39902 carries the language dialog and the 偏好 page this card proposed.

  6. removed
    pm:queue
    on Dec 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxdomain:uienhancementpriority:p2

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions