Repository navigation
chore(web): remove the Primitives page and unreachable animation, content, and onboarding code - #196
Conversation
…ng code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 7 minutes. View limit details
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
Preview deployed!
This is a Cloudflare Workers preview version of this PR's build. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolve 7 delete/modify conflicts by keeping the branch's removals: main only touched comments/styles in CSS modules this PR deletes as dead code (verified no remaining imports of the deleted modules).
…-code # Conflicts: # web/app/auth/relayauth.module.css # web/app/flows/onboarding/onboarding-frame.module.css # web/app/flows/onboarding/onboarding.module.css # web/app/message/relaycast.module.css # web/app/primitives/primitives.module.css # web/app/schedule/relaycron.module.css # web/components/node-relay.module.css
… chore/remove-dead-web-code
web/contains only code reachable from a route. The out-of-date/primitivespage is gone, and its old feature URLs redirect permanently fromnext.config.mjsto the page that covers each topic now.Redirects
/primitives//message,/relaycast,/relaycast/*/docs/messaging/auth,/relayauth,/relayauth/*/docs/authentication/schedule/docs/relayfile,/relayfile/*/file/primitivesis not in the sitemap or theprimitivesanalytics page group. Archived v7.1.1 docs that link to/primitives#…,/auth, or/scheduleresolve through these redirects.Removed
app/primitives/(page,PrimitivesContent,primitives.module.css).app/{message,schedule,auth}/page.tsxand their content components (RelaycastContent,ScheduleContent,RelayauthContent) and CSS modules. Also removed:app/{relaycast,relayauth,relayfile}/page.tsx, one-line re-exports that thenext.configredirects shadowed.app/file/RelayfileAnimation.tsx,app/auth/RelayauthAnimation.tsx,components/RelayAnimation.tsx,components/NodeRelayAnimation.tsx,components/MessageRelayAnimation.tsx, andcomponents/node-relay.module.css, which only these files used.app/flows/onboarding/: the layout,FactoryBuilder,AgentStepEditor,SourcePicker,WorkflowPicker,RunOptions,OnboardingFrame,useFlowAnalytics, and bothonboarding*.module.cssfiles. Onboarding is handled by Cloud: Route Flows sign-in into Cloud onboarding #108 deliberately removed itspage.tsxfiles, and the Flows landing CTAs link toflowsGoogleAuthHref./flows/onboardingalready returned 404.Kept
lib/flow-*modules:software-garden-artifact,flow-preview,FlowLandingAnalytics, and tests still import them.web/indexnow-state.json: the deploy workflow regenerates it from the sitemap.Verification
npx tsc --noEmitpasses.vitest runpasses: 49 files, 613 tests.npm --workspace web run buildpasses./*subpaths./scheduleends at/docs/introduction(200)./,/docs/messaging,/docs/authentication, and/filereturn 200.sitemap.xmlhas noprimitivesentry.Merge order
Open PRs #191, #194, and #195 edit files this PR deletes:
primitives.module.css,relayauth.module.css,relaycast.module.css,relaycron.module.css,onboarding.module.css,onboarding-frame.module.cssprimitives.module.css,relayauth.module.css,relaycast.module.css,relaycron.module.cssnode-relay.module.cssWhichever merges second hits a modify/delete conflict on those files. Resolve it by keeping the deletion.
🤖 Generated with Claude Code
Note
Low Risk
Mostly deletes unused or already-404 UI; URL continuity depends on configured redirects rather than runtime auth or data paths.
Overview
This PR removes dead marketing and onboarding UI from
web/now that routes are consolidated elsewhere. The/primitivespage and itsPrimitivesContentare deleted, along with standalone/auth,/message, and/schedulepages (andrelayauth/relaycast/relayfilere-exports) that previously redirected into primitives or docs.It also drops the Relayauth/Relayfile hero animations and full Relayauth landing (
RelayauthContent,relayauth.module.css), plus the entireapp/flows/onboarding/wizard (FactoryBuilder, pickers,RunOptions, analytics hook, and styles)—onboarding is handled in Cloud and those routes were already unreachable withoutpage.tsx./primitivesis removed fromsitemap.ts, andrelayfile-meta.tscomments are updated to reflect/relayfile→/file. Permanent redirects to/, docs, and/file(pernext.config) replace the removed pages;lib/flow-*stays for artifacts, preview, and tests.Reviewed by Cursor Bugbot for commit 480767b. Bugbot is set up for automated code reviews on this repo. Configure here.