fix(site): point queued-capacity trial link to /deployment/premium - #28437
Merged
Conversation
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
marked this pull request as ready for review
August 21, 2026 16:32
ibetitsmike
approved these changes
Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Points the "Start an unlimited trial" link in the concurrency-limit queued callout (
QueuedForCapacityCallout) to the internal/deployment/premiumroute instead of the externalhttps://coder.com/trialURL, matching the convention used elsewhere in the app (e.g.LicensesSettingsPageView,Paywall).Uses
Link asChild+RouterLinkso navigation is client-side (SPA) instead of a full page reload.Also fixes all four links in the callout (
Start an unlimited trial, bothlearn morelinks, and the[email protected]mailto) rendering at 12px (size="sm") while the surrounding message text is 14px. Dropping the explicitsize="sm"lets the links fall back toLink's default size, matchingAlertDescription'stext-sm(14px).Decision log
/deployment/premiumis an existing internal route (PREMIUM_PAGE_PATHconstant inPaywall.tsx), not an external link.<Link asChild showExternalIcon={false}><RouterLink to="..." /></Link>, so this change follows that convention rather than using a plain<a href>.canManageLicenses && !hasLicense) is affected by the route change; the member and paid-license admin messages are unchanged.develop.shdev 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.