fix: Check for enabled rules in Reply Zero page#1184
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughTwo reply-zero pages now filter Prisma rule queries to only consider enabled rules by adding Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (15)**/*.{ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/data-fetching.mdc)
Files:
apps/web/app/(app)/**/*.{ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/page-structure.mdc)
Files:
**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (.cursor/rules/prisma-enum-imports.mdc)
Files:
apps/web/**/*.{ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/project-structure.mdc)
Files:
**/*.{tsx,ts}📄 CodeRabbit inference engine (.cursor/rules/ui-components.mdc)
Files:
**/*.{tsx,ts,css}📄 CodeRabbit inference engine (.cursor/rules/ui-components.mdc)
Files:
**/*.tsx📄 CodeRabbit inference engine (.cursor/rules/ui-components.mdc)
Files:
**/*.{js,jsx,ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/ultracite.mdc)
Files:
**/*.{jsx,tsx}📄 CodeRabbit inference engine (.cursor/rules/ultracite.mdc)
Files:
!(pages/_document).{jsx,tsx}📄 CodeRabbit inference engine (.cursor/rules/ultracite.mdc)
Files:
**/*.{js,ts,jsx,tsx}📄 CodeRabbit inference engine (.cursor/rules/utilities.mdc)
Files:
apps/web/**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (apps/web/CLAUDE.md)
Files:
apps/web/app/**/*.{ts,tsx}📄 CodeRabbit inference engine (apps/web/CLAUDE.md)
Files:
apps/web/**/*.{tsx,jsx}📄 CodeRabbit inference engine (apps/web/CLAUDE.md)
Files:
apps/web/**/*.{ts,tsx,js,jsx,json,css}📄 CodeRabbit inference engine (apps/web/CLAUDE.md)
Files:
🧠 Learnings (12)📓 Common learnings📚 Learning: 2025-12-31T23:49:09.597ZApplied to files:
📚 Learning: 2025-12-17T02:38:41.499ZApplied to files:
📚 Learning: 2025-11-25T14:39:27.909ZApplied to files:
📚 Learning: 2025-11-25T14:39:08.150ZApplied to files:
📚 Learning: 2025-11-25T14:39:27.909ZApplied to files:
📚 Learning: 2025-11-25T14:39:23.326ZApplied to files:
📚 Learning: 2025-11-25T14:39:23.326ZApplied to files:
📚 Learning: 2025-11-25T14:39:04.892ZApplied to files:
📚 Learning: 2025-11-25T14:39:27.909ZApplied to files:
📚 Learning: 2025-07-08T13:14:07.449ZApplied to files:
📚 Learning: 2025-11-25T14:39:23.326ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (2)
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 |
Gate Reply Zero onboarding and page flows on enabled rules by adding
|
User description
Reply Zero page now checks for enabled rules instead of just rule existence, redirecting users to onboarding when rules are disabled.
Generated description
Below is a concise technical summary of the changes proposed in this PR:
Update the
Reply Zerofeature to filter rules by theirenabledstatus, ensuring only active rules are considered for display and processing. Redirect users with disabled rules to the onboarding flow, prompting them to re-enable necessary rules.Latest Contributors(1)
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.