界面重构与多用户认证设计提案 + HTML demo(方案 A/B/C + 认证) #14

Merged
weichen merged 1 commits from feature/ui-redesign-proposals into main 2026-09-30 10:02:04 +00:00
Owner

Why

现有界面创建入口分裂(左上 ✚ 建项目、左下「+ 新会话」)、项目树需逐项目展开浏览、无任何用户/租户界面;系统目标为多用户多租户。

内容

  • 设计提案 docs/proposals/2026-09-30-ui-redesign-and-auth.md(proposed,待方向裁定)
  • ZCode 桌面端研究结论(布局/侧栏/设计系统,含仓内文件证据)
  • 三方案:A 任务中心(推荐)/ B 活动栏 / C 项目门户 + 对比表
  • 认证阶段 2:orgs/memberships/服务端会话(cookie),移除 SSE ?key= 泄露权衡
  • 静态 demo ×5:ui-redesign-demos/index.html 为入口

Evidence

  • demo 无头验证:DOM 布局断言(列宽/视图切换/屏幕切换)、截断与对比度 QA、零控制台错误、明暗主题均渲染
  • 纯文档变更,无代码影响;Dev 仓 make test 全量通过(core+backend+frontend)

Impact

仅 Documents 仓;demo 即 R4 设计令牌目标值来源。实施待用户裁定方向后另立提案(R1–R4 路线见提案 §6)。

## Why 现有界面创建入口分裂(左上 ✚ 建项目、左下「+ 新会话」)、项目树需逐项目展开浏览、无任何用户/租户界面;系统目标为多用户多租户。 ## 内容 - 设计提案 `docs/proposals/2026-09-30-ui-redesign-and-auth.md`(proposed,待方向裁定) - ZCode 桌面端研究结论(布局/侧栏/设计系统,含仓内文件证据) - 三方案:A 任务中心(推荐)/ B 活动栏 / C 项目门户 + 对比表 - 认证阶段 2:orgs/memberships/服务端会话(cookie),移除 SSE `?key=` 泄露权衡 - 静态 demo ×5:`ui-redesign-demos/index.html` 为入口 ## Evidence - demo 无头验证:DOM 布局断言(列宽/视图切换/屏幕切换)、截断与对比度 QA、零控制台错误、明暗主题均渲染 - 纯文档变更,无代码影响;Dev 仓 make test 全量通过(core+backend+frontend) ## Impact 仅 Documents 仓;demo 即 R4 设计令牌目标值来源。实施待用户裁定方向后另立提案(R1–R4 路线见提案 §6)。
weichen added 1 commit 2026-09-30 10:00:04 +00:00
Why: current UI scatters creation entries (project + at sidebar top-left,
new session at bottom-left), has no user/tenant surfaces, and the project
tree forces per-project navigation; the system targets multi-user
multi-tenant operation.

Evidence:
- Studied zai-org/ZCode desktop layout (WorkspaceShellLayout, WorkspaceSidebar,
  DESIGN.md) and mapped transferable patterns (single New-Task entry,
  organize-by views, sidebar account footer) with repo file citations.
- Three layout proposals (task-centric / activity rail / project portal) with
  comparison table and recommendation A; auth stage-2 design (orgs,
  memberships, server sessions) with SSE cookie upgrade removing ?key=.
- Five static demos (index + A/B/C + auth) verified headless: DOM layout
  assertions (column widths, view switching, screen switching), clipping and
  contrast QA clean, zero console errors, light/dark themes render.

Impact: documents only; no code change. Demos double as the R4 design-token
target palette. Implementation proceeds only after direction is approved.

Refs: docs/proposals/2026-09-30-ui-inbox-command-workspace.md (D25-D33),
docs/proposals/2026-09-30-dual-tier-storage-and-multitenancy.md (D17-D24)
weichen merged commit ab14f62534 into main 2026-09-30 10:02:04 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Documents#14