mdn / mdn/fred

Preview local mdn/browser-compat-data checkout

Open
#843 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

@dotproto asked via Slack:

Is it possible to preview mdn/browser-compat-data updates in a locally rendered frontend?

I think this is something we should support.

One solution would be to include a script in mdn/browser-compat-data that serves the files as currently built and deployed by mdn/bcd-utils. Then we could point FRED_BCD_BASE_URL to this server.

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 with components/env/index.js and the FRED_BCD_BASE_URL setting, then review the mdn/bcd-utils api directory referenced in the issue. Determine how a local server could expose the checkout in the same form as the deployed files and how the frontend would point to it. Done means local mdn/browser-compat-data updates can be previewed in a locally rendered frontend.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.