Skip to content

feat(v1): add ReleaseCard ecosystem-landing component (Phase 3 - PR 2)#686

Merged
vitorvasc merged 2 commits into
open-telemetry:mainfrom
vitorvasc:feat/84-phase3-pr2-release-card
Jun 16, 2026
Merged

feat(v1): add ReleaseCard ecosystem-landing component (Phase 3 - PR 2)#686
vitorvasc merged 2 commits into
open-telemetry:mainfrom
vitorvasc:feat/84-phase3-pr2-release-card

Conversation

@vitorvasc

Copy link
Copy Markdown
Member

Second PR of Phase 3 (ecosystem landing pages). Adds the <ReleaseCard> hero card.

Contributes to #372.

What's in this PR

  • Adds <ReleaseCard> (src/v1/components/ecosystem/release-card.tsx): the top-right hero card showing the latest version, optional release date, a delta strip (added / changed / deprecated), and an optional changelog link. Renders a named empty state when no release info is available
  • Adds src/v1/styles/release-card.css (imported into the v1 stylesheet); the decorative changelog arrow is a CSS pseudo-element so it stays out of the link's accessible name, and the brand orange comes from the --otel-orange-hsl token
  • Wires strings through i18next under a new ecosystem namespace (public/locales/{en,es}/ecosystem.json), registered in src/i18n/config.ts and src/test/setup.ts, following feat(i18n): extract collector namespace strings #650
  • Adds the component to the /_dev/components showcase (full + empty variants)
  • Unit tests for the populated and empty states

What's not in this PR

  • No consumer yet. The Collector and Java Agent landing routes compose it in later PRs
  • The ecosystem namespace scaffolding (config / test setup / locale files) is shared with the sibling Phase 3 component PRs (PipelineAnatomy, QuickEntryRow); whichever lands first establishes it, the others need a trivial union-merge

Verification

  • bun run typecheck — clean
  • bun run lint — clean
  • bun run test -t "ReleaseCard" — 2 tests pass
  • bun run format — no changes

Co-authored with Claude Opus 4.8.

@netlify

netlify Bot commented Jun 11, 2026

Copy link
Copy Markdown

Deploy Preview for otel-ecosystem-explorer ready!

Name Link
🔨 Latest commit 7edbda8
🔍 Latest deploy log https://app.netlify.com/projects/otel-ecosystem-explorer/deploys/6a30de3ed3ef8b0008ad3245
😎 Deploy Preview https://deploy-preview-686--otel-ecosystem-explorer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

github-actions Bot pushed a commit that referenced this pull request Jun 11, 2026
@vitorvasc vitorvasc force-pushed the feat/84-phase3-pr2-release-card branch from 289cc54 to ac8cfa0 Compare June 11, 2026 02:31
@vitorvasc vitorvasc marked this pull request as ready for review June 11, 2026 02:32
@vitorvasc vitorvasc requested review from a team as code owners June 11, 2026 02:32
github-actions Bot pushed a commit that referenced this pull request Jun 11, 2026
@otelbot

otelbot Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

PR Screenshots

Home

Light

Desktop Tablet Mobile
home desktop light home tablet light home mobile light

Dark

Desktop Tablet Mobile
home desktop dark home tablet dark home mobile dark
Instrumentation List

Light

Desktop Tablet Mobile
instrumentation-list desktop light instrumentation-list tablet light instrumentation-list mobile light

Dark

Desktop Tablet Mobile
instrumentation-list desktop dark instrumentation-list tablet dark instrumentation-list mobile dark
Detail — Details tab

Light

Desktop Tablet Mobile
detail-details desktop light detail-details tablet light detail-details mobile light

Dark

Desktop Tablet Mobile
detail-details desktop dark detail-details tablet dark detail-details mobile dark
Detail — Telemetry tab

Light

Desktop Tablet Mobile
detail-telemetry desktop light detail-telemetry tablet light detail-telemetry mobile light

Dark

Desktop Tablet Mobile
detail-telemetry desktop dark detail-telemetry tablet dark detail-telemetry mobile dark
Detail — Configuration tab

Light

Desktop Tablet Mobile
detail-configuration desktop light detail-configuration tablet light detail-configuration mobile light

Dark

Desktop Tablet Mobile
detail-configuration desktop dark detail-configuration tablet dark detail-configuration mobile dark
Collector List

Light

Desktop Tablet Mobile
collector-list desktop light collector-list tablet light collector-list mobile light

Dark

Desktop Tablet Mobile
collector-list desktop dark collector-list tablet dark collector-list mobile dark
Collector Detail

Light

Desktop Tablet Mobile
collector-detail desktop light collector-detail tablet light collector-detail mobile light

Dark

Desktop Tablet Mobile
collector-detail desktop dark collector-detail tablet dark collector-detail mobile dark
Dev components showcase

Light

Desktop Tablet Mobile
dev-components desktop light dev-components tablet light dev-components mobile light

Dark

Desktop Tablet Mobile
dev-components desktop dark dev-components tablet dark dev-components mobile dark
Visual diffs vs main (6 over budget, 0 new, 0 missing)
File Changed pixels Ratio Diff
tablet-dark-dev-components.png dimension-mismatch 100.00% dimension-mismatch
mobile-light-dev-components.png dimension-mismatch 100.00% dimension-mismatch
desktop-light-dev-components.png dimension-mismatch 100.00% dimension-mismatch
tablet-light-dev-components.png dimension-mismatch 100.00% dimension-mismatch
desktop-dark-dev-components.png dimension-mismatch 100.00% dimension-mismatch
mobile-dark-dev-components.png dimension-mismatch 100.00% dimension-mismatch

Captured from 7edbda8 on feat/84-phase3-pr2-release-card · workflow run· 2026-06-16 05:28 UTC

@jaydeluca jaydeluca left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nice, love that you are already integrating the localization!

- Use the otel-orange token instead of the hex literal in release-card.css
- Name the empty-state aside landmark via aria-label
- Move the decorative changelog arrow to CSS so it stays out of the link's
  accessible name
@vitorvasc vitorvasc force-pushed the feat/84-phase3-pr2-release-card branch from 04cc45a to 7edbda8 Compare June 16, 2026 05:25
github-actions Bot pushed a commit that referenced this pull request Jun 16, 2026
@vitorvasc vitorvasc added this pull request to the merge queue Jun 16, 2026
Merged via the queue into open-telemetry:main with commit 10c89e3 Jun 16, 2026
23 checks passed
@vitorvasc vitorvasc deleted the feat/84-phase3-pr2-release-card branch June 16, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants