Skip to content

feat(ui): Trip Flow H5 + Dispatch admin console redesign (S35) - #3

Merged
llfzzz merged 1 commit into
mainfrom
feat/s35-trip-flow-dispatch-redesign
Jul 10, 2026
Merged

feat(ui): Trip Flow H5 + Dispatch admin console redesign (S35)#3
llfzzz merged 1 commit into
mainfrom
feat/s35-trip-flow-dispatch-redesign

Conversation

@llfzzz

@llfzzz llfzzz commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Summary

Implements the Carpool Redesign design project (claude.ai/design "UI/UX redesign directions", Carpool Redesign.dc.html), following the design's own in-canvas recommendation:

  • apps/user-h5 → direction 1a 行程流 · Trip Flow: bottom-tab IA (首页/行程/消息/我的), hero login screen, map-forward home with the origin→destination route-rail motif and Bricolage display price numerals, a dedicated booking screen (seat stepper, price breakdown, sticky bar), per-order status timelines with callback-driven payment actions, category-tinted inbox with explicit reveal, and driver onboarding as a 4-step stepper (实名→活体→证件→审核).
  • apps/admin-console → direction 1b 调度台 · Dispatch: console shell with ⌘K quick-nav sidebar (ops/demo nav groups + pending-review badge), breadcrumb topbar with per-view manual 刷新, 6-KPI overview + recent-orders dense table + audit timeline, driver review as dense table + docked detail drawer (doc presign download, OCR confidence, approve/reject), order monitor with saved-view tabs, and all demo-sim/OCR modules retained unchanged in behavior.

Presentation layer only — no API contract, auth, masking, or provider-pipeline changes. Teal #137A63 Free Joy tokens throughout (brand-carpool.css). The only new API usage is read-only reuse of existing production endpoints (GET /api/trips/{id} for order route text, GET /api/audits?page=0&size=5 for the overview timeline).

Verification

  • pnpm typecheck + pnpm build green for both apps.
  • Clicked through the full business loop against the real local stack (Gateway :8080):
    登录取码 → 订座锁座 (PENDING_PAYMENT) → 发起支付 (intent) → 运营台投递签名 SUCCEEDED 回调(管道接受)→ 订单 SEAT_LOCKED(H5 时间线推进)→ 运营台完成订单 → H5 历史行程提交 5★ 评价。
  • Driver-review drawer/empty states, audits (12 rows), users, notification/OCR lists all render; no new console errors (the antd React-19 compat warning is pre-existing).
  • Playwright login smoke assertions updated to the new screen copy; S30's "manual refresh, no auto-poll" principle preserved (single topbar 刷新 per view; orders monitor keeps its on-screen 5s poll).

AGENTS.md updated with the S35 entry.

🤖 Generated with Claude Code

…arpool Redesign (S35)

Implements the Claude Design "UI/UX redesign directions" canvas, following its
in-canvas recommendation: direction 1a (行程流 Trip Flow) for apps/user-h5 and
direction 1b (调度台 Dispatch) for apps/admin-console. Presentation layer only —
API contracts, data flow, auth/masking semantics and the teal Free Joy tokens
are unchanged.

user-h5: bottom-tab IA (首页/行程/消息/我的), hero login, map-forward home with
route-rail motif and display-numeral trip cards, dedicated booking screen with
seat stepper + price breakdown + sticky bar, per-order status timeline with
callback-driven payment actions, category-tinted inbox with explicit reveal,
driver onboarding as a 4-step stepper (实名→活体→证件→审核). Order cards read
route text via the existing GET /api/trips/{id}. Playwright login smoke updated.

admin-console: dispatch shell with ⌘K quick-nav sidebar (ops/demo groups,
pending-review badge), breadcrumb topbar with per-view manual refresh, KPI
overview + recent-orders table + audit timeline (reuses GET /api/audits),
driver review as dense table + docked detail drawer, order monitor with
saved-view tabs, all demo-sim/OCR modules retained with the same behavior.

Verified end to end against the local full stack: login → booking →
signed payment callback → SEAT_LOCKED → operator complete → 5★ review;
pnpm typecheck/build green for both apps.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 10, 2026 17:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@llfzzz
llfzzz merged commit 5176b79 into main Jul 10, 2026
1 check passed
@llfzzz
llfzzz deleted the feat/s35-trip-flow-dispatch-redesign branch July 10, 2026 17:46
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.

2 participants