Footer: “Powered by Postulo” without the version, linking to the releases, and first on phones #836

Closed
opened 2026-10-10 15:50:09 +00:00 by tiagoagueda · 1 comment
Owner

Say just “Powered by Postulo”, with no version, linking to https://source.tiagoagueda.com/postulo/postulo/releases/. On small screens it is left-aligned and replaces the instance name and motto.

What exists today

  • templates/base.html:324-330: signed in, a link to the release notes of the running version (RELEASE_NOTES_URL = ".../releases/tag/v{version}", core/context_processors.py:111-132) reading “Powered by Postulo {{ version }}” with data-version; signed out, plain text “Powered by Postulo”. The comment at :294-299 explains why the version is shown only to people signed in.
  • The version stays available elsewhere: /healthz and Server settings → Overview (tests/test_server_settings.py:145).
  • “Source code” (:332-336, POSTULO_SOURCE_URL) is the AGPL offer of the source and stays as it is.

What would change

  • One link for everybody to the releases page, rel="noopener noreferrer external", target="_blank" as now.
  • With #835: below a breakpoint it moves to the start of the footer row.

Decisions

  • Forks. The releases link is upstream's even when POSTULO_SOURCE_URL points at a fork, as the release-notes link already is. Recommended: keep it upstream; the source link is the one a fork must change.

Tests: tests/test_footer.py:47-63,105-108; the browser suite anchors on footer [data-version] (tests/e2e/test_navigation_bar.py:221-223) and needs another hook.

Checked against main at 8c3d03570. From the maintainer's improvements list of 2026-10-07.

Say just “Powered by Postulo”, with no version, linking to <https://source.tiagoagueda.com/postulo/postulo/releases/>. On small screens it is left-aligned and replaces the instance name and motto. ## What exists today - `templates/base.html:324-330`: signed in, a link to the release notes of the running version (`RELEASE_NOTES_URL = ".../releases/tag/v{version}"`, `core/context_processors.py:111-132`) reading “Powered by Postulo {{ version }}” with `data-version`; signed out, plain text “Powered by Postulo”. The comment at `:294-299` explains why the version is shown only to people signed in. - The version stays available elsewhere: `/healthz` and *Server settings → Overview* (`tests/test_server_settings.py:145`). - **“Source code”** (`:332-336`, `POSTULO_SOURCE_URL`) is the AGPL offer of the source and stays as it is. ## What would change - One link for everybody to the releases page, `rel="noopener noreferrer external"`, `target="_blank"` as now. - With #835: below a breakpoint it moves to the start of the footer row. ## Decisions - **Forks.** The releases link is upstream's even when `POSTULO_SOURCE_URL` points at a fork, as the release-notes link already is. Recommended: keep it upstream; the source link is the one a fork must change. Tests: `tests/test_footer.py:47-63,105-108`; the browser suite anchors on `footer [data-version]` (`tests/e2e/test_navigation_bar.py:221-223`) and needs another hook. Checked against `main` at `8c3d03570`. From the maintainer's improvements list of 2026-10-07.
tiagoagueda added this to the 0.6.0 milestone 2026-10-10 15:50:09 +00:00
Author
Owner

Fixed in 5999a630b on main.

Fixed in 5999a630b on main.
Sign in to join this conversation.
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
Postulo/postulo#836
No description provided.