Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Billing accounts, terms and enterprises; g1t is no longer free | 1 | import { type RouteConfig, index, route } from "@react-router/dev/routes"; |
| 2 | ||
| A menu shaped by how g1t works, Soon pages for every promise, and sudo for sales | 3 | import { soonItems } from "./lib/nav.ts"; |
| 4 | ||
| Billing accounts, terms and enterprises; g1t is no longer free | 5 | export default [ |
| A menu shaped by how g1t works, Soon pages for every promise, and sudo for sales | 6 | index("routes/overview.tsx"), |
| 7 | route("workspaces", "routes/workspaces.tsx"), | |
| Billing on Stripe's pages, month-end charges, warnings; sudo by workspace | 8 | route("workspaces/:slug", "routes/workspace.tsx"), |
| 9 | route("enterprises", "routes/enterprises.tsx"), | |
| Billing accounts, terms and enterprises; g1t is no longer free | 10 | route("enterprises/new", "routes/new-enterprise.tsx"), |
| Billing on Stripe's pages, month-end charges, warnings; sudo by workspace | 11 | route("enterprises/:id", "routes/enterprise.tsx"), |
| A menu shaped by how g1t works, Soon pages for every promise, and sudo for sales | 12 | route("reach-out", "routes/reach-out.tsx"), |
| sudo: Invoices, Audit log, and follow-ups due | 13 | route("invoices", "routes/invoices.tsx"), |
| Stripe webhooks, enterprise invoices, and sudo for both | 14 | route("stripe", "routes/stripe.tsx"), |
| sudo: Invoices, Audit log, and follow-ups due | 15 | route("audit", "routes/audit.tsx"), |
| A menu shaped by how g1t works, Soon pages for every promise, and sudo for sales | 16 | // What sudo will have: one placeholder page each, from lib/nav.ts. |
| 17 | ...soonItems().map((item) => route(item.to.slice(1), "routes/soon.tsx", { id: `soon${item.to.replace(/\//g, "-")}` })), | |
| Billing on Stripe's pages, month-end charges, warnings; sudo by workspace | 18 | // Before sudo was organised around workspaces, everything was an account. |
| 19 | route("accounts/*", "routes/legacy-accounts.tsx"), | |
| Billing accounts, terms and enterprises; g1t is no longer free | 20 | ] satisfies RouteConfig; |