Repository navigation
feat(site): list the standard add-ons under the offers - #626
Conversation
250fdbe to
900efa1
Compare
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
5edcbec to
61fe284
Compare
900efa1 to
3b91620
Compare
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
61fe284 to
3a06b48
Compare
3b91620 to
5e9dc14
Compare
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
3a06b48 to
3164548
Compare
The home page lists the standard add-ons (src/components/business/ addons.ts) with their fixed VAT-inclusive prices, EN and DA, under the offers: monthly ones per month, the extra language per unit, and a note that monthly add-ons need hosting and the launch discount never applies to them. scripts/proposal-offerings.test.mjs fails when the portal's catalogue (offerings.json addons) and the public list differ. The list stays behind the default-off FEATURE_ADDONS until the add-ons can be ordered; the production packager pins it false, and the activation test refuses it unpinned or released. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keeps the public add-on list equal to the portal's catalogue. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5e9dc14 to
792b5ce
Compare
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
✅MegaLinter analysis: Success
See detailed reports in MegaLinter artifacts Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining
|

Stacked on #623 (add-ons). Review only this PR's commit.
The maintainer approved the standard add-ons, and the public site lists them under the offers. Per the danish-law review, the list stays hidden until the add-ons can actually be ordered. It is behind a new default-off
FEATURE_ADDONS, which the portal's activation flips together withFEATURE_PORTAL_PRIVACY.What changes
src/components/business/addons.ts: the standard add-ons (standardAddons) with their prices, offerings and EN/DA text, plus the list's short copy. Monthly add-ons need hosting, the launch discount never applies to add-ons, Priority and Express follow the fair-use rule in the terms, and anything else gets a fixed-price quote./,/da/) renders the list after the price note, only withFEATURE_ADDONS. Monthly prices read "a month" / "om måneden", and the extra language "each" / "pr. stk.". It falls to one column on narrow screens.scripts/proposal-offerings.test.mjsfails when the portal's catalogue (offerings.jsonaddons) and the public list differ, with a control that a changed price is noticed.scripts/package-runtime.shpinsFEATURE_ADDONS=falsein the production package.scripts/vat-activation.test.mjsrefuses it unpinned or released, andAGENTS.mdnames it besideFEATURE_PORTAL_PRIVACY.Validation
node --test scripts/proposal-offerings.test.mjs: 6 pass.node --test scripts/vat-activation.test.mjs: 50 pass.npm run buildpasses. With the flag off, neither home page contains the list. WithFEATURE_ADDONS=true, both list all 11 add-ons with the catalogue's prices, e.g. "Extra language: DKK 1,500 each" / "Ekstra sprog: 1.500 kr. pr. stk.".Part of #21
🤖 Generated with Claude Code