veza/apps/web/src/features/chat
senke 96389a7640 state-ownership: add optimistic updates to remaining mutations
- Added optimistic updates to notification mutations:
  - markAsReadMutation: Optimistically marks notification as read
  - markAllAsReadMutation: Optimistically marks all notifications as read
  - Updated in both NotificationsPage and NotificationMenu
- Added optimistic updates to share link mutations:
  - createShareMutation: Optimistically adds share link to local state
  - revokeShareMutation: Optimistically removes share link from local state
- Added optimistic updates to chat mutations:
  - leaveRoomMutation: Optimistically removes conversation from list
  - deleteRoomMutation: Optimistically removes conversation from list
- Added optimistic update to reorder mutation:
  - useReorderPlaylistTracks: Optimistically reorders tracks in playlist
- All mutations include:
  - onMutate: Cancel queries, snapshot previous state, apply optimistic update
  - onError: Rollback to previous state
  - onSuccess: Invalidate queries for consistency
- Action 4.4.1.5 complete (18 mutations with optimistic updates)
2026-01-15 19:48:47 +01:00
..
components state-ownership: add optimistic updates to remaining mutations 2026-01-15 19:48:47 +01:00
hooks state-ownership: replace all useAuthStore().user with useUser() hook 2026-01-14 01:45:42 +01:00
pages state-ownership: replace all useAuthStore().user with useUser() hook 2026-01-14 01:45:42 +01:00
services incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
store incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
types incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00