Save photo-only mobile captures as untitled Drafts #940

Merged
rockachopa merged 1 commits from timmy/939-photo-only-untitled-drafts into main 2026-08-16 05:06:47 +00:00
Owner

Closes #939

What changed

  • save valid photo evidence to Drafts without forcing title entry
  • preserve untitled photo Drafts across local reload and account-scoped device sync
  • render a truthful “Untitled photo draft” card and focus title when resumed
  • defer the phone keyboard on a fresh New capture while retaining desktop/title-continuation focus
  • keep empty captures and titleless final filing blocked

Verification

  • RED observed for photo-only local persistence, cross-device import, server validation, display title, and mobile focus policy
  • python3 -m pytest tests/test_unfiled_captures.py tests/test_unfiled_draft_store.py tests/test_unfiled_draft_sync.py tests/test_issue_attachment_ui.py -q → 71 passed
  • python3 -m pytest tests/ -q → 1796 passed, 1 skipped
  • STACKCHAIN_RUN_RELEASE_E2E=1 .venv/bin/python -m pytest tests/e2e/test_mobile_offline_issue_release.py -q → 1 passed at 390×844, including no fresh-title autofocus, 44px photo controls, and no horizontal overflow
Closes #939 ## What changed - save valid photo evidence to Drafts without forcing title entry - preserve untitled photo Drafts across local reload and account-scoped device sync - render a truthful “Untitled photo draft” card and focus title when resumed - defer the phone keyboard on a fresh New capture while retaining desktop/title-continuation focus - keep empty captures and titleless final filing blocked ## Verification - RED observed for photo-only local persistence, cross-device import, server validation, display title, and mobile focus policy - `python3 -m pytest tests/test_unfiled_captures.py tests/test_unfiled_draft_store.py tests/test_unfiled_draft_sync.py tests/test_issue_attachment_ui.py -q` → 71 passed - `python3 -m pytest tests/ -q` → 1796 passed, 1 skipped - `STACKCHAIN_RUN_RELEASE_E2E=1 .venv/bin/python -m pytest tests/e2e/test_mobile_offline_issue_release.py -q` → 1 passed at 390×844, including no fresh-title autofocus, 44px photo controls, and no horizontal overflow
timmy added 1 commit 2026-08-16 04:59:38 +00:00
feat: save photo-only captures as drafts (Closes #939)
All checks were successful
CI / lint (pull_request) Successful in 2m9s
CI / build-release (pull_request) Successful in 6s
CI / browser-journey (pull_request) Successful in 1m2s
CI / release-candidate (pull_request) Has been skipped
caa0fbc2fd
rockachopa merged commit 67d8828aea into main 2026-08-16 05:06:47 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#940
No description provided.