Skip to content

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

Merged
m-hulbert merged 1 commit into
mainfrom
fix-examples-product-badge
Jul 29, 2026
Merged

fix(examples): show product badge for AI Transport and LiveObjects cards#3483
m-hulbert merged 1 commit into
mainfrom
fix-examples-product-badge

Conversation

@rainbowFi

@rainbowFi rainbowFi commented Jul 22, 2026

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 the existing set of keys.

This PR correctly adds them, and also renames 'auth' to 'platform' for consistency.

@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 Plus

Run ID: 989ec327-b7c1-459f-a33f-7c53de23a79c

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.

ExamplesGrid drew badge labels from the homepage ProductTile map, whose
keys (aiTransport, liveObjects) don't match the example product keys, so
AI Transport and LiveObjects cards rendered no badge. Use the examples
domain's own products map instead, consistent with ExamplesFilter and
ExamplesContent.

Rename the 'auth' filter to 'platform' (label "Platform") with its own
badge colour, and order the product filters platform, pubsub, chat, AI
Transport, spaces, LiveObjects.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@m-hulbert
m-hulbert force-pushed the fix-examples-product-badge branch from afef8a2 to 2df33d1 Compare July 29, 2026 08:31
@splindsay-92 splindsay-92 added the review-app Create a Heroku review app label Jul 29, 2026
@ably-ci
ably-ci temporarily deployed to ably-docs-fix-examples--usaqdr July 29, 2026 08:34 Inactive

@splindsay-92 splindsay-92 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@m-hulbert
m-hulbert merged commit 1c58395 into main Jul 29, 2026
9 checks passed
@m-hulbert
m-hulbert deleted the fix-examples-product-badge branch July 29, 2026 11:24
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.

4 participants