Rename remaining JS files to JSX

This commit is contained in:
sam committed 2026-09-03 00:12:03 +10:00
1 parent a9af691b81
commit 9e86bd0962
39 files changed
+83 -348

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
// Single place that knows how to talk to archied. Every feature folder goes
// through this, so auth handling and error shape live in one file.
import { randomUUID } from "./uuid.js";
import { randomUUID } from "./uuid.jsx";
async function req(path) {
// A daemon that accepts the connection but never answers would otherwise
+1 -1
View File
@@ -55,7 +55,7 @@ export function pill(text, kind = "idle") {
// Re-exported from task-meta.js so the pill severity vocabulary has a single
// source (the server catalog). Importers that pull statusKind from dom.js --
// e.g. dashboard.js -- keep working, and the hardcoded switch is gone.
export { statusKind } from "./task-meta.js";
export { statusKind } from "./task-meta.jsx";
/** Humanised relative time: "2 min ago". Raw timestamps make people do maths. */
export function ago(value) {
@@ -1,4 +1,4 @@
import { el } from "./dom.js";
import { el } from "./dom.jsx";
/**
* Arc gauge for a single headline percentage.
File renamed without changes.
@@ -1,4 +1,4 @@
import { el } from "./dom.js";
import { el } from "./dom.jsx";
/**
* Shared log-entry rendering. Both the daemon-wide log page
@@ -1,5 +1,5 @@
import { el } from "./dom.js";
import { icon } from "./icons.js";
import { el } from "./dom.jsx";
import { icon } from "./icons.jsx";
/**
* A KPI tile: label, big value, trend against a stated comparison window, and
@@ -8,7 +8,7 @@
// keep working when archied is unreachable; loadTaskMeta() replaces them with
// the live catalog as soon as it arrives. They must match the backend catalog
// so drawing the page never flashes a stale label.
import { api } from "./api.js";
import { api } from "./api.jsx";
const DEFAULT_STATUSES = [
{ id: "queued", label: "Queued", kind: "idle" },
File renamed without changes.