Closed Bug 1188503 Opened 9 years ago Closed 9 years ago

[Compat Data][Importer] Fix "current" in import tables

Categories

(developer.mozilla.org Graveyard :: BrowserCompat, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwhitlock, Assigned: jwhitlock)

References

Details

(Whiteboard: [bc:infra])

What did you do?
================
1. Go to a long-supported feature like https://browsercompat.herokuapp.com/importer/909
2. Reparse if needed
3. View the sample Browser compatibility table

What happened?
==============
The string "current" appears for some support cells

What should have happened?
==========================
The text should be "(yes)" to match MDN

Is there anything else we should know?
======================================
bug 1160214 introduced a change in how the "always supported" versions were modeled.  Previously, they were version=null, status=unknown.  Now they are modeled as version=current, status=current.  The display code has not beed updated to reflect the new modeling.

Other displays to update:
* https://browsercompat.herokuapp.com/api/v1/view_features/web-css-display.html
* https://browsercompat.herokuapp.com/view_feature/730
Blocks: 1181140
Assignee: nobody → jwhitlock
Status: NEW → ASSIGNED
Component: General → BrowserCompat
Commits pushed to master at https://github.com/mdn/browsercompat

https://github.com/mdn/browsercompat/commit/dab5f73c96a78c16151c70bd9c3e7733beec2fc1
bug 1188503 - Add indentation in template logic

https://github.com/mdn/browsercompat/commit/50937c969dd85814cffec2120282a99d6cf54b4f
fix bug 1188503 - Handle "current" version status

The string "current" is used to denote "this happened so long ago we're
not sure when". Before bug 1160214, this was denoted with a blank
version. This updates the display code to expect "current" instead of a
blank version.

One page that uses version=current is transform-origin:

https://developer.mozilla.org/en-US/docs/Web/CSS/transform-origin
https://browsercompat.herokuapp.com/view_feature/847
https://browsercompat.herokuapp.com/api/v1/view_features/847.html

https://github.com/mdn/browsercompat/commit/6969a20408388103f9c299938a4e68dcac0d542a
Merge pull request #73 from mdn/fix_current_display_1188503

fix bug 1188503 - Handle "current" version status
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Keywords: in-triage
OS: Other → All
Whiteboard: [specification][type:bug] → [bc:infra]
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.