Skip to content

fix(feature-page): clarify browser availability in WPT cards - #2670

Open
xianjianlf2 wants to merge 1 commit into
GoogleChrome:mainfrom
xianjianlf2:fix/wpt-availability-status-2548
Open

fix(feature-page): clarify browser availability in WPT cards#2670
xianjianlf2 wants to merge 1 commit into
GoogleChrome:mainfrom
xianjianlf2:fix/wpt-availability-status-2548

Conversation

@xianjianlf2

Copy link
Copy Markdown

Fixes #2548

Feature-page WPT cards now show an explicit Available/Not available status before the score, using the existing status icons and color tokens. The score is labeled as WPT score, and an available browser without WPT data shows No score instead of N/A so it cannot be mistaken for lack of browser support.

Validation:

  • npm --prefix frontend run build
  • npx prettier --check frontend/src/static/js/components/webstatus-feature-page.ts frontend/src/static/js/components/test/webstatus-feature-page.test.ts
  • npx eslint src/static/js/components/webstatus-feature-page.ts src/static/js/components/test/webstatus-feature-page.test.ts
  • npx lit-analyzer src/static/js/components/webstatus-feature-page.ts
  • Chromium component tests: 30 passed

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.

[BUG] Browser availability notated in the WPT scores section can lead to contradictory messaging

1 participant