github-samples / github-samples/tailspin-toys

Show category and publisher descriptions on the game detail page

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

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-testid attributes
  • 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.