feat(android): Phase 1 albums — list, create, add/remove photos #1121
Loading…
Reference in a new issue
No description provided.
Delete branch "ux-android-albums"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Spec 055 T007: server albums in the Android app.
GET/POST /api/albums,GET/PUT/DELETE /api/albums/{id},POST/DELETE /api/albums/{id}/itemsin one additive block (timeline/search convention). JSON tests pin the wire shapes; suggestion-provenance fields tolerated, never rendered.MediaViewerScreenover the album's own item list (correct start index). Rename in the top bar, delete behind a confirmation.POSTper photo (no batch endpoint) and appends the server's answers so new photos appear without a refetch.DELETEper photo behind a confirmation ("Nur aus dem Album entfernt — die Fotos bleiben in deiner Bibliothek.").values/(de) +values-da/+values-en/; "Memories" untranslated; plurals parity checked.Commit structure (rebased on
4d3731b9)23fcd424API client + JSON tests27cc6aeelist screen2efdf1cddetail screen + viewer entry + remove2a3201eatimeline selection mode (isolated — theTimelineScreen.ktedit is self-contained)f17e5e0cchore: 0.1.8 / versionCode 9, KNOWN_ISSUESNotes
AlbumDetailViewModelis hoisted to the app scope (likeSearchViewModel) so the viewer and the add-photos picker read the same item list without refetching — this is the pattern ISSUE-121 recommends and is unaffected by that bug.GET /api/albums/{id}per album (list endpoint carries no cover URL). Fine at family scale.Verification
./gradlew :app:testDebugUnitTest :app:assembleDebug— 240 tests, 0 failures, BUILD SUCCESSFUL after rebase onto currentorigin/main.