feat(backup): Nicht-in-Memories — Ausschluss-Timeline UI #1372

Merged
chris merged 2 commits from feat/exclusions-ui into main 2026-10-25 10:10:03 +01:00
Owner

Design doc 2026-10-25 (Variante B "Erlebnisliste") — UI lane of the two-lane split.

What

  • New screen „Nicht in Memories“ (ExclusionsScreen): date-grouped entries („Heute“/„Gestern“/dated/„Früher“), folder rows + photo minis, one „Wieder sichern“ per entry, plain-language subtitle, footer link to the Entfernungs-Verlauf, friendly empty state, and the „+“ menu (folder sheet reusing the AlbumsSection data + system photo picker multi-select).
  • ExclusionsViewModel: reads the ExcludedMediaRepository contract; groups by exclusion date; INV-2 honesty — revert on a server-deleted twin shows the info dialog instead of silent success.
  • Timeline selection bar: new „Nicht sichern“ beside „In Papierkorb“, with the design-doc dialog (default „In Memories lassen“; „Auch aus Memories entfernen“ additionally trashes uploaded server twins via the existing trash endpoint + record-on-failure retry queue).
  • Viewer „…“ menu: optional onExclude entry — parameter ready, hidden until the data lane binds server items to MediaStore ids (server timeline items carry no device id today).
  • Backup card rename (copy-only): „Bewusst nicht in Memories“ → „Vom Server entfernt“ (de/en/da); the exclusions count line became the clickable door „Nicht in Memories · N Einträge“.
  • Strings: all new keys in de + en + da, plain language per the terminology table (no „Client“/„Sync“/„Exclude“ in copy).

Depends on

depends on feat/exclusions-data for the concrete RoomExcludedMediaRepository; merge after it. This PR ships the interface contract file verbatim (apps/android/core/src/main/kotlin/dev/memories/core/data/ExcludedMediaRepository.kt); the UI compiles self-contained and tests run against fakes.

Tests

rtk ./gradlew :app:testDebugUnitTest :core:test — 845 tests, 0 failures (76 suites), incl. 11 new ExclusionsViewModelTest cases: date grouping (incl. legacy „Früher“ rows), one-minute batching, revert happy path, INV-2 hint branch (fires / not fires), analyzeSelection dialog branches, exclude keep/remove branches incl. failed-trash retry intent, folder revert.

Design doc 2026-10-25 (Variante B "Erlebnisliste") — UI lane of the two-lane split. ## What - **New screen „Nicht in Memories“** (ExclusionsScreen): date-grouped entries („Heute“/„Gestern“/dated/„Früher“), folder rows + photo minis, one „Wieder sichern“ per entry, plain-language subtitle, footer link to the Entfernungs-Verlauf, friendly empty state, and the „+“ menu (folder sheet reusing the AlbumsSection data + system photo picker multi-select). - **ExclusionsViewModel**: reads the ExcludedMediaRepository contract; groups by exclusion date; INV-2 honesty — revert on a server-deleted twin shows the info dialog instead of silent success. - **Timeline selection bar**: new „Nicht sichern“ beside „In Papierkorb“, with the design-doc dialog (default „In Memories lassen“; „Auch aus Memories entfernen“ additionally trashes uploaded server twins via the existing trash endpoint + record-on-failure retry queue). - **Viewer „…“ menu**: optional onExclude entry — parameter ready, hidden until the data lane binds server items to MediaStore ids (server timeline items carry no device id today). - **Backup card rename** (copy-only): „Bewusst nicht in Memories“ → „Vom Server entfernt“ (de/en/da); the exclusions count line became the clickable door „Nicht in Memories · N Einträge“. - **Strings**: all new keys in de + en + da, plain language per the terminology table (no „Client“/„Sync“/„Exclude“ in copy). ## Depends on **depends on feat/exclusions-data for the concrete RoomExcludedMediaRepository; merge after it.** This PR ships the interface contract file verbatim (apps/android/core/src/main/kotlin/dev/memories/core/data/ExcludedMediaRepository.kt); the UI compiles self-contained and tests run against fakes. ## Tests `rtk ./gradlew :app:testDebugUnitTest :core:test` — **845 tests, 0 failures** (76 suites), incl. 11 new ExclusionsViewModelTest cases: date grouping (incl. legacy „Früher“ rows), one-minute batching, revert happy path, INV-2 hint branch (fires / not fires), analyzeSelection dialog branches, exclude keep/remove branches incl. failed-trash retry intent, folder revert.
feat(backup): Nicht-in-Memories timeline UI — exclusion view, actions, language
All checks were successful
Wiki Sync / Sync wiki from docs (push) Has been skipped
Build and Deploy / Detect changed services and test scopes (push) Successful in 3s
Build and Deploy / Smoke API and media worker (push) Has been skipped
Build and Deploy / Smoke web (push) Has been skipped
Build and Deploy / Smoke ML worker (push) Has been skipped
Build and Deploy / Smoke people worker (push) Has been skipped
Build and Deploy / Build postgres image (push) Has been skipped
Build and Deploy / Build Android CI image (push) Has been skipped
Build and Deploy / Build plants worker image (push) Has been skipped
Build and Deploy / Build converter worker image (push) Has been skipped
Build and Deploy / Deploy postgres (push) Has been skipped
Build and Deploy / Build API image (push) Has been skipped
Build and Deploy / Build media worker image (push) Has been skipped
Build and Deploy / Build ML worker image (push) Has been skipped
Build and Deploy / Build people worker image (push) Has been skipped
Build and Deploy / Build web image (push) Has been skipped
Build and Deploy / Deploy API (push) Has been skipped
Build and Deploy / Deploy web (push) Has been skipped
Build and Deploy / Deploy media worker (push) Has been skipped
Build and Deploy / Deploy ML worker (push) Has been skipped
Build and Deploy / Deploy plants worker (push) Has been skipped
Build and Deploy / Deploy people worker (push) Has been skipped
Build and Deploy / Deploy converter worker (push) Has been skipped
Build and Deploy / Deploy review instance (push) Has been skipped
Build and Deploy / Clean Docker build artifacts (push) Has been skipped
Build and Deploy / Run scoped PR tests (push) Successful in 5s
Build and Deploy / Android unit tests and debug APK (push) Successful in 3m45s
67ab537acc
Design doc 2026-10-25 (Variante B 'Erlebnisliste'):

- New ExclusionsScreen: date-grouped entries (Heute/Gestern/dated/Früher),
  folder rows + photo minis, one 'Wieder sichern' per entry, subtitle copy,
  removed-history footer link, friendly empty state, '+' menu (folder sheet
  reusing the AlbumsSection data + system photo picker).
- ExclusionsViewModel: reads the ExcludedMediaRepository contract (this PR
  ships the interface verbatim; the concrete Room repo lands with
  feat/exclusions-data — merge that first), INV-2 honesty dialog when a
  reverted item's server twin is trashed/permanently deleted.
- Timeline selection bar gains 'Nicht sichern' beside 'In Papierkorb' with
  the design-doc dialog (default 'In Memories lassen'; 'Auch aus Memories
  entfernen' additionally trashes uploaded server twins, record-on-failure
  intent queue).
- Viewer '…' menu gains the optional onExclude entry (hidden until the data
  lane binds server items to MediaStore ids — parameter ready).
- Backup card 'Bewusst nicht in Memories' → 'Vom Server entfernt' (all
  locales); the exclusions count line became the clickable door.
- Strings in de/en/da; ViewModel tests (11): grouping, revert, INV-2 branch,
  exclude-with-uploaded dialog branches.

depends on feat/exclusions-data for the concrete RoomExcludedMediaRepository;
merge after it.
chris force-pushed feat/exclusions-ui from 67ab537acc
All checks were successful
Wiki Sync / Sync wiki from docs (push) Has been skipped
Build and Deploy / Detect changed services and test scopes (push) Successful in 3s
Build and Deploy / Smoke API and media worker (push) Has been skipped
Build and Deploy / Smoke web (push) Has been skipped
Build and Deploy / Smoke ML worker (push) Has been skipped
Build and Deploy / Smoke people worker (push) Has been skipped
Build and Deploy / Build postgres image (push) Has been skipped
Build and Deploy / Build Android CI image (push) Has been skipped
Build and Deploy / Build plants worker image (push) Has been skipped
Build and Deploy / Build converter worker image (push) Has been skipped
Build and Deploy / Deploy postgres (push) Has been skipped
Build and Deploy / Build API image (push) Has been skipped
Build and Deploy / Build media worker image (push) Has been skipped
Build and Deploy / Build ML worker image (push) Has been skipped
Build and Deploy / Build people worker image (push) Has been skipped
Build and Deploy / Build web image (push) Has been skipped
Build and Deploy / Deploy API (push) Has been skipped
Build and Deploy / Deploy web (push) Has been skipped
Build and Deploy / Deploy media worker (push) Has been skipped
Build and Deploy / Deploy ML worker (push) Has been skipped
Build and Deploy / Deploy plants worker (push) Has been skipped
Build and Deploy / Deploy people worker (push) Has been skipped
Build and Deploy / Deploy converter worker (push) Has been skipped
Build and Deploy / Deploy review instance (push) Has been skipped
Build and Deploy / Clean Docker build artifacts (push) Has been skipped
Build and Deploy / Run scoped PR tests (push) Successful in 5s
Build and Deploy / Android unit tests and debug APK (push) Successful in 3m45s
to f47f42f702
All checks were successful
Wiki Sync / Sync wiki from docs (push) Has been skipped
Build and Deploy / Detect changed services and test scopes (push) Successful in 4s
Build and Deploy / Smoke API and media worker (push) Has been skipped
Build and Deploy / Smoke web (push) Has been skipped
Build and Deploy / Smoke ML worker (push) Has been skipped
Build and Deploy / Smoke people worker (push) Has been skipped
Build and Deploy / Build postgres image (push) Has been skipped
Build and Deploy / Build Android CI image (push) Has been skipped
Build and Deploy / Build plants worker image (push) Has been skipped
Build and Deploy / Build converter worker image (push) Has been skipped
Build and Deploy / Deploy postgres (push) Has been skipped
Build and Deploy / Build API image (push) Has been skipped
Build and Deploy / Build media worker image (push) Has been skipped
Build and Deploy / Build ML worker image (push) Has been skipped
Build and Deploy / Build people worker image (push) Has been skipped
Build and Deploy / Build web image (push) Has been skipped
Build and Deploy / Deploy API (push) Has been skipped
Build and Deploy / Deploy web (push) Has been skipped
Build and Deploy / Deploy media worker (push) Has been skipped
Build and Deploy / Deploy ML worker (push) Has been skipped
Build and Deploy / Deploy plants worker (push) Has been skipped
Build and Deploy / Deploy people worker (push) Has been skipped
Build and Deploy / Deploy converter worker (push) Has been skipped
Build and Deploy / Deploy review instance (push) Has been skipped
Build and Deploy / Clean Docker build artifacts (push) Has been skipped
Build and Deploy / Run scoped PR tests (push) Successful in 7s
Build and Deploy / Android unit tests and debug APK (push) Successful in 3m41s
2026-10-25 10:06:00 +01:00
Compare
chris merged commit f4aef68f14 into main 2026-10-25 10:10:03 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
chris/memories!1372
No description provided.