Skip to content

feat(mobile-web): add resume card for quick session continue#937

Open
jarvis24young wants to merge 1 commit into
GCWing:mainfrom
jarvis24young:feat/mobile-resume-card
Open

feat(mobile-web): add resume card for quick session continue#937
jarvis24young wants to merge 1 commit into
GCWing:mainfrom
jarvis24young:feat/mobile-resume-card

Conversation

@jarvis24young
Copy link
Copy Markdown
Contributor

Summary

Adds a prominent "Continue where you left off" resume card at the top of the session list, showing the most recent session for one-tap resume. Matches the Codex mobile UX pattern.

Changes

  • Accent-colored card with session icon, name, agent badge, time, and chevron
  • Uses <button> element with Enter/Space keyboard handling and :focus-visible styling
  • Hidden when searching (hasSearchQuery) or when no sessions exist
  • Deduplicates — the resume card session is skipped in the history list below
  • i18n: sessions.continueSession key in en-US/zh-CN/zh-TW

Files

File Change
i18n/messages.ts +3 i18n keys
pages/SessionListPage.tsx +35 lines (card JSX + dedup logic)
styles/components/sessions.scss +79 lines (card CSS)

Verified

  • TS: zero errors
  • Build: success
  • Codex reviewed: 6 findings all fixed (keyboard a11y, search consistency, dedup, overflow, focus-visible, init guard)

@jarvis24young jarvis24young force-pushed the feat/mobile-resume-card branch 3 times, most recently from e9911c7 to 6a48510 Compare May 29, 2026 06:33
Shows an accent-colored card at the top of the session list for the
most recent session with one-tap resume. Supports long-press context
menu for rename/delete. Deduplicates in the history list. Uses
<button> element with full touch/keyboard accessibility.
@jarvis24young jarvis24young force-pushed the feat/mobile-resume-card branch from 6a48510 to 2c71ff7 Compare May 29, 2026 06:44
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.

1 participant