fix: product handling#124
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (43)
📝 WalkthroughWalkthroughThis PR replaces static game/VPS/dedicated plan constants and options with a dynamic category-hub system backed by Paymenter categories. Pages fetch hubs, resolve per-category display config, and load plans per child category. Navigation, layout, and Home services consume hub data; several stats display "10+" instead of "3+"; unrelated override-store/service files are removed. ChangesDynamic catalog hub feature
Estimated code review effort: 4 (Complex) | ~75 minutes Data Center Stats and Location Updates
Sequence Diagram(s)sequenceDiagram
participant User
participant GamesPage
participant getCategoryHub
participant resolveGameDisplayConfig
participant getGamePlans
User->>GamesPage: request /games
GamesPage->>getCategoryHub: getCategoryHub(GAME_HUB_SLUGS)
getCategoryHub-->>GamesPage: hub with children
loop each child category
GamesPage->>resolveGameDisplayConfig: resolve display config
GamesPage->>getGamePlans: fetch plans for slug
end
GamesPage-->>User: render games grid with startingPriceGBP
Estimated code review effort: 4 (Complex) | ~60 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
New Features
Bug Fixes