Repository navigation
Open
Description
Summary
AniSprinkles currently only supports anime. This epic tracks adding full manga support, bringing it to parity with the anime experience.
Checklist
Data layer
-
Extend AniList GraphQL queries to support— Serve manga from the details page and add a manga filter to Search (#12) #150.type: MANGAin theMediaqueryMedia(id:)needed no type at all: ids are unique across both, so thetype: ANIMEpin was the only thing making manga 404.MediaListCollection(type: MANGA)followed in Give manga its own Library tab, and drop "MyAnime" from the code (#12) #151. -
Extend— Give manga its own Library tab, and drop "MyAnime" from the code (#12) #151. It takesMediaListCollectiontotype: MANGAfor the manga list$typeas a variable. UnlikeSearch, it rejects a missing type outright (400,User ID/Name & Type arguments required), so the absent-vs-null trap from Serve manga from the details page and add a manga filter to Search (#12) #150 cannot recur here. -
Add manga-specific model fields (chapters, volumes vs episodes/duration)— Serve manga from the details page and add a manga filter to Search (#12) #150 -
Manga-specific mutations— Serve manga from the details page and add a manga filter to Search (#12) #150 addedprogressVolumestoSaveMediaListEntryandmangaIdtoToggleFavourite(the latter was silently favouriting nothing). -
Manga list fetch on— Give manga its own Library tab, and drop "MyAnime" from the code (#12) #151.IAniListClientGetMyAnimeListAsync/GetMyAnimeListGroupedAsyncbecameGetMediaListAsync/GetMediaListGroupedAsync, both taking aMediaKind. -
Handle manga-specific status values (Reading, Plan to Read, etc. vs Watching, Plan to Watch)— Serve manga from the details page and add a manga filter to Search (#12) #150, viaMediaListVocabulary
Library — manga half
-
Fill in the existing— Give manga its own Library tab, and drop "MyAnime" from the code (#12) #151. Navigation was already settled per Replace hamburger flyout with bottom tab bar navigation #43: one "Library" bottom tab split by Shell sub-tabs (MyMangaPageplaceholderShellContent Route="anime"/Route="manga"). Rather than a second copy,MyAnimePageModelbecame oneMediaListPageModelparameterized byMediaKind, withAnimeLibraryPageModel/MangaLibraryPageModelas thin subclasses for DI andx:DataType; the 389-line page lifecycle moved to a sharedMediaListPageBaseand the loaded-content view is reused verbatim. -
Grouped list by status— Give manga its own Library tab, and drop "MyAnime" from the code (#12) #151. Reading, Planning, Completed, Paused, Dropped, Rereading, ordered bymangaList.sectionOrder, which was never being fetched before. -
Progress display showing chapters/volumes instead of episodes— Give manga its own Library tab, and drop "MyAnime" from the code (#12) #151. Per entry, so two manga in the same section can count different units —+1 CHbeside+1 VOL.
Also shipped in #151, none of it anticipated by this checklist:
-
An empty-list state— there was none. A signed-in user with zero entries reachedContentwith zero sections, i.e. a blank page. Rare for anime, common for manga since plenty of accounts track anime only. -
Manga section colours—Reading/Rereadingwere missing from_statusColorsand fell through to the hash palette, so the two halves disagreed on what "currently reading" looks like. -
The warm-refresh diff compared— so a manga whose chapter total arrived late (every series that finishes publishing) never registered as changed.Episodesonly -
Screen-reader text on the—+1buttonDescriptionandHintwere both hardcoded to the anime wording, so TalkBack announced "episode" over a+1 VOLbutton. -
Per-half sort preference—manga_sort_fieldbesideanime_sort_field; sorting manga by title no longer reorders anime. -
Long press menu with manga-appropriate status labels— Serve manga from the details page and add a manga filter to Search (#12) #150 (the menu is shared, so it already reads Reading / Plan to Read / Rereading from Search) -
Completion flow adapted for manga (chapter/volume progress)— Serve manga from the details page and add a manga filter to Search (#12) #150. Note it can only fire on a FINISHED series: AniList returns null chapters AND null volumes for everything still publishing.
Details page
-
Adapt details page to display manga-specific metadata (chapters, volumes, publication status — AniList exposes no serialization/publisher field;— Serve manga from the details page and add a manga filter to Search (#12) #150Media.statusRELEASING/FINISHED/HIATUS/CANCELLED is the closest and is already shown) -
Progress controls for chapters/volumes instead of episodes— Serve manga from the details page and add a manga filter to Search (#12) #150. One counter per entry, inferred: chapters unless the entry has volume progress and no chapter progress (AniHyou’s rule). The row label says which. -
Score/rating (shared with anime)— Serve manga from the details page and add a manga filter to Search (#12) #150, unchanged from anime as expected -
Related media cross-linking (anime adaptations ↔ manga source)— Serve manga from the details page and add a manga filter to Search (#12) #150. Also removedAniListLinkTarget.IsUnsupportedEntityand the bio-link toast, per the Markdown links in character and staff descriptions render as invisible gaps #137 note below.
Search & Discovery
-
Extend the existing search (Search for anime/manga outside of user lists #16) with a manga type filter— Serve manga from the details page and add a manga filter to Search (#12) #150 went further: All/Anime/Manga pills, defaulting to All. An absenttypesearches both; an explicittype: nullreturns nothing. - Discover page should include manga sections (Discover shipped in Discover page: currently airing, top anime/manga, trending #15)
Settings
-
Manga list display preferences (if different from anime)— nothing turned out to be different, so there is nothing to build. The only per-type settings that exist areAnimeSectionOrder/MangaSectionOrder, both wired. Sort became per-half in Give manga its own Library tab, and drop "MyAnime" from the code (#12) #151 (manga_sort_fieldbesideanime_sort_field); view mode stays app-wide by decision, matching the View All lists rather than carving out an exception for Library. -
Section ordering for manga lists— the manga half of this is done (Give manga its own Library tab, and drop "MyAnime" from the code (#12) #151):mangaList.sectionOrdercomes back from the viewer query and orders the manga sections, exactly asanimeList.sectionOrderalready did. The remaining piece — a Settings control — is not manga-specific, since anime has none either, so it moved to Library section order can be read but never changed — no Settings control for either type #152 rather than holding this epic open. - Manga statistics in Settings — the viewer query fetches
statistics { anime { ... } }only (AniListClient.cs:2261and:2611), so the profile card is a 2x2 grid of Total Anime / Episodes / Days Watched / Mean Score with no manga counterpart. Needsstatistics { manga { count, meanScore, chaptersRead, volumesRead } }and somewhere to put it.
Notes
- AniList API uses the same
Mediatype withtype: MANGA— much of the data model is shared - Status enum values differ:
CURRENT= "Reading" for manga, "Watching" for anime - Progress tracking: manga uses
progress(chapters) andprogressVolumes(volumes) - This epic changes the app scope from anime-only.
Activity
zhollis21 commentedon Aug 21, 2026
Decided while planning #43: anime and manga share one bottom tab ("Library") rather than getting a tab each, and the switch between them is Shell's native sub-tabs — a single
Tabwith twoShellContentchildren, which Android renders as a swipeable top tab strip. No segmented control and no custom switcher.This is already prototyped on
feature/43-bottom-tab-bar:LibraryTabholdsShellContent Route="anime"(MyAnimePage) andShellContent Route="manga"(MyMangaPage); the tab keepsRoute="my-anime"so existing navigation is untouched.MyMangaPageexists as a placeholder — icon, heading, "Your manga list is coming soon." No PageModel, no data layer. Filling it in is this issue's job.ANIME/MANGAwith distinct rainbow accents.So the shell for the manga half is done — what #12 needs to add is the list itself, not the navigation around it.
One checklist line above is now superseded: "Add 'My Manga' flyout page (parallel to My Anime)". There is no flyout any more (#43 replaced it with a bottom tab bar), and the page already exists as the manga sub-tab.
Replace hamburger flyout with a bottom tab bar (#43) (#116)
Correct two stale examples in ani-kickoff
Add ani-issue skill for filing and auditing GitHub issues (#140)
zhollis21 commentedon Aug 27, 2026
Todo for when manga support lands, noted while doing #137.
Bio links now route AniList URLs in-app —
anilist.co/character/{id},/staff/{id},/anime/{id}and
/studio/{id}all open the matching page. Manga is deliberately excluded: the details pagequeries
Media(id:, type: ANIME), so a manga id 404s there. Tapping a manga link in a bio shows"Manga & Novel details aren't supported yet" — the same message
DetailsPageModelBase.NavigateToMediaalready gives for a manga id from a relations carousel.Manga links are not rare: across the 30 most-favourited characters and 20 most-favourited staff,
7 of 235 bio links pointed at
anilist.co/manga.Two things to remove when this issue lands:
AniListLinkTarget.IsUnsupportedEntity(src/AniSprinkles.Core/Utilities/AniListLinkTarget.cs) —exists only to catch manga; delete it and add
"manga"toRouteForalongside"anime".BioLinkSpan.FollowAsync(
src/AniSprinkles/Platforms/Android/BioLinkSpans.cs) that calls it.Both carry comments pointing back here.
AniListLinkTargetTestspins the current behaviour, sothose tests are the other thing to update.
zhollis21 commentedon Aug 30, 2026
Notes from planning. Phase 1 findings below are as merged; Phase 2 findings verified against
main@e1e2b91.Phase 2 (Library manga tab)
The list query is the last
type: ANIMEpin.MediaListQueryatsrc/AniSprinkles.Core/Services/AniListClient.cs:1940.$typeworks as a variable — verified live against a public account. UnlikeSearch, omitting it is a hard 400 (User ID/Name & Type arguments required), so the absent-vs-null trap that bites the All pill does not exist here; a type is always sent.Real manga list data shows both progress shapes in one account. From
MediaListCollection(userId: 5, type: MANGA): one entry hasprogress: 31andprogressVolumes: 6(chapters win under the inferred rule), another hasprogress: 63withchapters: null, volumes: null— no cap at all. The mixed case is not hypothetical.Still unfetched:
mediaListOptions.mangaList.sectionOrderandstatistics.manga.ViewerFullQuery,MediaListOptionsDtoandAniListUser(Models/AniListUser.cs:17) are all anime-only.Section colours have no manga entries.
RainbowAccentConverter._statusColors(Converters/RainbowAccentConverter.cs:41) keys onWatching/Rewatching;ReadingandRereadingwould miss the table and fall through to the hash palette, so manga sections would not match their anime counterparts.The warm-refresh diff is episode-only.
MediaListSectionsMergercomparesold.Episodes != @new.Episodes(:416) and nothing else about counts, so a manga entry whose chapter total changed would not be detected as meaningfully changed.Anime-specific surface in
MyAnimePageModel(1017 lines), cited: sort preference keys:18-19;GetMyAnimeListGroupedAsync:304;AppSettings.AnimeSectionOrder:327and:552;CacheReleasingMediaIds:360/:956;IAiringNotificationServiceat:790,:886,:905,:940.+1 EPis hardcoded inViews/MyAnimeLoadedContentView.xamlat:94and:216.There is no empty-list page state.
PageStatecovers AuthenticationPending / Unauthenticated / InitialLoading / Content / Error. A signed-in user with zero entries reachesContentwith zero sections — a blank page. That is rare for anime and common for manga, since plenty of AniList accounts track anime only.Sizes, for scale:
MyAnimePageModel.cs1017 lines,MyAnimePage.xaml.cs389,MyAnimeLoadedContentView.xaml432.Phase 1 (merged in #150)
Kept for reference; all verified before that PR.
Media(id:)is type-agnostic — ids are unique across both types, sotype: ANIMEwas the only thing making a manga id 404.Media(id: 30002)resolves Berserk;Media(id: 30002, type: ANIME)returns 404.characters,staff,relations,rankings,tagsandstats;studiosis empty andduration,season,seasonYear,nextAiringEpisodeare null.chaptersandvolumesare null for every RELEASING series (checked One Piece, Berserk, Dandadan, Sakamoto Days).Reading/Planning/Completed/Paused/Dropped— not "Plan to Read", which is action-menu wording.SaveMediaListEntryacceptsprogressVolumes;ToggleFavouritetakesmangaId.zhollis21 commentedon Aug 30, 2026
Updated during planning: two claims in the checklist were superseded by what the API actually returns.
MediaListCollection(userId: 5, type: MANGA)returnsReading/Planning/Completed/Paused/Dropped, and that account'smangaList.sectionOrderis["Reading","Rereading","Completed","Completed Manga","Completed Novel","Completed One-Shot","Paused","Dropped","Planning"]. "Plan to Read" is still the right wording for the action menu and status picker — just not for a section header. The status-values line above it is unchanged for that reason.Media;status(RELEASING / FINISHED / HIATUS / CANCELLED) is the closest thing and the details page already shows it.Phase 1 is now planned as: data layer + details page + manga in Search. Chapters/volumes follow AniHyou's inferred-unit model — one progress control per entry, chapters unless the entry has volume progress and zero chapter progress. The Library manga tab, Discover manga rows,
mangaList.sectionOrderandstatistics.mangaare later phases.Serve manga from the details page and add a manga filter to Search (#12…
zhollis21 commentedon Aug 30, 2026
Phase 1 landed in #150 (
e1e2b91). Checklist above ticked for what actually shipped.Details page and Search now serve manga.
Media(id:)turned out to need no type at all — ids are unique across both, so thetype: ANIMEpin was the only thing making a manga id 404. Search gained All/Anime/Manga pills defaulting to All.Progress is one counter per entry, not two. AniList keeps
progress(chapters) andprogressVolumesfully independent, relates neither to status, and has no auto-complete setting, so which drives the UI is a client choice. Following AniHyou: chapters unless the entry has volume progress and no chapter progress. The progress row label says which unit it means.Two things worth remembering for the remaining phases:
ToggleFavouriteneededmangaId. It was hardcoded toanimeId, so the heart on a manga page would have succeeded while favouriting nothing. Anything new that takes an entity id should be checked the same way.nextAiringEpisodeto fall back on the way an airing anime has. So no completion prompt, no progress bar, unbounded +1. The manga list will hit this on most Reading entries, not a handful.Also resolved: the #137 follow-up in the comment above.
AniListLinkTarget.IsUnsupportedEntity,BioLinkFollower.UnsupportedMediaMessageand the toast branch inBioLinkSpansare gone, andAniListLinkTargetTestsnow asserts manga routes like anything else.CI fixtures for the rest of the work. Six manga fixtures reachable via
driver.ps1 deeplink <id>, covering each shape the progress layer distinguishes — finished chapter-tracked (53390), publishing volume-tracked (30013), both counters set (105778), off-list (85199), ONE_SHOT (85476), NOVEL (85470), plus an 18+ canary. Three of those ids were already referenced by existing anime fixtures and resolved to nothing, so every manga tap under CI stubs was landing on the error page.Still open: the Library manga tab (
MediaListCollection(type: MANGA), the parameterizedMediaListPageModel), Discover manga rows, and the settings pair.mangaList.sectionOrderandstatistics.mangaare deliberately still unfetched — they would be dead model surface until the pages that use them exist.zhollis21 commentedon Aug 30, 2026
Updated during Phase 2 planning: annotated the "Section ordering for manga lists" line. It splits across phases —
mangaList.sectionOrdergets fetched and applied to the grouped list as part of the Library tab (the list cannot be ordered correctly without it), leaving only a Settings control here. Anime has no such control either, so that half may never be worth building.Phase 2 agreed: one parameterized
MediaListPageModelwith thinMyAnimePageModel/MyMangaPageModelsubclasses, a sharedMediaListPageBaseso the 389-line page lifecycle and the 432-line loaded-content view are reused rather than copied, separate sort preferences per half with the view mode staying app-wide, and a newPageState.Emptywired for both halves — a signed-in user with no manga currently reaches a blank page, which is common given plenty of accounts track anime only.Speak the right unit in the +1 button's screen-reader text
CI: Screenshot both Library halves
Warn on a manga-list timeout, and fix the stale DI comment
Give manga its own Library tab, and drop "MyAnime" from the code (#12) (
Show manga totals in Settings, and give the card its own colours (#12) (
Audit every fixture-content assumption in the capture script
Stop AniList 403ing us into a false outage, and replay real recorded …
Replace hamburger flyout with a bottom tab bar (#43) (#116)
Add ani-issue skill for filing and auditing GitHub issues (#140)
Serve manga from the details page and add a manga filter to Search (#12…
Give manga its own Library tab, and drop "MyAnime" from the code (#12) (
Show manga totals in Settings, and give the card its own colours (#12) (
Stop AniList 403ing us into a false outage, and replay real recorded …