Skip to content

fix(web): restore Settings → Community tab (self-host) + get-key form + redeem clarity#86

Merged
nbkdoesntknowcoding merged 2 commits into
mainfrom
fix/restore-community-tab-selfhost
Jul 9, 2026
Merged

fix(web): restore Settings → Community tab (self-host) + get-key form + redeem clarity#86
nbkdoesntknowcoding merged 2 commits into
mainfrom
fix/restore-community-tab-selfhost

Conversation

@nbkdoesntknowcoding

@nbkdoesntknowcoding nbkdoesntknowcoding commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Recovers the Settings → Community tab that #85 removed — public/self-host only — with a working get-a-key email form, plus two clarity fixes around the community-license flow.

Why

Removing the tab was right for multi-tenant cloud (users can't set instance env), but wrong for self-host: there, the operator is the user, and this tab is their only in-app path to enable publishing. (Cloud/private repo intentionally keeps it removed — deliberate open-core divergence.)

What

  • Restores the nav entry, the settings/community.astro page, and the CommunitySettings component.
  • Get-a-key email form on the Community tab: posts to the hosted licensing service (PUBLIC_COMMUNITY_LICENSE_URL), which signs + emails a free community key the operator sets as COMMUNITY_HUB_KEY. Shown only when publishing isn't configured.
  • Redeem clarity (general): the RedeemLicense placeholder implied only the MNEMA-XXXX admin-code format, but community keys are long signed strings (the redeem route accepts both). Neutral placeholder + copy naming both.
  • Pointer: the Community tab now clarifies that unlocking history/export is a separate per-workspace step done under Settings → Billing (vs the instance publish key here).

Boundary

Publish key = instance env (here). License redemption = per-workspace (Settings → Billing). Two uses of the same signed key — made legible.

Signed off for the DCO.

nbkdoesntknowcoding and others added 2 commits July 9, 2026 21:53
…email form

Reverts the tab removal (#85) for the PUBLIC/self-host build: on self-host the
operator IS the user, and this tab is their only in-app path to enable
publishing. Restores the nav entry, the page, and the CommunitySettings
component, and adds a 'Get a free community key' email form — it posts to the
hosted licensing service (PUBLIC_COMMUNITY_LICENSE_URL) which signs + emails a
free community key the operator then sets as COMMUNITY_HUB_KEY.

Browse/import needs no key and already works out of the box; this is only the
publish-setup path. Cloud (private repo) intentionally does NOT carry this tab.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: nbkdoesntknowcoding <nischaybk@theboringpeople.in>
… for license redemption

- RedeemLicense: the placeholder implied only the MNEMA-XXXX admin-code format,
  but community-license keys are long signed strings (the route accepts both).
  Neutral placeholder + copy that names both.
- CommunitySettings: add a pointer clarifying that unlocking history/export is a
  separate per-workspace step done under Settings → Billing (vs the instance
  publish key here).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: nbkdoesntknowcoding <nischaybk@theboringpeople.in>
@nbkdoesntknowcoding nbkdoesntknowcoding changed the title fix(web): restore Settings → Community tab (self-host) + add get-key email form fix(web): restore Settings → Community tab (self-host) + get-key form + redeem clarity Jul 9, 2026
@nbkdoesntknowcoding nbkdoesntknowcoding merged commit 7fef969 into main Jul 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant