mdn / mdn/fred

[compat-table] Report/view links always refer to first row

Open
#1,314 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
233
Forks
61
Avg merge
1d 1h
Merged PRs (30d)
82

Description

Reported by @NeatNit via https://github.com/mdn/browser-compat-data/issues/29011:

This is the table: developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/meta/name/viewport#browser_compatibility

(P.S. the View data on GitHub link goes to html/elements/meta.json instead of html/elements/meta/name/viewport/* in this repository)

The BCD table for <meta name="viewport"> provides links to "Report problems with this compatibility data" and "View data on GitHub", but these always refer only to the first row of the table.

It would be nice if we could allow users to report problems with a specific row, and view the corresponding file.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the linked compatibility table for and trace how its report and View data on GitHub links are generated. Compare the referenced html/elements/meta.json path with html/elements/meta/name/viewport, and consider the issue done when each table row links to its own report target and corresponding data file.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.