-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
area:frontendFrontend (React/TypeScript)Frontend (React/TypeScript)billing-removalRemoval of upstream SaaS billing codeRemoval of upstream SaaS billing codecomponent:graphqlpriority:mediumtech-debt
Description
Parent: #25 — Remove all SaaS billing code
Do this LAST — after all backend billing fields are removed
What to Remove
Billing Pages
src/frontend/src/pages/Billing/— entire directory (utils, components, pages)src/frontend/src/pages/Billing/utils/utils.ts—getTrialEndDateMessage()and related
Trial UI
src/frontend/src/components/Header/Header.tsx:831— trial end date banner
Generated GraphQL Types
- After backend schema changes, run
yarn codegento regenerate - Remove any frontend code referencing deleted billing GraphQL fields
Route Configuration
- Remove billing page routes from router config
Strategy
This should be done AFTER the backend billing fields are removed and GraphQL schemas regenerated. The frontend changes will largely be guided by TypeScript errors after codegen.
Test Plan
- Wait for backend billing removal PRs to merge
- Run
yarn codegento regenerate types - Fix all TypeScript errors (remove references to deleted fields)
- Remove billing pages and components
- Remove billing routes
-
yarn types:checkpasses -
yarn buildpasses -
yarn testpasses - Manual smoke test: dashboard loads without billing pages
🤖 Generated with Claude Code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:frontendFrontend (React/TypeScript)Frontend (React/TypeScript)billing-removalRemoval of upstream SaaS billing codeRemoval of upstream SaaS billing codecomponent:graphqlpriority:mediumtech-debt