Skip to content

feat(ux): home recently-viewed records + global quick-create - #121

Merged
os-zhuang merged 1 commit into
mainfrom
feat/ux-home-recents-quickcreate
Jun 11, 2026
Merged

feat(ux): home recently-viewed records + global quick-create#121
os-zhuang merged 1 commit into
mainfrom
feat/ux-home-recents-quickcreate

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

UX-E — Home recents + quick-create

Fifth of the UX improvements from the browser walkthrough — two ways to get back into the work faster from Home.

Recent

  • A persistent, app-global recent-store (zustand + MMKV) records every record the detail screen opens — deduped by app/object/record, newest-first, capped at 20. (The pre-existing useRecentItems hook was in-memory and per-component, so unusable across screens.)
  • Home surfaces the first five in a "Recent" section with a Clear action; tapping a row reopens the record.

Quick-create

  • A "+" in the home header opens a sheet listing every creatable object across the installed apps (flattened from their navigation trees); picking one opens its blank create form.

i18n & tests

  • New strings home.recent* / home.quickCreate* in en/zh/ar; both new icons are theme-aware.
  • recent-store covered by unit tests (dedupe, ordering, 20-cap, clear). Full suite: 1315 passing.

Verified

Browser (375dp, dark, zh): opened a record → Home shows 最近 → Learn ObjectStack / Task with a 清除 action; the + opens the 新建记录 sheet → new-Task form.

🤖 Generated with Claude Code

Two ways to get back into the work faster from the home screen.

Recent:
- A persistent, app-global recent-store (zustand + MMKV) records every record
  the detail screen opens — deduped by app/object/record, newest-first, capped
  at 20. Home surfaces the first five in a "Recent" section with a Clear action;
  tapping a row reopens the record.

Quick-create:
- A "+" in the home header opens a sheet listing every creatable object across
  the installed apps (flattened from their navigation trees); picking one opens
  its blank create form.

Both new icons are theme-aware. New strings (home.recent*/quickCreate*) added in
en/zh/ar. recent-store covered by unit tests (dedupe, ordering, 20-cap, clear).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@os-zhuang
os-zhuang merged commit 3fd755c into main Jun 11, 2026
@os-zhuang
os-zhuang deleted the feat/ux-home-recents-quickcreate branch June 11, 2026 10:30
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