feat: Add optimistic UI for video comments

- Implement optimistic updates for comment creation, deletion, resolution, tag, and content changes
- Enhance user experience by providing immediate feedback for comment actions
- Integrate `sonner` toasts for success and error notifications
- Improve video data fetching error handling and logging
- Refine active video version selection logic for robustness
- Simplify video detail not-found page, removing dynamic project link
This commit is contained in:
Yusuf İpek
2026-02-07 16:21:15 +03:00
parent 373aab964c
commit 669f6fa9d2
9 changed files with 471 additions and 80 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ function createPrismaClient() {
return new PrismaClient({
adapter,
log: process.env.NODE_ENV === 'development' ? ['query', 'error', 'warn'] : ['error'],
log: process.env.NODE_ENV === 'development' ? ['error', 'warn'] : ['error'],
});
}