Files
member-dashboard/app
InferenceBot b352b1f427 dashboard: always-visible "Buy a credit pack" link in My usage
Members looked for a way to add usage from the dashboard and could not
find it — the buy path was invisible unless someone pointed them at it.
Add an always-visible green button in the "My usage" card, opening in a
new tab, plus the member's real credit status and a docs link.

The destination comes from CREDIT_PACK_URL on the dashboard app (same
convention the portal uses), defaulting to the Open Collective
contribute page — configurable in one place, not hardcoded in the
template. When the member has purchased credits the hint reads
"Credits never expire ($X purchased all-time)"; otherwise it keeps the
static "Credit packs never expire · used after your monthly allowance".

Docs link points at getting-started.md#user-content-need-more-than-the-allowance
(the rendered heading id Gitea actually serves), not the bare anchor.
2026-11-02 00:50:45 +00:00
..