Repository navigation
Keep the language and avatar when a settings section leaves them out (#1915) - #1
Conversation
…inkwarden#1915) Saving one section of Settings > Preference (AI tagging, archive, links) sends only that section's fields. updateUserById turned a missing locale into "en" and a missing image into "", so the UI switched to English (linkwarden#1915) and the avatar came back empty (linkwarden#1779). Fields that are not sent now stay as they are; an explicit locale or empty image still works. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n the response Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Level 1 Evidence Report – PASS
Visual Proof (1 Ticket = 1 Step-Paced Flow)
Step-by-Step Result Screenshots (Full 1280×720 – click any image to zoom)Step 1/4 – Log in: account language is German (lead 1.06s, min action gap 1s, hold 1.81s, total 10.4s)
Step 2/4 – Change AI tagging and save (lead 1.01s, min action gap 1.01s, hold 1.8s, total 7.27s)
Step 3/4 – Reload: still German, AI tagging saved (lead 1.02s, hold 1.8s, total 4.94s)
Step 4/4 – Account settings: language still Deutsch (lead 1.02s, hold 2.21s, total 4.39s)
Scope & Verification Integrity
Automated Test Details – Unit & integration tests (vitest) 541/543, E2E 3/3Unit & integration tests (vitest)
End-to-End Verification (Playwright)
Format & Integrity Gates: 8/8 PASS (
|
| Status | Gate | Detail |
|---|---|---|
| PASS | report_exists |
EVIDENCE.md present (105678 bytes, verdict=PASS) |
| PASS | sensitive_scope_disclosed |
Disclosed 3 sensitive and 4 verification paths |
| PASS | specs_use_sandbox_fixture |
All specs import test from scripts/sandbox.mjs (reset + network fence active) |
| PASS | no_skipped_or_error_tests |
All unit and Playwright E2E checks executed cleanly with 0 skipped/cancelled/error cases (2 known unit skip(s) from KNOWN_SKIPS, listed in EVIDENCE.md) |
| PASS | single_proof_mp4_no_webm_anywhere |
Exactly 1 proof MP4 (proof.mp4), 0 raw .webm files across entire artifacts tree |
| PASS | video_codec_h264 |
H.264 / yuv420p (1280x720, 28.24s, 448495 bytes) |
| PASS | step_pacing_readable |
4 paced steps (min lead 1.01s >= 0.8s, min action gap 1s >= 0.8s, min step 4.39s >= 2.8s, min end hold 1.8s >= 1.4s, total 28.24s) |
| PASS | inline_preview_quality |
GIF 960x540 @ 12.5fps (2196276 B) + 4 full-res (>=1000px) step screenshots + direct MP4 link embedded |





Fork-internal Level 1 evidence PR (glass-factory Phase 3, Challenge 1). Not for upstream.
Fixes linkwarden#1915 (and the locale/avatar part of linkwarden#1779).
What changed
updateUserByIdturned a missinglocaleinto"en"and a missingimageinto"". Every section of Settings > Preference (AI tagging, archive, links) sends only its own fields, so saving one of them switched the UI to English and emptied the avatar.en) and an explicit empty image (remove avatar) behave as before.Proof
apps/web/lib/api/updateUserPartial.integration.test.ts(real PostgreSQL): passes now. Against the old controller (sandbox run 2026-11-26, test file copied into theunitcontainer of the base) the two section tests failed and the three control tests passed:factory/evidence/tests/; the evidence bot comment below carries the video, step screenshots and the quality gate.BASE_REF=factory/level0): unit + integration 541/541, E2E 3/3, quality gate PASS.Verification integrity
factory/evidence/tests/(proof, regression, helpers).dev: Level 0 sandbox + evidence kit). The branch mergesdevtwice to pick up sandbox fixes (no force push).🤖 Generated with Claude Code