Repository navigation
Plan page smaller and shorter; collector fixes from the 0.3.7 report (migration 0021) - #231
Merged
Merged
Conversation
…olded The owner: "a tad bit zoomed in and there's too much written in the plan details". On an app's plan page and a new account's trial screen, Pro's card is narrower (440px) with smaller type and button, shows the name, the price and the first 5 lines of the plan (plans.ts pitchLines: without "Everything in Free" and the trial's own line), and folds the rest under "N more" (a details element, no script). The summary that repeated the price is gone. A just-added app's page has one line under its heading instead of a status line and a notice box, and the month's live fixes show only once there are some (or the app observes only). The whole page now fits a 1024x768 screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 5 keeps what it covered From the 0.3.7 test report (the collector side; the CLI side is on its own branch): - Seats: a paid per-seat plan whose seats are not known has no seat limit (seatsOf). A subscription bought per app under version 4 included the whole team, and a row the webhook has not written seats to (after a rollback) no longer cuts a team to one seat. Of two accesses to the same plan, the one with more seats wins. - Apps: an app that pays for itself (version 4) is always covered and not counted in Pro's 3. An account subscription paying when migration 0020 is applied keeps covering as many apps as the account had (accounts.apps_kept), until it ends or another replaces it (the webhook clears it). A paid Pro under GenClass's grant of Pro keeps the grant's room (every app, no seat limit). A locked Free app's page says Free covers one app, the oldest, since 13 November 2026. - A team's member works under the team's plan in the command (cli.ts workingAccess): suggestions and ask limits, the plan it names (overview plan.via "team", account team_plan), and no offer of a second Pro. cli.via says why the command works: "plan", "team" or "open" (nothing sold here). - Migration 0020 also counts every app a paid plan or a grant covered then as chosen, so it opens its dashboard as before instead of "Choose a plan". - A plan chosen from the genclass command goes on to the app's dashboard, not the website's setup. - The command's offer drops "3 days free to start" once the trial was used. - Pro with one seat: "add a seat for each member in Manage billing", never "the plan is for one person". - The approval page says "Your terminal is signed in", never "go back to your terminal"; a sign-up from a command-line sign-in has no side door to a dashboard without an account. - Removed the never-sold "apps per unit" code; a locked Pro app's header says Pro; README and plans.json notes are on version 5. Apply migration 0020 before deploying this worker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… applied to production) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 13, 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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The owner said the plan page felt "a tad bit zoomed in" and had "too much written in the plan details". This PR fixes both on an app's plan page (
/account/billing?project=…) and on a new account's trial screen (/accountwith no app).Card
<details>with no script.plans.tspitchLines(), so both screens show the same list.billing/plans.jsonis unchanged, so the pricing page and Stripe are not affected.Above the card
The whole plan page now fits on a 1024x768 screen. At phone width (375px) both screens have no horizontal scroll.
Checks
tscontelemetry-worker/src/index.tsis clean.Collector fixes from the 0.3.7 test report
The CLI side of the report is on its own branch,
fix/cli-037-report. This PR has the collector side.Apply migration 0021 before deploying (
0021_plans_v5_kept.sql; main already has0020_reports.sqlfrom #232):Teams and seats
Apps that would have locked at the deploy
accounts.apps_kept). The webhook clears that count when the subscription ends or another one replaces it.Team members in the command
cli.via(plan,teamoropen),plan.via: "team"in the overview, andteam_planin the account answer.Choose a plan
Wording
Cleanup
plans.jsonnow describe version 5.Left for the owner
plan=teamin the checkout link.Checks: collector 849 tests pass, the genclass command's 188 tests pass against this collector, and the strict
tscis clean. Nothing is deployed.🤖 Generated with Claude Code