Skip to content

Feat/visit command improvements#69

Merged
kevinccbsg merged 2 commits into
mainfrom
feat/visit-command-improvements
Oct 26, 2025
Merged

Feat/visit command improvements#69
kevinccbsg merged 2 commits into
mainfrom
feat/visit-command-improvements

Conversation

@kevinccbsg

Copy link
Copy Markdown
Member

This pull request adds a new "Marvel Shows" page to the example app, which fetches and displays TV show data from the TVMaze API using Axios. It also introduces a new test for this page and updates project dependencies accordingly.

Feature: Load and Display Marvel Shows

  • Added a new LoadShows page (src/pages/LoadShows.tsx) that fetches Marvel-related TV shows from the TVMaze API using Axios, handles loading and error states, and displays the results in a responsive grid with show details.
  • Registered the /shows route in src/routes.tsx to render the new LoadShows page and added a fallback 404 route. [1] [2]

Dependencies

Testing

  • Added a new TWD test (src/twd-tests/load-shows.twd.test.ts) to verify that the shows page loads correctly and displays the expected number of show cards, using a mock API response.

Minor Improvements

  • Fixed the import of the router in src/main.tsx by removing the .ts extension for compatibility.
  • Renamed src/routes.ts to src/routes.tsx to support JSX in route definitions. [1] [2]

This closes #68

@kevinccbsg kevinccbsg merged commit c669452 into main Oct 26, 2025
4 checks passed
@kevinccbsg kevinccbsg deleted the feat/visit-command-improvements branch October 26, 2025 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[command] visit command error reload

1 participant