Add a per-user lead agent and make the right pane task-focused
This commit is contained in:
Vendored
+5
-2
@@ -1,5 +1,5 @@
|
||||
import { del, get, post, put } from "./api.js";
|
||||
import { errorText, h, replace, showAlert } from "./dom.js";
|
||||
import { errorText, h, openPanel, replace, showAlert } from "./dom.js";
|
||||
import { on, state } from "./state.js";
|
||||
const kinds = [
|
||||
{ key: "blocking_questions", label: "Blocking questions" },
|
||||
@@ -8,7 +8,10 @@ const kinds = [
|
||||
{ key: "errors", label: "Session errors" },
|
||||
{ key: "rate_limits", label: "Rate limits" },
|
||||
];
|
||||
export function mountSettings(root) {
|
||||
export function openSettings() {
|
||||
openPanel("Settings", mountSettings);
|
||||
}
|
||||
function mountSettings(root) {
|
||||
const device = h("div", { class: "push-device" });
|
||||
const prefs = h("fieldset", { class: "push-prefs" });
|
||||
const renderPrefs = () => {
|
||||
|
||||
Reference in New Issue
Block a user