Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Connect the Specs Releases Conformance Matrix in the Report (#25)
Browse files Browse the repository at this point in the history
* Connect the Specs Releases Conformance Matrix in the Report

* add soft unavailable spec data message

* add preview capability

* fix release mode check

* fix templates path

* fix templates path

* fix button style

* adjust pre-merge
  • Loading branch information
leordev authored Oct 25, 2024
1 parent 4c90d7f commit ed1e15f
Show file tree
Hide file tree
Showing 27 changed files with 2,661 additions and 112 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"specReleases": [
{
"version": "v1.3.0",
"releaseLink": "https://github.com/TBD54566975/tbdex/releases/tag/v1.3.0",
"testVectors": {
"srcLink": "https://github.com/TBD54566975/tbdex/tree/v1.3.0/test-vectors",
"cases": {
"Protocol": [
"parse_balance",
"parse_cancel",
"parse_close",
"parse_offering",
"parse_order",
"parse_orderinstructions",
"parse_orderstatus",
"parse_quote",
"parse_rfq_omit_private_data",
"parse_rfq"
]
}
},
"sdks": {}
}
]
}

Large diffs are not rendered by default.

343 changes: 343 additions & 0 deletions .github/actions/specs-report/__tests__/assets/report-index-sample.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,343 @@
<!DOCTYPE html>
<html>
<head>
<title>TBD SDKs spec compliance report</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="styles.css" />
<link rel="icon" href="favicon.svg" />
</head>
<body>
<main>
<!-- spec-releases-matrix-begin -->
<!-- spec-releases-matrix-end -->

<hr/>
<h1>Web5 Spec Compliance Report</h1>
<hr/>

<h2 id="Credentials_table-caption">Credentials</h2>
<table aria-labelledby="Credentials_table-caption">
<colgroup>
<col style="width: 16%;" />
<col style="width: 16%;" />
<col style="width: 16%;" />
<col style="width: 16%;" />
<col style="width: 16%;" />
<col style="width: 16%;" />
</colgroup>
<thead>
<tr>
<th scope="col">test vector</th>

<th scope="col">
<a target="_blank" href="https://github.com/TBD54566975/web5-js"
>web5-js</a
>
</th>

<th scope="col">
<a target="_blank" href="https://github.com/TBD54566975/web5-kt"
>web5-kt</a
>
</th>

<th scope="col">
<a target="_blank" href="https://github.com/TBD54566975/web5-swift"
>web5-swift</a
>
</th>

<th scope="col">
<a target="_blank" href="https://github.com/TBD54566975/web5-rs"
>web5-rs</a
>
</th>

<th scope="col">
<a target="_blank" href="https://github.com/TBD54566975/web5-rs"
>web5-core-kt</a
>
</th>

</tr>
</thead>
<tbody>

<tr>
<th scope="row">create</th>

<td>
<details tabindex="-1">
<summary role="paragraph">
<span aria-label="In progress">🚧</span>
</summary>
<ul>

</ul>
</details>
</td>

<td>
<details tabindex="-1">
<summary role="paragraph">
<span aria-label="Success"></span>
</summary>
<ul>

</ul>
</details>
</td>

<td>
<details tabindex="-1">
<summary role="paragraph">
<span aria-label="In progress">🚧</span>
</summary>
<ul>

</ul>
</details>
</td>

<td>
<details tabindex="-1">
<summary role="paragraph">
<span aria-label="In progress">🚧</span>
</summary>
<ul>

</ul>
</details>
</td>

<td>
<details tabindex="-1">
<summary role="paragraph">
<span aria-label="In progress">🚧</span>
</summary>
<ul>

</ul>
</details>
</td>

</tr>
</tbody>

<tr>
<th scope="row">verify</th>

<td>
<details tabindex="-1">
<summary role="paragraph">
<span aria-label="Success"></span>
</summary>
<ul>

</ul>
</details>
</td>

<td>
<details tabindex="-1">
<summary role="paragraph">
<span aria-label="Success"></span>
</summary>
<ul>

</ul>
</details>
</td>

<td>
<details tabindex="-1">
<summary role="paragraph">
<span aria-label="In progress">🚧</span>
</summary>
<ul>

</ul>
</details>
</td>

<td>
<details tabindex="-1">
<summary role="paragraph">
<span aria-label="Success"></span>
</summary>
<ul>

</ul>
</details>
</td>

<td>
<details tabindex="-1">
<summary role="paragraph">
<span aria-label="In progress">🚧</span>
</summary>
<ul>

</ul>
</details>
</td>

</tr>
</tbody>

</table>

<hr/>
<h1>Tbdex Spec Compliance Report</h1>
<hr/>


<h2 id="Protocol_table-caption">Protocol</h2>
<table aria-labelledby="Protocol_table-caption">
<colgroup>
<col style="width: 16%;" />
<col style="width: 16%;" />
<col style="width: 16%;" />
<col style="width: 16%;" />
<col style="width: 16%;" />
<col style="width: 16%;" />
</colgroup>
<thead>
<tr>
<th scope="col">test vector</th>

<th scope="col">
<a target="_blank" href="https://github.com/TBD54566975/tbdex-js"
>tbdex-js</a
>
</th>

<th scope="col">
<a target="_blank" href="https://github.com/TBD54566975/tbdex-kt"
>tbdex-kt</a
>
</th>

<th scope="col">
<a target="_blank" href="https://github.com/TBD54566975/tbdex-go"
>tbdex-go</a
>
</th>

<th scope="col">
<a target="_blank" href="https://github.com/TBD54566975/tbdex-rs"
>tbdex-rs</a
>
</th>

<th scope="col">
<a target="_blank" href="https://github.com/TBD54566975/tbdex-rs"
>tbdex-core-kt</a
>
</th>

</tr>
</thead>
<tbody>

<tr>
<th scope="row">parse_rfq_omit_private_data</th>

<td>
<details tabindex="-1">
<summary role="paragraph">
<span aria-label="Success"></span>
</summary>
<ul>

</ul>
</details>
</td>

<td>
<details tabindex="-1">
<summary role="paragraph">
<span aria-label="Success"></span>
</summary>
<ul>

</ul>
</details>
</td>

<td>
<details tabindex="-1">
<summary role="paragraph">
<span aria-label="Success"></span>
</summary>
<ul>

</ul>
</details>
</td>

<td>
<details tabindex="-1">
<summary role="paragraph">
<span aria-label="Success"></span>
</summary>
<ul>

</ul>
</details>
</td>

<td>
<details tabindex="-1">
<summary role="paragraph">
<span aria-label="Success"></span>
</summary>
<ul>

</ul>
</details>
</td>

</tr>
</tbody>

</table>


<hr/>
<h1>SDK Repository Submodule Information</h1>
<table>
<thead>
<tr>
<th>SDK</th>
<th>Repository</th>
<th>Submodule Commit</th>
<th>Commits Behind</th>
</tr>
</thead>
<tbody>

<tr>
<td>web5-js</td>
<td><a href="https://github.com/TBD54566975/web5-js" target="_blank">TBD54566975/web5-js</a></td>
<td>a582f4757c00f8797985a756729e6e6c7407bc13</td>
<td>-1</td>
</tr>

<tr>
<td>web5-kt</td>
<td><a href="https://github.com/TBD54566975/web5-kt" target="_blank">TBD54566975/web5-kt</a></td>
<td>cb6621177190b08ff38be7a1a4ab84e4a6cbcca7</td>
<td>8</td>
</tr>

</tbody>
</table>

<div style="text-align: center; margin-top: 20px;">
<strong>Report generated on: 2024-10-22 22:19:33</strong>
</div>
</main>
</body>
</html>
Loading

0 comments on commit ed1e15f

Please sign in to comment.