Add policy comments functionality - #97
Conversation
Co-Authored-By: Lewis Carhart <lewis@trycomp.ai>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Add Policy Comments Functionality
Added the ability for users to create comments on policies, similar to the existing functionality for tasks. The policy overview page is at
/policies/all/[policyId]and the existing comments functionality for tasks can be found at/risk/[riskId]/tasks/[taskId]/page.tsx.Changes Made:
PolicyCommentsmodel to Prisma schema with relations to Organization, User, and OrganizationPolicyTesting:
Link to Devin run: https://app.devin.ai/sessions/1a406d32d02c48e19b79591e6c155c3b