feat(web): establish feature-based architecture and component folder structure#39
Conversation
Create directory skeleton for components/, features/, server/, types/, and app route groups (auth)/(dashboard). Update AGENTS.md to document the new layout so subsequent features have a clear home. Closes #34
|
Warning Review limit reached
More reviews will be available in 52 minutes and 55 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses rolling per-developer review limits. Reviews become available again as older review attempts age out of the rolling limit window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (10)
📝 WalkthroughWalkthroughThe "Project structure" section in ChangesProject Structure Documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@web/AGENTS.md`:
- Around line 27-30: The project structure documentation in the app/ section of
AGENTS.md is incomplete and does not reflect the route groups created by this
PR. Update the structure tree to include the newly created route groups
app/(auth)/ and app/(dashboard)/ along with their respective key files and
layouts. Ensure the documentation hierarchy clearly shows these route groups as
subdirectories under app/ so that anyone reading the document understands the
full scaffold structure established by this PR.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: b78e0be2-2cf8-4cf5-a55f-d2079ad5f1b3
📒 Files selected for processing (10)
web/AGENTS.mdweb/app/(auth)/.gitkeepweb/app/(dashboard)/.gitkeepweb/components/common/.gitkeepweb/components/home/.gitkeepweb/components/layout/.gitkeepweb/components/ui/.gitkeepweb/features/.gitkeepweb/server/.gitkeepweb/types/.gitkeep
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
components/layout/,common/,home/,ui/,features/,server/,types/) with.gitkeepplaceholdersapp/(auth)/andapp/(dashboard)/web/AGENTS.mdto document the new feature-based layoutTest plan
pnpm lint— 0 errors (1 pre-existing warning in__mocks__)pnpm build— passes cleanlyapp/source files untouchedCloses #34
Summary by CodeRabbit