Add operation names to debug view

This commit is contained in:
Joakim Hellsén 2026-01-16 19:59:05 +01:00
commit 2251475bbe
No known key found for this signature in database
2 changed files with 32 additions and 0 deletions

View file

@ -7,6 +7,27 @@
<p>
Generated at: <time id="generation-time">{{ now }}</time>
</p>
<section>
<h2 id="operation-names-header">Distinct GraphQL operation_names ({{ operation_names_with_counts|length }})</h2>
{% if operation_names_with_counts %}
<table id="operation-names-table">
<thead>
<tr>
<th>Operation Name</th>
<th>Count</th>
</tr>
</thead>
<tbody>
{% for item in operation_names_with_counts %}
<tr>
<td>{{ item.trimmed_op }}</td>
<td>{{ item.count }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
</section>
<section>
<h2 id="games-without-owner-header">Games Without an Assigned Owner ({{ games_without_owner|length }})</h2>
{% if games_without_owner %}