Addressing PR comments - #47
Conversation
Use generic error message instead of exposing err.message to users, which could leak database schema details (RLS violations, column names). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use generic error message instead of exposing err.message to users. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use generic error message instead of exposing err.message to users. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The early return in the if-branch skipped the ref update, so repeated unread count increases to the same value wouldn't re-trigger the wiggle. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ed profiles Guard against null comment.user when a profile has been deleted but comments remain, preventing runtime crash in the activity comments list. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Project uses [data-theme='dark'] on <html> via ThemeProvider, not OS preference. Remove duplicate @media (prefers-color-scheme: dark) blocks from CreatePactModal and Sidebar that were redundant with existing data-theme selectors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Both 'nav img[alt="LockIn"]' and tagline text resolve to 2 elements (logo lock + text images, hero + footer taglines). Use .first() to select the first match and avoid Playwright strict mode errors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
@claude review |
|
@copilot review |
|
Claude finished @vayungodara's task in 1m 38s —— View job Code Review
SummaryAll 7 automated fixes are correct. No regressions introduced. Minor notes below on a subtle edge case and a test change worth investigating.
|
|
@claude review |
|
Claude finished @vayungodara's task in 1m 44s —— View job Code Review
Summary7 automated fixes + 3 deferred reports. All fixes are correct. No regressions. Two minor notes below on the test changes.
|
| Finding | File | Severity | Note |
|---|---|---|---|
Math.random() invite codes |
CreateGroupModal.js:12–18 |
HIGH | Fix this → |
NudgeButton setTimeout leak |
NudgeButton.js:26 |
MED | Fix this → |
| Unbounded Supabase queries | StatsPageClient.js, FocusPageClient.js, DashboardClient.js |
MED | Add .limit() caps |
No loading.js on dashboard routes |
app/dashboard/ |
LOW | Add skeleton loaders |
Verdict
Approve to merge. All 7 fixes are correct and safe. The HIGH finding (Math.random()) and MEDIUM findings are real but non-blocking — correctly left for follow-up.
No description provided.