Files
gh-christianlouis-docuelevate/tests
copilot-swe-agent[bot] 1416d901d0 fix(i18n): persist language preference server-side, fix dropdown rendering and avatar 404
- Fix language dropdown in base.html by moving tojson data out of HTML
  attribute into a script tag (prevents quote conflicts breaking Alpine.js)
- Fix avatar placeholder 404 by correcting filename reference from
  avatar-placeholder.svg to default-avatar.svg
- Add session hydration from DB in _inject_global_context() so
  detect_language() uses the stored preference on every request
- Sync session and cookie in PATCH /api/profile when language changes
- Reload page after language change in profile to reflect new locale
- Add tests for session/cookie sync and DB hydration

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
2026-03-14 10:30:50 +00:00
..
2026-02-23 09:33:48 +00:00
2026-02-14 00:16:21 +00:00
2026-03-08 20:39:10 +00:00
2026-02-14 00:16:21 +00:00
2026-02-14 00:16:21 +00:00
2026-02-22 15:25:48 +00:00
2026-03-08 22:40:15 +00:00