Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Make hosted trial signup feel like trial setup
rcourtmanf0d66d7d5711
diff --git a/docs/release-control/v6/internal/subsystems/cloud-paid.md b/docs/release-control/v6/internal/subsystems/cloud-paid.mdindex 84c73362eb..44bfc8283a 100644--- a/docs/release-control/v6/internal/subsystems/cloud-paid.md+++ b/docs/release-control/v6/internal/subsystems/cloud-paid.md@@ -231,6 +231,12 @@ The top-level authenticated shell is part of that same customer-facingboundary: cloud-paid trial prompts may appear in owned commercial surfaces, butthe app shell must not force a global, persistent Pro trial nudge thatoverrides the primary runtime chrome for every signed-in user.+The hosted trial handoff page is part of that same boundary as well. It may+still use a secure hosted Stripe-backed session internally, but the customer+copy must present the flow as starting a trial for the originating Pulse+instance, not as a generic purchase funnel. Recovery-contact fields such as+work email and optional company name must remain clearly secondary to the+instance-bound entitlement handoff.redefined inline in settings feature gates, Pro license panels, or trialupgrade nudges.That same disclosure copy must stay professional and customer-facing. Thediff --git a/internal/cloudcp/routes_test.go b/internal/cloudcp/routes_test.goindex 94ae9a696c..104165fa07 100644--- a/internal/cloudcp/routes_test.go+++ b/internal/cloudcp/routes_test.go@@ -124,7 +124,7 @@ func TestRegisterRoutes_TrialSignupRoutes(t *testing.T) {if pageRec.Code != http.StatusOK {t.Fatalf("GET /start-pro-trial status=%d, want %d", pageRec.Code, http.StatusOK)}- if !strings.Contains(pageRec.Body.String(), "Continue to secure checkout") {+ if !strings.Contains(pageRec.Body.String(), "Continue To Secure Trial Setup") {t.Fatalf("expected trial signup page body")}diff --git a/internal/cloudcp/trial_signup_handlers.go b/internal/cloudcp/trial_signup_handlers.goindex 6a53b585fd..66402ddce8 100644--- a/internal/cloudcp/trial_signup_handlers.go+++ b/internal/cloudcp/trial_signup_handlers.go@@ -167,8 +167,8 @@ var trialSignupPageTemplate = template.Must(template.New("trial-signup-page").Pa<div class="card"><div class="hero"><div class="eyebrow">Pulse Pro Trial</div>- <h1>Start a 14-day Pro trial for {{.ReturnTarget}}</h1>- <p>Checkout creates the trial entitlement for this Pulse instance directly. I only keep your work email as a fallback record if recovery or support is ever needed.</p>+ <h1>Start your 14-day Pro trial for {{.ReturnTarget}}</h1>+ <p>Pulse uses a secure hosted handoff to create the trial entitlement for this specific instance and send you straight back here. I only keep your work email as a recovery contact if this browser session is lost.</p></div><div class="content"><div class="form-col">@@ -178,7 +178,7 @@ var trialSignupPageTemplate = template.Must(template.New("trial-signup-page").Pa{{if .Verified}}<h2>Backup link confirmed</h2>- <p>This fallback link is valid. Continue to secure checkout to register the Pro trial for this Pulse instance.</p>+ <p>This recovery link is valid. Continue securely to finish starting the Pro trial for this Pulse instance.</p><div class="summary"><strong>Work email</strong>@@ -195,12 +195,12 @@ var trialSignupPageTemplate = template.Must(template.New("trial-signup-page").Pa<form method="POST" action="/api/trial-signup/checkout"><input type="hidden" name="verified_token" value="{{.VerifiedToken}}">- <button class="cta" type="submit">Continue To Secure Checkout</button>+ <button class="cta" type="submit">Continue To Secure Trial Setup</button></form>- <p class="fine">This backup link is optional. Checkout remains the authoritative handoff for this entitlement.</p>+ <p class="fine">This recovery link is optional. The secure trial session remains the authoritative entitlement handoff.</p>{{else}}- <h2>Continue to secure checkout</h2>- <p>Start checkout from this Pulse-initiated session. Email is attached as backup contact information only.</p>+ <h2>Continue securely</h2>+ <p>Start the secure trial handoff from this Pulse-initiated session. Email is attached as a recovery contact only.</p><form method="POST" action="/api/trial-signup/checkout"><input type="hidden" name="org_id" value="{{.OrgID}}">@@ -209,7 +209,7 @@ var trialSignupPageTemplate = template.Must(template.New("trial-signup-page").Pa<div class="row"><div>- <label for="name">Full Name</label>+ <label for="name">Name</label><input id="name" name="name" type="text" value="{{.Name}}" autocomplete="name" required></div><div>@@ -218,12 +218,12 @@ var trialSignupPageTemplate = template.Must(template.New("trial-signup-page").Pa</div></div>- <label for="company">Company</label>+ <label for="company">Company (optional)</label><input id="company" name="company" type="text" value="{{.Company}}" autocomplete="organization">- <button class="cta" type="submit">Continue To Secure Checkout</button>+ <button class="cta" type="submit">Continue To Secure Trial Setup</button></form>- <p class="fine">Email is backup only. The checkout session and the signed return to Pulse carry the entitlement.</p>+ <p class="fine">Email is used as a recovery contact only. The secure session and signed return to Pulse carry the entitlement.</p>{{end}}</div>@@ -236,10 +236,10 @@ var trialSignupPageTemplate = template.Must(template.New("trial-signup-page").Pa<strong>Workspace</strong><div>{{.OrgID}}</div></div>- <p class="mini">After checkout completes, Pulse sends you back to the exact instance that opened this flow.</p>+ <p class="mini">After secure setup completes, Pulse sends you back to the exact instance that opened this flow.</p><ol class="steps">- <li>Create a secure checkout session for this Pulse instance.</li>- <li>Complete secure setup for the 14-day Pro trial.</li>+ <li>Open a secure trial session for this Pulse instance.</li>+ <li>Confirm the 14-day Pro trial handoff.</li><li>Return to Pulse and activate the entitlement immediately.</li></ol></div>@@ -356,7 +356,7 @@ var trialSignupSuccessTemplate = template.Must(template.New("trial-signup-succes<div class="card"><div class="eyebrow">Pulse Pro Trial</div><h1>Trial entitlement ready</h1>- <p>Checkout completed successfully. This session has prepared the signed activation handoff for {{.ReturnTarget}}.</p>+ <p>Secure trial setup completed successfully. This session has prepared the signed activation handoff for {{.ReturnTarget}}.</p><div class="status">Pulse can activate the Pro trial immediately when you return to the originating instance.@@ -374,7 +374,7 @@ var trialSignupSuccessTemplate = template.Must(template.New("trial-signup-succes</div><a class="cta" href="{{.ActivateURL}}">Return To Pulse</a>- <p class="fine">Email is only a fallback record. The checkout session and this signed return are the authoritative entitlement handoff.</p>+ <p class="fine">Email is only a recovery contact. The secure session and this signed return are the authoritative entitlement handoff.</p></div></div></body>diff --git a/internal/cloudcp/trial_signup_handlers_test.go b/internal/cloudcp/trial_signup_handlers_test.goindex e8ed253c3d..28b11d38a4 100644--- a/internal/cloudcp/trial_signup_handlers_test.go+++ b/internal/cloudcp/trial_signup_handlers_test.go@@ -29,7 +29,7 @@ func TestTrialSignupHandleStartProTrialRendersCheckoutForm(t *testing.T) {t.Fatalf("status=%d, want %d", rec.Code, http.StatusOK)}body := rec.Body.String()- if !strings.Contains(body, "Continue to secure checkout") {+ if !strings.Contains(body, "Continue To Secure Trial Setup") {t.Fatalf("expected checkout CTA in response body")}if !strings.Contains(body, "pulse.example.com:7655") {@@ -249,7 +249,7 @@ func TestTrialSignupHandleVerifyEmailRendersVerifiedState(t *testing.T) {t.Fatalf("status=%d, want %d body=%q", rec.Code, http.StatusOK, rec.Body.String())}body := rec.Body.String()- if !strings.Contains(body, "Backup link confirmed") || !strings.Contains(body, "Continue To Secure Checkout") {+ if !strings.Contains(body, "Backup link confirmed") || !strings.Contains(body, "Continue To Secure Trial Setup") {t.Fatalf("expected verified state in response body")}}