github-samples / github-samples/tailspin-toys
Show category and publisher descriptions on the game detail page
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 53
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 4
Description
The categories and publishers tables already include a description field, but the game detail page only shows their names. Surfacing these descriptions gives backers helpful context about who is behind a game and what kind of game it is, with no schema changes required.
Acceptance criteria
- The game detail page displays the category description when one is available
- The game detail page displays the publisher description when one is available
- Missing descriptions are handled gracefully (the section is hidden rather than showing empty content)
- The new content follows the project's styling and accessibility guidelines and includes
data-testidattributes - The data-access helper is updated to include the description fields, with unit tests covering the change, and Playwright e2e tests verify the descriptions render
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the game detail page and trace the data-access helper that supplies category and publisher data. Update the helper and its unit tests, then add the requested rendering and Playwright e2e coverage. Done means available descriptions render with data-testid attributes, while missing descriptions hide their sections and the styling remains accessible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100