Commit eef9ff2
committed
fix: restore notifications functionality and update card styling
- Add missing postId and commentId to notification inserts in comment
and discussion routers
- Update notification table foreign keys to reference new posts/comments
tables instead of legacy Post/Comment tables
- Change postId column type from text to uuid and commentId from integer
to uuid to match new table schemas
- Update notification cards with modern grey/white styling (rounded
corners, proper borders, hover effects)
- Add E2E tests for notification display and creation flow
- Add seed script for testing notifications locally1 parent ce6e404 commit eef9ff2
10 files changed
Lines changed: 5560 additions & 8 deletions
File tree
- app/(app)/notifications
- drizzle
- meta
- e2e
- utils
- scripts
- server
- api/router
- db
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments