oliver-zehentleitner / maity

contract + hub + web: product line ends with 'Chat with us on Discord'

Sign in to report

tsk-01tt7j11yx3w Done Maity KTW Integrator

Decided by Oliver on 2026-11-15 (chat 136222). The product line (docs/api.md §16.13) gets one more part at its end, a link to the project's Discord server:

[Maity icon] Maity 2026 · Made with ♥ by Oliver Zehentleitner on [GitHub icon] & [Maity icon] · Found a bug? · Found a vulnerability? · Chat with us on Discord
  • Text: Chat with us on Discord, no icon.
  • Target: https://discord.gg/VRWUe7zKzp (the same address #1659 put in README, docs and the issue chooser).
  • At phone width nothing changes: only the first part (mark, Maity, year) shows, as today.

Steps:

  1. Contract: §16.13, the example line and "The parts, in this order", plus the words list if §16.13 names the keys.
  2. Hub: hub/src/maity_hub/product_line.py (a constant for the address next to ISSUES/SECURITY, the new part), a new key in hub/src/maity_hub/words/*.json with hub/words-meta/*, hub/tests/test_product_line.py. Check whether the CSP hash of STYLE/HEAD changes and the pages that use it still pass.
  3. Web: web/js/product-line.js and web/i18n/*.json (+ .meta.json), the web tests that read the line.
  4. Every language: translate the text; "Discord" stays as it is.
  5. changelog.d entry; docs/humans.md only if it describes the line.

Checks before review: black --check, ruff, mypy; hub test_product_line, test_contract_*, test_paths, test_public_read; web check and make smoke with LANGUAGE=en_US.