refactor: remove legacy modules from API and UI

This commit is contained in:
2026-02-15 22:20:50 +03:00
parent 5518c3b405
commit 93c99b4506
45 changed files with 464 additions and 5610 deletions

View File

@@ -19,18 +19,6 @@
</form>
</section>
<section class="card">
<h2>Ticket Sync</h2>
<form class="form" data-endpoint="/connectors/tickets/sync">
<div class="field">
<label for="tickets">Payload (JSON)</label>
<textarea class="input" id="tickets" name="payload" rows="10">{{.TicketPayload}}</textarea>
</div>
<button class="button" type="submit">Sync Tickets</button>
<pre class="meta" data-response></pre>
</form>
</section>
<section class="card">
<h2>Failure Ingest</h2>
<form class="form" data-endpoint="/ingest/failures">
@@ -88,7 +76,7 @@
const hardwareFileInput = document.getElementById("hardwareFile");
const hardwareTextarea = document.getElementById("hardware");
if (hardwareFileInput && hardwareTextarea) {
hardwareFileInput.addEventListener("change", async (event) => {
hardwareFileInput.addEventListener("change", async () => {
const file = hardwareFileInput.files?.[0];
if (!file) {
return;