fix(web): restore the seats-follow-membership copy the dashboard port dropped
web/tests/dashboard-billing-screen.test.tsx has been red on main since the
dashboard SPA port, so the required ci-status fails on every web pull
request. #16094 (the migration fix) and #16250 are both blocked on nothing
else. Part of #15488.
What broke
The Team subscription quantity follows the member count: the reconciler
updates Stripe on the next membership fact, and joining is never blocked.
docs/team-settings-and-invites.md records that rule. 06f4a7c1f69 settled the
copy to match: it reworded the over-seat line in all 20 locales, removed the
add-seats link beside it, and dropped the members-page seat nudge.
The SPA port rebuilt the billing panel from the pre-06f4a7c version at a new
path (web/app/[locale]/dashboard/billing/ to
web/dashboard-app/screens/billing/), so Git saw a new file rather than a
conflict and the link came back. The locale files went back to the soft-seat
wording at the same time.
So an admin over their seat count is told to "add seats to cover everyone" and
handed a portal link, for a quantity they cannot usefully change. The test
that asserts the link is absent catches it, and has been failing since.
The fix
teamPanel.overSeatandnew.upgradeLatergo back to 06f4a7c1f69's
wording in all 20 locales.- The add-seats link is dropped from the panel, and
teamPanel.addSeatswith
it. members.seatNudgeandmembers.seatNudgeActiongo too: the nudge they
belonged to is gone from the members page and nothing reads them.- A "seats are soft" comment the port left hanging over an unrelated type in
team-members.tsxis removed.
Two commits: the test first, widened to pin both halves of the regression, and
then the fix.
Checks
web/tests/dashboard-billing-screen.test.tsx: 29 pass, 0 fail (1 fail
before the fix commit)../scripts/run-tests.sh --shard 1/4, the shard CI failed on: 1151 pass, 220
skip, 0 fail.bunx tsc --noEmit -p .: clean.- Guard sweep: 241 blocks, failures only from missing CI environment
variables and uninitialized submodules in this worktree.
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.
Summary by cubic
Restores the seats-follow-membership billing copy the dashboard SPA port reverted, so the over-seat panel no longer offers an add-seats link for a quantity admins can't change. Also fixes the billing screen test that has been red on main since the port.
Changes
- Rewords the over-seat and upgrade lines to the seats-follow-member-count wording in all 20 locales and removes the unused
seatNudge/seatNudgeActionstrings. - Drops the add-seats link from the billing panel and the stale "seats are soft" comment.
- Widens the billing screen and new-team flow tests to pin the new copy and the old wording's absence.
Summary by CodeRabbit
- Updates
- Team billing now explains that paid seats track team membership and subscription totals adjust automatically as members join or leave. Team setup also clarifies that each member is billed.
- Removed prompts to add or manage seats, along with messaging that implied invitations could exceed the paid seat count.
- Updated billing and team setup messages across supported languages.