Lane 9 page 4d: Content packs, Content notices, Plans; the legacy Admin deleted (#735) #886
Loading…
Reference in a new issue
No description provided.
Delete branch "build/lane9-4d-pages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #735 (lane 9). Stacked on #881 (4c). This PR completes the Admin rebuild. Net size: +2,515 / −5,254.
What it builds
/admin/packs).CampaignSettingsPacks.jsxintopages/contentPacksShared.jsx, and both pages now use them./admin/notices), built on the existing server. It has:/admin/plans). Hosted only (A7), with the four prices on the existing plan-pricing route./api/me/planin both the index and Contents..kvstacks at narrow widths (Doc.css), and the local workarounds inAdminAi/AdminUsageare gone.Deleted
pages/Admin.jsx(2,622 lines) andAdmin.test.jsx.components/AdminAiUsage.jsxandAdminHardwareProfile.jsx, with their tests. 4c ported them.LegacyCard.components/ContentPacks.jsxstays until/managegoes.Coverage moved into new test files:
AdminDoc(IS-377's stop),AdminUsers(the list, delete-by-typed-name, the 409 dialog, admin toggles),AdminIndex(setup leftovers, the hosted-only gate),AdminPacks,AdminNotices,AdminPlansanduseContents. There are also additions toAdminAiandAdminBackup.Known gap: the legacy suite's retention-tab parity (there's no
AdminRecording.test.jsxyet) and some AI-panel assertions weren't ported. Those tested old markup. The follow-up is filed on #879.Bugs fixed that this PR's render check found in 4a's code
confirmLabel/onConfirmwithouttier="confirm", andModal's default tier ignores both.tier="confirm".nowrapcolumns, so it scrolls at 390 px rather than squeezing (D110).Checks
coverage/lane7.py: unclassified: none./admin,/admin/backup, the?tab=redirect, IS-377). 4d doesn't change any of them.🤖 Generated with Claude Code