Skip to content

Commit

Permalink
move project to surfly org
Browse files Browse the repository at this point in the history
  • Loading branch information
qguv committed Apr 11, 2024
1 parent 41c2497 commit b4f1074
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
1. a project to discover how much of the Web (browser APIs, JS features, HTTP headers, etc.) will work under Surfly.
2. the data gathered from our investigations, stored under `features/`.
- run `populate.py` to create new features and remove old features as needed
3. a [nice interface](https://app.pagescms.org/qguv/surfly-compat-data) for devs to update Surfly compatibility data.
3. a [nice interface](https://app.pagescms.org/surfly/compat) for devs to update Surfly compatibility data.
- uses Pages CMS, which can be configured using `.pages.yml`
3. a [demo page](https://qguv.github.io/surfly-compat-data) which injects this data into browser compatibility tables on the MDN website.
3. a [demo page](https://surfly.github.io/compat) which injects this data into browser compatibility tables on the MDN website.
- the source of this demo page is stored under `docs/`[^1] and hosted by Github pages
- run `overlay.py` to create JSON files of browser compatibility data in the format used by MDN; generated data will be saved in the `data` branch of this repository

Expand Down
14 changes: 7 additions & 7 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,43 +47,43 @@ <h2 class="hide-on-hover">Examples</h2>
<tr>
<td><a class="navigate" href="https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent">api.DeviceOrientationEvent</a></td>
<td>expected (icf: unknown)</td>
<td><a target="_blank" href="https://app.pagescms.org/qguv/surfly-compat-data/main/content/features/edit/features%2Fapi%2FDeviceOrientationEvent%2Fapi.DeviceOrientationEvent.html">edit</a></td>
<td><a target="_blank" href="https://app.pagescms.org/surfly/compat/main/content/features/edit/features%2Fapi%2FDeviceOrientationEvent%2Fapi.DeviceOrientationEvent.html">edit</a></td>
</tr>

<tr>
<td><a class="navigate" href="https://developer.mozilla.org/en-US/docs/Web/API/InputEvent">api.InputEvent</a></td>
<td>supported</td>
<td><a target="_blank" href="https://app.pagescms.org/qguv/surfly-compat-data/main/content/features/edit/features%2Fapi%2FInputEvent%2Fapi.InputEvent.html">edit</a></td>
<td><a target="_blank" href="https://app.pagescms.org/surfly/compat/main/content/features/edit/features%2Fapi%2FInputEvent%2Fapi.InputEvent.html">edit</a></td>
</tr>

<tr>
<td><a class="navigate" href="https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/InputEvent">api.InputEvent.InputEvent</a></td>
<td>expected</td>
<td><a target="_blank" href="https://app.pagescms.org/qguv/surfly-compat-data/main/content/features/edit/features%2Fapi%2FInputEvent%2Fapi.InputEvent.InputEvent.html">edit</a></td>
<td><a target="_blank" href="https://app.pagescms.org/surfly/compat/main/content/features/edit/features%2Fapi%2FInputEvent%2Fapi.InputEvent.InputEvent.html">edit</a></td>
</tr>

<tr>
<td><a class="navigate" href="https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/inputType">api.InputEvent.inputType</a></td>
<td>supported (icf limitations)</td>
<td><a target="_blank" href="https://app.pagescms.org/qguv/surfly-compat-data/main/content/features/edit/features%2Fapi%2FInputEvent%2Fapi.InputEvent.inputType.html">edit</a></td>
<td><a target="_blank" href="https://app.pagescms.org/surfly/compat/main/content/features/edit/features%2Fapi%2FInputEvent%2Fapi.InputEvent.inputType.html">edit</a></td>
</tr>

<tr>
<td><a class="navigate" href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Serial_API">api.Serial</a></td>
<td>supported (icf: never)</td>
<td><a target="_blank" href="https://app.pagescms.org/qguv/surfly-compat-data/main/content/features/edit/features%2Fapi%2FSerial%2Fapi.Serial.html">edit</a></td>
<td><a target="_blank" href="https://app.pagescms.org/surfly/compat/main/content/features/edit/features%2Fapi%2FSerial%2Fapi.Serial.html">edit</a></td>
</tr>

<tr>
<td><a class="navigate" href="https://developer.mozilla.org/en-US/docs/Web/API/WebSocket">api.WebSocket</a></td>
<td>supported</td>
<td><a target="_blank" href="https://app.pagescms.org/qguv/surfly-compat-data/main/content/features/edit/features%2Fapi%2FWebSocket%2Fapi.WebSocket.html">edit</a></td>
<td><a target="_blank" href="https://app.pagescms.org/surfly/compat/main/content/features/edit/features%2Fapi%2FWebSocket%2Fapi.WebSocket.html">edit</a></td>
</tr>

<tr>
<td><a class="navigate" href="https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket">api.WebSocket.WebSocket</a></td>
<td>supported</td>
<td><a target="_blank" href="https://app.pagescms.org/qguv/surfly-compat-data/main/content/features/edit/features%2Fapi%2FWebSocket%2Fapi.WebSocket.WebSocket.html">edit</a></td>
<td><a target="_blank" href="https://app.pagescms.org/surfly/compat/main/content/features/edit/features%2Fapi%2FWebSocket%2Fapi.WebSocket.WebSocket.html">edit</a></td>
</tr>

<tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/script-embedded.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const bcd_url_prefix = 'https://bcd.developer.mozilla.org/bcd/api/v0/current/';
const scd_url_prefix = 'https://raw.githubusercontent.com/qguv/surfly-compat-data/data/scd/';
const scd_url_prefix = 'https://raw.githubusercontent.com/surfly/compat/data/scd/';

// intercept requests to MDN browser-compat-data
window.__native_fetch = window.fetch;
Expand Down
2 changes: 1 addition & 1 deletion docs/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function create_session() {
body: JSON.stringify({
url,
headless: true,
script_embedded: `https://raw.githubusercontent.com/qguv/surfly-compat-data/main/docs/script-embedded.js`,
script_embedded: `https://raw.githubusercontent.com/surfly/compat/main/docs/script-embedded.js`,
}),
};

Expand Down

0 comments on commit b4f1074

Please sign in to comment.