feat(ux): home recently-viewed records + global quick-create - #121
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
app/object/record, newest-first, capped at 20. (The pre-existinguseRecentItemshook was in-memory and per-component, so unusable across screens.)Quick-create
i18n & tests
home.recent*/home.quickCreate*in en/zh/ar; both new icons are theme-aware.recent-storecovered 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