Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(site): point queued-capacity trial link to /deployment/premium - #28437

Merged
mattvollmer merged 2 commits into
mainfrom
queued-capacity-trial-link
Aug 21, 2026
Merged

fix(site): point queued-capacity trial link to /deployment/premium#28437
mattvollmer merged 2 commits into
mainfrom
queued-capacity-trial-link

Conversation

@mattvollmer

@mattvollmer mattvollmer commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Points the "Start an unlimited trial" link in the concurrency-limit queued callout (QueuedForCapacityCallout) to the internal /deployment/premium route instead of the external https://coder.com/trial URL, matching the convention used elsewhere in the app (e.g. LicensesSettingsPageView, Paywall).

Uses Link asChild + RouterLink so navigation is client-side (SPA) instead of a full page reload.

Also fixes all four links in the callout (Start an unlimited trial, both learn more links, and the [email protected] mailto) rendering at 12px (size="sm") while the surrounding message text is 14px. Dropping the explicit size="sm" lets the links fall back to Link's default size, matching AlertDescription's text-sm (14px).

Decision log
  • Confirmed /deployment/premium is an existing internal route (PREMIUM_PAGE_PATH constant in Paywall.tsx), not an external link.
  • Existing pattern for internal links elsewhere in the codebase is <Link asChild showExternalIcon={false}><RouterLink to="..." /></Link>, so this change follows that convention rather than using a plain <a href>.
  • Only the admin-on-Community-license path (canManageLicenses && !hasLicense) is affected by the route change; the member and paid-license admin messages are unchanged.
  • Verified in a local develop.sh dev instance: HMR picked up the change cleanly, TypeScript reports 0 errors, and the links now render at 14px matching the message body.

PR generated with Coder Agents.

The "Start an unlimited trial" link in the QueuedForCapacityCallout
now routes to the internal /deployment/premium page instead of the
external https://coder.com/trial URL, matching the convention used
elsewhere in the app (e.g. LicensesSettingsPageView, Paywall).
@mattvollmer
mattvollmer marked this pull request as ready for review August 21, 2026 16:32
@mattvollmer mattvollmer changed the title fix(agents): point trial link to /deployment/premium fix(site): point queued-capacity trial link to /deployment/premium Aug 21, 2026
@mattvollmer
mattvollmer enabled auto-merge (squash) August 21, 2026 16:52
@mattvollmer
mattvollmer merged commit ee87ad6 into main Aug 21, 2026
30 checks passed
@mattvollmer
mattvollmer deleted the queued-capacity-trial-link branch August 21, 2026 16:55
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants