veza/apps/web/src/features
senke 84582507e9 state-ownership: add optimistic updates to comment and collaborator mutations
- Added optimistic updates to comment mutations:
  - createCommentMutation: Optimistically adds comment to list
  - createReplyMutation: Optimistically adds reply to replies list
  - updateCommentMutation: Optimistically updates comment content
  - deleteCommentMutation: Optimistically removes comment from list
- Added optimistic updates to collaborator mutations:
  - useAddCollaborator: Optimistically adds collaborator to list
  - useRemoveCollaborator: Optimistically removes collaborator from list
  - useUpdateCollaboratorPermission: Optimistically updates permission
- 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 in progress (11/14+ mutations complete: playlists, comments, collaborators)
2026-01-15 19:46:20 +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: consolidate chat stores to feature store 2026-01-15 19:31:40 +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 incus deployement fully implemented, Makefile updated and make fmt ran 2026-01-13 19:47:57 +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 comment and collaborator mutations 2026-01-15 19:46:20 +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