Skip to content

feat(quick-start): simplify history navigation - #935

Merged
xiaocheny214 merged 1 commit into
mainfrom
ui/quick-start-mock
Sep 4, 2026
Merged

feat(quick-start): simplify history navigation#935
xiaocheny214 merged 1 commit into
mainfrom
ui/quick-start-mock

Conversation

@huyanxius

Copy link
Copy Markdown
Collaborator

Quick Start 的历史入口改为轻量的左侧三横线触发器与浮层,主画布保持全宽,减少视觉割裂和无关文案。

Why

原有历史栏持续占据左侧空间,打开后又形成独立的视觉区域,与 Quick Start 主界面不协调。此次改动让历史导航按需出现,并保持当前界面的连续性。

Changes

  • 默认隐藏历史内容,不再为历史栏预留页面宽度。
  • 使用左侧三横线入口打开浮层,支持点外关闭和 Escape 关闭。
  • 移除副标题、RECENT 标签和额外强调色块。

Implementation

  • 变更集中在 Quick Start 历史组件及其页面容器。
  • 颜色、边线、圆角、阴影和文字全部使用现有 app-* 设计令牌。
  • 未修改后端、其他页面或本地 mock 文件。

Verification

  • npx oxfmt --check src/pages/quick-start/history-sidebar.tsx src/pages/quick-start/index.tsx:通过
  • npm run lint:通过
  • npm run typecheck:通过
  • npm run test -- src/pages/quick-start/index.test.tsx:133 tests passed
  • npm run build:通过

Scope

  • 本 PR 不包含:后端接口、历史数据逻辑、本地 mock 启动绕过。
  • 后续事项:无。

Related Issues

Closes #934

The persistent history rail competed with the Quick Start canvas and added unnecessary visual weight.

Replace it with a token-based left trigger and contextual floating panel with outside-click and Escape dismissal.

Keep the canvas full-width and limit the change to Quick Start history presentation.
@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
windup Ready Ready Preview Sep 3, 2026 4:03pm UTC

@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #935   +/-   ##
=======================================
  Coverage   91.27%   91.27%           
=======================================
  Files         193      193           
  Lines       13204    13204           
=======================================
  Hits        12052    12052           
  Misses       1152     1152           
Flag Coverage Δ
backend 91.27% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已检查 Quick Start 历史导航及页面容器的完整变更,并对照关联 issue #934 的验收条件核验:浮层入口、点击外部关闭、Escape 关闭、全宽画布和设计令牌使用均符合预期。未发现由本 PR 引入且达到报告标准的正确性、可访问性或兼容性问题。

验证:npm run test -- src/pages/quick-start/index.test.tsx(133 tests passed)、npm run typechecknpm run lint,以及固定 SHA diff 的 whitespace 检查均通过。

@xiaocheny214
xiaocheny214 merged commit a4f125e into main Sep 4, 2026
11 checks passed
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.

[Feature]: Simplify Quick Start history navigation

2 participants