veza/apps/web/src/features
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
..
admin/api incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
analytics/services incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
auth state-ownership: remove _refreshUserPromise field from authStore 2026-01-15 18:11:41 +01:00
chat state-ownership: add optimistic updates to remaining mutations 2026-01-15 19:48:47 +01:00
dashboard data-flow: add React Query caching for dashboard endpoint 2026-01-15 17:51:10 +01:00
error/pages incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
library incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
marketplace/components incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
notifications state-ownership: add optimistic updates to remaining mutations 2026-01-15 19:48:47 +01:00
player incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
playlists state-ownership: add optimistic updates to remaining mutations 2026-01-15 19:48:47 +01:00
profile state-ownership: replace all useAuthStore().user with useUser() hook 2026-01-14 01:45:42 +01:00
roles state-ownership: delete unused optimisticStoreUpdates.ts file 2026-01-15 19:26:53 +01:00
search/services incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
sessions/api incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00
settings state-ownership: delete unused optimisticStoreUpdates.ts file 2026-01-15 19:26:53 +01:00
streaming state-ownership: delete unused optimisticStoreUpdates.ts file 2026-01-15 19:26:53 +01:00
tracks state-ownership: add optimistic updates to comment and collaborator mutations 2026-01-15 19:46:20 +01:00
upload/components state-ownership: delete unused optimisticStoreUpdates.ts file 2026-01-15 19:26:53 +01:00
user/components state-ownership: replace all useAuthStore().user with useUser() hook 2026-01-14 01:45:42 +01:00
webhooks/api incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +01:00