feat: add expandable mobile property pickers

This commit is contained in:
lucaronin
2026-05-05 12:46:24 +02:00
parent 1861721e9a
commit a337ddc9ea
6 changed files with 325 additions and 164 deletions

View File

@@ -85,14 +85,15 @@ This file is the resumable working log for Tolaria mobile. The strategy and road
- Created [ADR-0112](./adr/0112-expo-development-client-for-mobile-native-qa.md) for the mobile development-client QA path.
- Added safe TenTap image serialization for persisted relative/remote image sources while continuing to block transient image sources such as `blob:` URLs.
- Added simple TenTap table serialization for rectangular tables, including entity decoding and escaped pipe characters, while continuing to block malformed table shapes.
- Reworked the mobile properties panel into expandable Type/Status/Icon/Tags picker rows that show current values first and reveal chip choices on demand.
## Next Action
Continue Phase 4 with editor durability:
1. Replace the first property chips with richer desktop-compatible pickers once the mobile metadata schema is finalized.
2. Continue TenTap Markdown serialization coverage for any editor output observed in simulator QA.
3. Retry the iOS development-client build after installing an iOS 26.2 simulator runtime in Xcode.
1. Continue TenTap Markdown serialization coverage for any editor output observed in simulator QA.
2. Retry the iOS development-client build after installing an iOS 26.2 simulator runtime in Xcode.
3. Start the Git sync/auth vertical slice for app-local vaults.
## Verification Log
@@ -312,6 +313,10 @@ Continue Phase 4 with editor durability:
- `pnpm --filter @tolaria/mobile typecheck` passed after simple table serialization.
- CodeScene after simple table serialization: `apps/mobile/src/mobileEditorHtmlMarkdown.ts`, `apps/mobile/src/mobileEditorTableMarkdown.ts`, `apps/mobile/src/mobileEditorDraft.test.ts`, and `apps/mobile/src/mobileEditorDraftSave.test.ts` scored `10`.
- `pnpm --filter @tolaria/mobile exec expo export --platform ios --output-dir /tmp/tolaria-mobile-export` passed after simple table serialization.
- `pnpm --filter @tolaria/mobile test -- src/mobilePropertyPicker.test.ts src/mobileNoteProperties.test.ts` passed after expandable mobile property pickers: 28 files / 93 tests.
- `pnpm --filter @tolaria/mobile typecheck` passed after expandable mobile property pickers.
- CodeScene after expandable mobile property pickers: `apps/mobile/src/MobilePropertiesPanel.tsx`, `apps/mobile/src/MobileEditablePropertyPickers.tsx`, `apps/mobile/src/mobilePropertyPicker.ts`, `apps/mobile/src/mobilePropertyPicker.test.ts`, and `apps/mobile/src/styles/propertyChipStyles.ts` scored `10`.
- `pnpm --filter @tolaria/mobile exec expo export --platform ios --output-dir /tmp/tolaria-mobile-export` passed after expandable mobile property pickers.
## Risks / Watch Items