A personal media tracker built on the AT Protocol opnshelf.xyz
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Refresh mobile lists on removal

+12
+3
apps/mobile/app/list/[slug].tsx
··· 78 78 path: { slug: slug || "" }, 79 79 }), 80 80 }); 81 + queryClient.invalidateQueries({ 82 + queryKey: listsControllerGetUserListsQueryKey(), 83 + }); 81 84 showToast("Removed from list", "success"); 82 85 posthog.capture("media_removed_from_list", { 83 86 media_type: variables.path.mediaType,
+1
apps/mobile/app/movie/[id].tsx
··· 703 703 mode="single" 704 704 date={customDate} 705 705 locale="en" 706 + startWeekOnMonday 706 707 onDismiss={() => setShowDatePicker(false)} 707 708 onConfirm={(params) => { 708 709 setShowDatePicker(false);
apps/mobile/build-1772371733639.aab

This is a binary file and will not be displayed.

apps/mobile/build-1772372004074.ipa

This is a binary file and will not be displayed.

+7
apps/mobile/components/AddToListModal.tsx
··· 3 3 listsControllerGetListsForItemOptions, 4 4 listsControllerGetListsForItemQueryKey, 5 5 listsControllerGetListQueryKey, 6 + listsControllerGetUserListsQueryKey, 6 7 listsControllerRemoveItemFromListMutation, 7 8 type MovieListsForItemDto, 8 9 } from "@opnshelf/api"; ··· 62 63 queryClient.invalidateQueries({ 63 64 queryKey: listsControllerGetListQueryKey({ path: { slug } }), 64 65 }); 66 + queryClient.invalidateQueries({ 67 + queryKey: listsControllerGetUserListsQueryKey(), 68 + }); 65 69 posthog.capture("media_added_to_list", { 66 70 list_slug: slug, 67 71 media_type: mediaType, ··· 83 87 }); 84 88 queryClient.invalidateQueries({ 85 89 queryKey: listsControllerGetListQueryKey({ path: { slug } }), 90 + }); 91 + queryClient.invalidateQueries({ 92 + queryKey: listsControllerGetUserListsQueryKey(), 86 93 }); 87 94 }, 88 95 });
+1
apps/mobile/components/WatchDatePickerModal.tsx
··· 151 151 mode="single" 152 152 date={customDate} 153 153 locale="en" 154 + startWeekOnMonday 154 155 onDismiss={() => setShowDatePicker(false)} 155 156 onConfirm={handleDateConfirm} 156 157 />