From 8942c203448ae696e68df5b1ba03c264ba60d659 Mon Sep 17 00:00:00 2001 From: weichen Date: Wed, 30 Sep 2026 10:00:32 +0000 Subject: [PATCH] Add UI redesign and auth proposal via documents gitlink Why: the UI redesign proposal and demos live in the Documents repo; the Dev repo advances only the submodule pointer and the task record. Evidence: - modules/documents -> e601b25 (proposal + 5 HTML demos; verified headless, see that commit); make test full suite passed before advancing the gitlink (core+backend+frontend+deps, exit 0). - Task card filled with outcome, verification, and the pending user decision (direction A/B/C, auth stage-2 scope). Impact: gitlink + .task only; no code change. Documents PR #14 carries the content; merge order: Documents PR first, then this PR. Refs: Documents PR https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Documents/pulls/14 --- .task/feature-ui-redesign-proposals.md | 15 ++++++++------- modules/documents | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.task/feature-ui-redesign-proposals.md b/.task/feature-ui-redesign-proposals.md index eeca624b..4461606e 100644 --- a/.task/feature-ui-redesign-proposals.md +++ b/.task/feature-ui-redesign-proposals.md @@ -1,16 +1,17 @@ # feature/ui-redesign-proposals 任务卡 -任务主记录:;状态:进行中;owner:weichen +任务主记录:Dev 仓 PR(见合并记录);状态:已完成(方案交付,待用户裁定方向);owner:weichen ## 基线与授权 - 权威仓:ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-System-Dev.git;目标分支:main;R0(initial_base_sha)= e5a1f6a091997fd1a458ae3d8d9856c55ed71daa - 工作区:/home/weichen/projects/Agent-System-Dev-wt-feature-ui-redesign-proposals(worktree);分支:feature/ui-redesign-proposals -- 授权与交付终点:<本次允许的动作与终点;未授权事项写明> +- 授权与交付终点:用户请求"研究 ZCode 桌面端设计 → 给出界面方案 + HTML demo";交付终点 = 可审方案与 demo(交付流程 §2:用户仅要方案时,完成可审方案即交付)。不含实施。 ## 目标与非目标 -<预期结果、受影响入口/模块/契约;明确不做什么。> +- 目标:研究 zai-org/ZCode 桌面端设计并提炼可迁移结论;针对"创建入口分裂/项目树浏览繁琐/无用户租户界面"三痛点给出 ≥2 个界面方案(含 HTML demo)与推荐;给出多用户多租户认证(阶段 2)设计方案。 +- 非目标:不改代码(frontend/backend 零变更);不推翻 D25(右栏纯收件箱)/D26(无全局顶栏)/D31(对话完备性);不做实施。 ## 同步记录 @@ -18,8 +19,8 @@ |---|---|---|---| | 启动 | e5a1f6a091997fd1a458ae3d8d9856c55ed71daa | e5a1f6a091997fd1a458ae3d8d9856c55ed71daa | 2026-09-30T09:40:03Z | -## 结果与验证(完成后填写) +## 结果与验证 -- 结果: -- 验证: -- 影响与剩余项: +- 结果:Documents 仓 `docs/proposals/2026-09-30-ui-redesign-and-auth.md`(proposed)+ `ui-redesign-demos/` 5 个静态 demo(index/A/B/C/auth);ZCode 研究结论、三方案对比(推荐 A 任务中心)、认证阶段 2(orgs/memberships/服务端会话/SSE cookie)与 R1–R4 落地路线。Documents PR:https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Documents/pulls/14 +- 验证:precheck READY(会话首输出发起);`make test` 全量通过(core+backend+frontend+deps,退出码 0);demo 无头验证——DOM 布局断言(A 三栏 272/842/324、轨道收起 52px;B 活动切换;C 门户↔对话切换;auth 三屏与双 tab)、截断/对比度 QA 干净、控制台零错误、明暗主题均渲染。 +- 影响与剩余项:纯文档+gitlink 变更,无代码影响。剩余:用户裁定方案方向(默认 A)→ 另立实施提案(R1 左栏重构起步)。 diff --git a/modules/documents b/modules/documents index 8b636072..e601b253 160000 --- a/modules/documents +++ b/modules/documents @@ -1 +1 @@ -Subproject commit 8b63607211dadb76c868e785efb18380ad7c5de5 +Subproject commit e601b253bc0d6a3fc762c7495d235b68f3910eb6