Skip to content

Licence page: no key entry while a licence is active - #1319

Merged
enaboapps merged 2 commits into
mainfrom
licence-page-tidy
Nov 3, 2026
Merged

enaboapps merged 2 commits into
mainfrom
licence-page-tidy

Conversation

@enaboapps

Copy link
Copy Markdown
Contributor

Closes #1318

With a licence active, the Licence page kept showing a Use a different key section: the key field, Activate key, Paste and activate and Import licence file. The page now shows the activation controls only while no licence is active. A licensed computer keeps its status line, Check licence now, Move licence here when offered, and Remove licence from this computer; the key controls return once the licence is removed. The hidden file input is also left out while licensed, so nothing can activate over a live licence.

Docs: site/src/content/docs/licence.md says the key field comes back after removal, so to use a different key you remove the current one first.

Validation

  • npm run lint, npm test (vitest 356), npm run build, site build: pass.
  • Tests: new offers no key entry while a licence is active, only removal; the rejected-key test and the paste and import tests now run on an expired trial, where the controls exist.
  • No Rust changes. Not driven in the dev build: the dev build has no licensing configured, so its Licence page shows "not enabled"; the licensed and unlicensed renderings are covered by the component tests.

🤖 Generated with Claude Code

Once a licence is active the page shows its status, Check licence now,
Move licence here when offered, and Remove licence from this computer.
The key field, Paste and activate and Import licence file come back once
the licence is removed. Docs say so.

Closes #1318

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
site Ready Ready Preview Nov 3, 2026 4:28pm UTC

Request Review

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@enaboapps
enaboapps marked this pull request as ready for review November 3, 2026 16:28
@enaboapps
enaboapps merged commit 9696583 into main Nov 3, 2026
10 checks passed
@enaboapps
enaboapps deleted the licence-page-tidy branch November 3, 2026 17:58
@enaboapps enaboapps mentioned this pull request Nov 3, 2026

This branch was successfully deployed

1 active deployment
Preview — 0351f53d Deployed Nov 3, 2026 by vercel[bot]
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.

Licence page: no key entry while a licence is active

2 participants