Feat/music books#13
Draft
Glory42 wants to merge 7 commits into
Draft
Conversation
New music (MusicBrainz) and books (Google Books) domains with full CRUD: entity definitions, Drizzle migration, archive/detail/log/ interaction repositories and services, controllers, and routes. Registers both routers in the Express app. Adds --module-music and --module-book CSS vars for consistent theming.
Full UI for Music (MusicBrainz) and Books (Google Books): archive pages, detail pages, log modals, sidebar actions, and React Query hooks. Registers /music and /books route trees. Adds both domains to the global search dialog and navbar.
Extends CreateReviewSchema to accept mediaSourceId (string) instead of tmdbId and adds "album" and "book" to the mediaType enum. ReviewsCoreService now resolves albums by mbid and books by volumeId when creating reviews for those types.
Backend resolveMovie now checks mediaType first: album rows query the albums table by mbid, book rows query the books table by volumeId. Frontend FeedChannel and feedChannelMeta extended with music/books; feedMovieSchema relaxes tmdbId to nullable for non-TMDB entries.
Adds category IDs 3 (music/musicbrainz/album) and 4 (books/ googlebooks/book) to the top-picks constants and DTO superRefine. PublicTopPicksService resolves albums and books from their tables. Extracts PublicDiaryService to keep public.service under 380 lines and extends getDiary to merge movie/serial/album/book entries.
…op 4 getLikedFilms and getWatchlistedFilms now union music interaction rows (liked/wantToListen) and book interaction rows (liked/wantToRead). Frontend diary model maps coverArtUrl/mbid/volumeId. ProfileLikedPage and ProfileMediaInteractionGridSection gain Music/Books filter tabs with routes to /music/$mbid and /books/$volumeId. ProfileTopPicksSection renders all four categories.
Extends the favorites section with Music and Books slot lists (slots 3 and 4). Adds Top4AlbumSearchDialog (MusicBrainz) and Top4BookSearchDialog (Google Books). Controller manages draft state and resolves albums via getAlbumByMbid, books via getBookByVolumeId.
Deploying interis with
|
| Latest commit: |
303a909
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ec84d002.this-is-cinema.pages.dev |
| Branch Preview URL: | https://feat-music-books.this-is-cinema.pages.dev |
Deploying interis-docs with
|
| Latest commit: |
303a909
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3712b4d0.interis-docs.pages.dev |
| Branch Preview URL: | https://feat-music-books.interis-docs.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.