CS-218 [Improvement] - Ability to log findings within the People section#2487
CS-218 [Improvement] - Ability to log findings within the People section#2487github-actions[bot] wants to merge 46 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryMedium Risk Overview Extends the findings API to support Updates notification generation to handle scope-based findings (People deep link + scope titles) and changes recipient resolution so scope findings notify org owners/admins; adds a new People "Findings" tab UI backed by Reviewed by Cursor Bugbot for commit 5d5a167. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
apps/app/src/app/(app)/[orgId]/people/all/components/PeopleFindingsList.tsx
Show resolved
Hide resolved
|
@chasprowebdev In PeoplePageTabs, tab state comes from Tabs defaultValue based on searchParams. defaultValue is only used on first mount, so if URL changes client-side to /people?tab=findings, the active tab may stay on the previous tab. Result: user opens a Findings deep link but still sees People tab. Can we switch this to controlled tabs (value + onValueChange) so UI always follows the URL? |
|
@cubic-dev-ai review this pull request |
@Marfuen I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
1 issue found across 22 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="apps/api/src/findings/finding-audit.service.ts">
<violation number="1" location="apps/api/src/findings/finding-audit.service.ts:24">
P2: `logFindingDeleted` was not updated to include the new `findingScope` field. If the scope is important enough to audit on creation, it should also be captured on deletion for a complete audit trail.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.
|
@cubic-dev-ai review this |
@tofikwest I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
1 issue found across 22 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="apps/app/src/app/(app)/[orgId]/people/all/components/PeopleFindingsList.tsx">
<violation number="1" location="apps/app/src/app/(app)/[orgId]/people/all/components/PeopleFindingsList.tsx:181">
P2: Grammar bug: "requires action" should be "require action" when the count is plural (e.g., "3 requires action" → "3 require action").</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.
apps/app/src/app/(app)/[orgId]/people/all/components/PeopleFindingsList.tsx
Outdated
Show resolved
Hide resolved
|
@cubic-dev-ai review this |
@chasprowebdev I have started the AI code review. It will take a few minutes to complete. |
This is an automated pull request to merge chas/people-findings into dev.
It was created by the [Auto Pull Request] action.