feat: implement dynamic comparison routes and restructure VS page#1940
feat: implement dynamic comparison routes and restructure VS page#1940ComputelessComputer merged 7 commits intomainfrom
Conversation
ComputelessComputer
commented
Nov 27, 2025
- Added dynamic routing for comparison pages
- Improved competitor icon display with image and opacity
- Exported previously local components
- Added route for Apple Intel download page
- Restructured VS page sections with interactive elements
- Updated competitor comparison content with privacy-focused messaging
✅ Deploy Preview for hyprnote-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for hyprnote ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThis PR consolidates individual competitor comparison routes into a centralized dynamic route system. It adds a new "vs" content collection with MDX-driven content files for 19+ competitors, introduces a dynamic Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Router as TanStack Router
participant Loader as $slug Loader
participant Content as allVs Collection
participant Page as $slug Page Component
User->>Router: Navigate to /vs/bear
Router->>Loader: Load route params (slug: "bear")
Loader->>Content: Fetch doc by slug
alt Doc found
Content-->>Loader: Return competitor doc + MDX
Loader-->>Router: Resolve loaderData
Router->>Page: Render with doc + MDX
Page->>Page: Render HeroSection (Hyprnote vs Bear)
Page->>Page: Render HowItWorksSection
Page->>Page: Render FeaturesList with sync
Page->>Page: Render DetailsList with sync
Page-->>User: Display comparison page
else Doc not found
Content-->>Loader: null
Loader-->>Router: throw notFound()
Router-->>User: Show 404
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Areas requiring extra attention:
Possibly related PRs
Suggested reviewers
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (50)
Comment |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|