feat: add author pages with clickable author links#59
Open
tijs wants to merge 1 commit intonperez0111:mainfrom
Open
feat: add author pages with clickable author links#59tijs wants to merge 1 commit intonperez0111:mainfrom
tijs wants to merge 1 commit intonperez0111:mainfrom
Conversation
- Add /authors/:author route to browse books by author - Make author names clickable on book detail pages - Support multiple authors per book (tab-separated) - Add pagination and sorting (popularity/reviews) - Extract author matching utilities with tests Closes nperez0111#4
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.
Summary
/authors/:authorroute to browse all books by a specific authorImplementation Details
src/pages/authorBooks.tsx- Author books listing page (modeled after genre pages)src/utils/authorMatching.ts- Utilities for tab-separated author matchingsrc/routes.tsx- Added/authors/:authorroute handlersrc/pages/bookInfo.tsx- Made author names clickableScreenshots
N/A - text-based changes
Test plan
/authors/Author%20NameCloses #4