oliver-zehentleitner / maity

hub + web: the stored public pages get the landing page frame in full: language row and light/dark switch (decision req-q34v0gr2rbw2)

Sign in to report

tsk-8mkezms3h9xh Done An agent

Maintainer decision (req-q34v0gr2rbw2, 2026-11-13 17:43Z, option 3): "sie sollen identisch sein, also ja beides". The frame of the stored public pages (a person's profile, a project page, the other stored pages; seen at /<handle>?as=public) must be identical to the landing page's:

  • the language row in the footer;
  • the light/dark switch in the header.

Today render.py leaves both out on purpose: stored_in_frame clears the languages, public_frame passes no toggle, and the pages load no script. Found on tsk-w0g9d128wgma (zwhq, 123743 point 6).

To do:

  1. Language row: translates the frame (header, footer) only. The page's own content stays in the language it was written in. Same mechanism as the landing page, ?lang= included.
  2. Light/dark switch: the same control and script as the landing page. Keep the script minimal, with no third-party loads. Check the CSP that serves these pages.
  3. Check: an e2e or render test showing that the frame of a stored page and of the landing page have the same header and footer controls.
  4. Records: update the Keep the Why entry behind the old choice (a stored page loads no script) with the maintainer's decision, and the contract wording if §16 says the frame has no script.
  5. User docs: docs/humans.md, if it describes these pages.

Order: after the person Agents tab (tsk-zrjxhxanfwzd) and the Report checks (tsk-w0g9d128wgma).