-
Notifications
You must be signed in to change notification settings - Fork 200
Advanced visibility #1602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Advanced visibility #1602
Conversation
enabling advanced mode allows the ui to show a see more button on each framework, so users can see the details of them in a natural progression kind of way.
placed the add control button to the requirements page. this way if there are missing controls they can be added manually in natural progression.
added task creation to the control creation flow
updated readme to include DB connection pooling notes, so trigger.dev dosnt overwhelm smaller db's
merge comments got left in somehow, weird. removed them.
|
@james-miview is attempting to deploy a commit to the Comp AI Team on Vercel. A member of the Team first needs to authorize it. |
🔒 Comp AI - Security Review🔴 Risk Level: HIGHNo OSV CVEs found. Scanner flags input-validation and injection risks: raw client inputs sent to server (CreateControlSheet/CreateTaskSheet) and unsanitized route/search params used in DB queries (controls/page.tsx, frameworks/page.tsx). 📦 Dependency Vulnerabilities✅ No known vulnerabilities detected in dependencies. 🛡️ Code Security AnalysisView 5 file(s) with issues🟡 apps/app/src/app/(app)/[orgId]/controls/components/CreateControlSheet.tsx (MEDIUM Risk)
Recommendations:
🔴 apps/app/src/app/(app)/[orgId]/controls/page.tsx (HIGH Risk)
Recommendations:
🟡 apps/app/src/app/(app)/[orgId]/frameworks/[frameworkInstanceId]/requirements/[requirementKey]/page.tsx (MEDIUM Risk)
Recommendations:
🔴 apps/app/src/app/(app)/[orgId]/frameworks/page.tsx (HIGH Risk)
Recommendations:
🟡 apps/app/src/app/(app)/[orgId]/tasks/components/CreateTaskSheet.tsx (MEDIUM Risk)
Recommendations:
💡 RecommendationsView 3 recommendation(s)
Powered by Comp AI - AI that handles compliance for you. Reviewed Oct 21, 2025 |
|
@MiViewIT can you please review the changes requested from the comp-ai-code-review bot? Thanks |
What does this PR do?
A few quality of life changes are included. As a do-er the flow is pretty straight forward, but as someone setting up the system its not clear how to explore and drill into the underlying frameworks and compliance policies that make them up. So it makes this software hard to see how it would be used in an organization that has already made any amount of effort to be compliant.
When the user enters advanced mode, a new "View Details" section appears on the frameworks widget. This is to help better navigate what a Framework is made up of.
There was already a "+ Add Control" button and ui, i added that button to each of the control item screens.
When creating a control, a user may want to create a task a new "+ Create New Task" button was implemented, it changes the action button to "Create $ Continue" which will complete the normal control creation flow, then open the Task creation flow and prepopulate the control that was just created.
Image Demo:
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
We piggyback on exsisting framework, no new tests needed. We could make one to ensure the handoff from control to task dosnt break.
Checklist
I developed and tested on the local branch code PR#1555, this area cherry picks to make sure that branch can be moved along, i believe these to be the standalone changes required for implementation. Please Test.
Also the "View Details" button should be moved to look more cohesive. i figured you guys would want to massage it here.