Skip to content

fix(examples): show product badge for AI Transport and LiveObjects cards#3483

Open
rainbowFi wants to merge 1 commit into
mainfrom
fix-examples-product-badge
Open

fix(examples): show product badge for AI Transport and LiveObjects cards#3483
rainbowFi wants to merge 1 commit into
mainfrom
fix-examples-product-badge

Conversation

@rainbowFi

Copy link
Copy Markdown
Contributor

What

AI Transport and LiveObjects example-gallery cards render with no product badge. The example product keys (ai_transport, liveobjects) don't match @ably/ui's ProductTile keys (aiTransport, liveObjects), so the badge lookup misses. This maps them in ExamplesGrid so the badge renders.

Scope

One file: src/components/Examples/ExamplesGrid.tsx.

Example product keys (ai_transport, liveobjects) do not match @ably/ui's
ProductTile keys (aiTransport, liveObjects), so gallery cards for those
products rendered without a product badge. Map the keys in ExamplesGrid.
@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

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.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 34244d7e-f141-4308-a682-ce78f0cd7027

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-examples-product-badge

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants