-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add show description to show detail page (#152) #153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds show descriptions to the show detail page by fetching schedule data and passing the description through navigation parameters.
Key Changes:
- Added
getShowByIdmethod toScheduleServiceto retrieve individual show details including descriptions - Updated
ShowDetailsPageto accept and displayshowDescriptionparameter - Modified
SchedulePageto fetch show details and pass description when navigating to show details
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
src/services/ScheduleService.ts |
Added getShowById method to fetch show details by ID from the schedule |
src/app/Schedule/ShowDetailsPage.tsx |
Updated route params to include showDescription and added UI to display it with updated styling |
src/app/Schedule/SchedulePage.tsx |
Modified handleShowPress to fetch show details and pass description to navigation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
Fixes #152, and sets us up to also show email address, URL, etc on show details page.