This commit is contained in:
Ian Gulliver
2026-10-15 22:21:20 -07:00
parent 84de97cec9
commit a1a4b83f39
22 changed files with 171 additions and 204 deletions
+2 -5
View File
@@ -1,5 +1,5 @@
import { put } from "./api.js";
import { errorText, h, openPanel, replace, showAlert } from "./dom.js";
import { errorText, h, replace, showAlert } from "./dom.js";
import { on, state } from "./state.js";
const kinds = [
{ key: "blocking_questions", label: "Blocking questions" },
@@ -8,10 +8,7 @@ const kinds = [
{ key: "errors", label: "Session errors" },
{ key: "rate_limits", label: "Rate limits" },
];
export function openSettings() {
openPanel("Settings", mountSettings);
}
function mountSettings(root) {
export function mountSettings(root) {
const device = h("div", { class: "push-device" });
const prefs = h("fieldset", { class: "push-prefs" });
const renderPrefs = () => {