M12f: S-16 lost version read-only, S-22 versions from /health, settle start without a partner (D-109 to D-111)

- Rejection.lost: RejectedVersion (the pushed entity from sync_rejections.rejected_payload as a ledger row, account,
  payer, split, notes, deleted); S-16 "Öppna" shows it read-only in a dialog with "Visa nuvarande version" (S-8/S-10);
  without one it opens the current version as before. Ledger rows take a null onClick (read-only).
- AboutState.schemaVersion; AboutRepositoryImpl calls E-1 /health once per collection when online; header fallback.
  S-22 shows "1.1.0 (schema 3)".
- SettlementRepository.start/recompute return null without a session or partner; save is Invalid(payer); no
  checkNotNull/requireNotNull in :data.
- :feature:home screenshot harness: one more frame and an idle looper before each capture; the committed sv_dark,
  200 % and dialog goldens were one variant stale (light instead of dark, en instead of sv_200).
- Tests: lost version (stale, refused deletion, unreadable payload), /health online and offline, settle without a
  partner, category reorder PATCHes, recurring toWire splits, §9.2 effect cases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TQd3pEP9UeN2uifbHknQ7B
This commit is contained in:
2026-10-18 22:32:24 +02:00
parent 7fb86f5524
commit dc7a296d70
90 changed files with 550 additions and 70 deletions
+5
View File
@@ -313,6 +313,10 @@ home_sync_status_row_pending,%1$s · waiting to sync,%1$s · väntar på synk,mo
home_sync_status_rejected_title,Changes that were not synced,Ändringar som inte synkades,module=home
home_sync_status_dismiss,Remove from list,Ta bort från listan,module=home
home_sync_status_open,Open,Öppna,module=home; opens the rejected change read-only
home_sync_lost_title,Your version,Din version,module=home; title of the read-only sheet of a rejected change (S-16; D-109)
home_sync_lost_body,This is how it looked on your phone. It was not saved and cannot be changed here.,Så här såg det ut på telefonen. Det sparades inte och kan inte ändras här.,module=home; S-16 lost-version sheet
home_sync_lost_deleted,You deleted this,Du tog bort den här,module=home; S-16 lost-version sheet when the refused change was a deletion
home_sync_lost_show_current,Show current version,Visa nuvarande version,module=home; S-16 lost-version sheet: opens S-8 / S-10
home_sync_reject_stale,Your change was replaced by a newer change from %1$s,Din ändring ersattes av en nyare ändring från %1$s,module=home; §14.4.6
home_sync_reject_stale_help,%1$s's version applies. Open the expense if you want to make your change again.,%1$ss version gäller. Öppna utgiften om du vill göra din ändring igen.,module=home; sv genitive as onboarding_profile_joining
home_sync_reject_stale_help_payment,%1$s's version applies. Open the payment if you want to make your change again.,%1$ss version gäller. Öppna betalningen om du vill göra din ändring igen.,module=home; as home_sync_reject_stale_help
@@ -569,6 +573,7 @@ settings_about_version,Kvitt %1$s (%2$d),Kvitt %1$s (%2$d),module=settings; vers
settings_about_server,Server,Server,module=settings
settings_about_server_version,Server version,Serverversion,module=settings; label; value from /health
settings_about_server_version_unknown,Unknown,Okänd,module=settings
settings_about_server_version_schema,%1$s (schema %2$d),%1$s (schema %2$d),"module=settings; S-22 server version from /health with its schema version, e.g. 1.1.0 (schema 3) (D-110)"
settings_category_archived_snackbar,%1$s was archived,%1$s arkiverades,module=settings; S-15 snackbar after Arkivera; %1$s category name; M7f
settings_category_unarchived_snackbar,%1$s was restored,%1$s återställdes,module=settings; S-15 snackbar after Återställ från arkiv; %1$s category name; M7f
settings_recurring_summary_none,None,Inga,module=settings; S-13 recurring row subtitle without templates; M7f
Can't render this file because it contains an unexpected character in line 161 and column 79.