Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: open-telemetry/opentelemetry.io
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 99c3495b25f10bec38a3bb746bc4b882513ce6ef
Choose a base ref
..
head repository: open-telemetry/opentelemetry.io
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2b3e7a1955bc7d3f8db678705aeb1f61b20f62ac
Choose a head ref
Showing with 17 additions and 2 deletions.
  1. +1 −0 assets/js/registrySearch.js
  2. +11 −1 layouts/ecosystem/registry.json.json
  3. +1 −1 layouts/shortcodes/ecosystem/registry/search-form.html
  4. +4 −0 static/refcache.json
1 change: 1 addition & 0 deletions assets/js/registrySearch.js
Original file line number Diff line number Diff line change
@@ -5,6 +5,7 @@ const miniSearchOptions = {
'_key',
'tags',
'package.name',
'flags',
'license',
'language',
'registryType',
12 changes: 11 additions & 1 deletion layouts/ecosystem/registry.json.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
{{ $counter := 0 -}}
{{ $entries := slice -}}
{{ range $key, $entry := .Site.Data.registry -}}
{{ $entry = merge $entry (dict "_key" $key "id" $counter) -}}
{{ $flags := slice -}}
{{ if .isNative -}}
{{ $flags = $flags | append "native" -}}
{{ end -}}
{{ if .isFirstParty -}}
{{ $flags = $flags | append "first party" -}}
{{ end -}}
{{ if .deprecated -}}
{{ $flags = $flags | append "deprecated" -}}
{{ end -}}
{{ $entry = merge $entry (dict "_key" $key "id" $counter "flags" $flags) -}}
{{ $entries = $entries | append $entry -}}
{{ $counter = add $counter 1 }}
{{ end -}}
2 changes: 1 addition & 1 deletion layouts/shortcodes/ecosystem/registry/search-form.html
Original file line number Diff line number Diff line change
@@ -106,5 +106,5 @@
</ul>
</div>

<script src="https://cdn.jsdelivr.net/npm/minisearch@6.3.0/dist/umd/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/minisearch@7.1.0/dist/umd/index.min.js" integrity="sha384-58p1D2xuw/76VRFUgDMRcrtnJAW5LWLE02ihn8aITu65c4vgo+BLy7raRKNC7KaL" crossorigin="anonymous"></script>
{{ partial "script.html" (dict "src" "js/registrySearch.js") -}}
4 changes: 4 additions & 0 deletions static/refcache.json
Original file line number Diff line number Diff line change
@@ -303,6 +303,10 @@
"StatusCode": 206,
"LastSeen": "2024-01-08T12:17:27.412252+01:00"
},
"https://cdn.jsdelivr.net/npm/minisearch@7.1.0/dist/umd/index.min.js": {
"StatusCode": 206,
"LastSeen": "2024-08-07T17:27:34.715582+02:00"
},
"https://cerbos.dev/": {
"StatusCode": 206,
"LastSeen": "2024-01-30T15:24:42.717338-05:00"