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,5 +1,5 @@
import { api } from "../base/api.js";
import { el, mount } from "../base/dom.js";
import { api } from "../base/api.jsx";
import { el, mount } from "../base/dom.jsx";
/**
* One key/value row on the Configuration page, and its inline edit flow.
@@ -1,9 +1,9 @@
import "./settings.css";
import { api } from "../base/api.js";
import { el, empty, mount, pill } from "../base/dom.js";
import { statusKind, statusLabel } from "../base/task-meta.js";
import { row } from "./config-row.js";
import { updateStatusCard } from "./update-status.js";
import { api } from "../base/api.jsx";
import { el, empty, mount, pill } from "../base/dom.jsx";
import { statusKind, statusLabel } from "../base/task-meta.jsx";
import { row } from "./config-row.jsx";
import { updateStatusCard } from "./update-status.jsx";
/**
* A view of the config archied is actually running with, grouped by
@@ -272,7 +272,7 @@ function repositoriesCard(repos, onSaved) {
// repoBoolCell renders an immediately-autosaving checkbox, PATCHing
// api.configRepoUpdate on change and reverting the toggle if the save
// fails (archie-core-b6ew.6). A table cell doesn't fit config-row.js's
// fails (archie-core-b6ew.6). A table cell doesn't fit config-row.jsx's
// label/value/actions Edit-then-Save flow, and a checkbox is the more
// natural control for a boolean in a table anyway.
function repoBoolCell(r, field, onSaved) {
@@ -1,4 +1,4 @@
import { el, empty, pill } from "../base/dom.js";
import { el, empty, pill } from "../base/dom.jsx";
const STATUS_LABELS = {
ok: "OK",