- 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) |
||
|---|---|---|
| .. | ||
| web | ||