Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add reason for not‑Baseline features (aka “Limited availability”) #3407

Copy link
Copy link
@3ru

Description

@3ru
Issue body actions

Context

This proposal is adjacent to, but different in scope from, two issues:

By contrast, this is a data/schema‑level change: add a sub‑property under status that explains why a feature isn’t Baseline. It’s backward‑compatible and gives downstream tools a consistent reason they can use to explain “limited availability,” without dictating any UI wording.

Problem

Today, status.baseline === false covers situations that require different guidance. From the current schema, we can detect:

  1. Discouraged legacy features: via the top‑level discouraged object.
  2. Not shipped anywhere (prototype/early): when status.support is an empty object.
  3. Shipped somewhere but not Baseline: when status.support has one or more browser keys, yet baseline:false remains.

A simple, unified reason field would let downstream tools and docs explain the “not Baseline/limited availability” case more clearly and actionably.

Proposal

  • Add a sub‑property that says why a feature is not Baseline, e.g. under status:
"Status": {
 "type": "object",
 "properties": {
   "baseline": {
     "description": "Whether the feature is Baseline (low substatus), Baseline (high substatus), or not (false)",
     "enum": ["high", "low", false]
   },
+   "reason": {
+     "description": "Short reason when baseline is false (optional)",
+     "enum": ["discouraged", "insufficient_coverage" ...  ]

I suggest exposing reason as a enum so values stay stable across tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.