Back to Reports
RPT-010Verifiedmediumlow riskbug
Like button sends duplicate requests on double click
Reported by Denisa · Apr 5, 2026, 11:00 AM · Planet Romance
Tester Report
Fast double clicking the like button on a profile sends two like requests. Seen in network tab. Creates duplicate like entries.
Details
- Page / Module
- Profile Detail
- Issue Type
- bug
- Priority
- medium
- Risk Level
- low
- Status
- Verified
AI Analysis
Confidence: 93%Summary
Double-click race condition on like button. No debounce or optimistic locking.
Category
Race Condition
Severity
medium
Suspected Area
LikeButton component onClick handler
Likely Cause
No loading state or debounce on click handler.
Suggested Fix Strategy
1. Add isPending state to disable button 2. Optimistic UI update 3. Server-side upsert instead of insert
Validation Checklist
- Single like per click
- Button disabled during request
- Optimistic UI works
- Unlike still works
Developer Prompt
Add debounce + isPending to LikeButton. Server side: upsert.
Internal Notes
Fixed with optimistic UI + debounce. Verified by Denisa.
Activity
Denisa created
Apr 5, 2026, 11:00 AM
System ai analyzed
Apr 5, 2026, 11:05 AM
Richard status changed
fixed
Apr 6, 2026, 12:00 PM
Denisa status changed
verified
Apr 7, 2026, 04:00 PM