Skip to content

Conversation

@matt423
Copy link
Member

@matt423 matt423 commented Jan 30, 2026

Description

Fixed the AI Transport filter on the examples page not working when refreshing the page or using direct links with ?product=ai_transport.

The issue was that the examples filter was using the products object from @ably/ui/core/ProductTile/data to validate product query parameters. This external products list doesn't include ai_transport, so it was filtered out as invalid when parsing the URL on page load.

The filter worked when clicked because the ExamplesFilter component uses the local products definition from src/data/examples/index.ts.

Changed ExamplesContent to use the same local products definition for URL validation, which includes all example products including ai_transport.

Review App

Checklist

The examples filter was using the products list from @ably/ui package
which doesn't include ai_transport. Changed to use the local products
definition that includes all example products including ai_transport.
@matt423 matt423 added the review-app Create a Heroku review app label Jan 30, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 30, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix-ai-transport-filter

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-app Create a Heroku review app

Development

Successfully merging this pull request may close these issues.

3 participants