mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-29 21:21:18 -08:00
Restyle the web console and tidy its labels, Ask tab, cleanup and help
AI Assisted
This commit is contained in:
1 parent
710c751c2f
commit
e9679c47b9
103 files changed
+4054
-2273
No files matched your search
@@ -75,7 +75,7 @@ export function mountAgentsView(container, opts = {}) {
|
||||
const split = el("div", "split");
|
||||
const list = el("div", "split-list");
|
||||
list.dataset.av = "table";
|
||||
const add = el("button", "btn small ghost split-add", "Add agent");
|
||||
const add = el("button", "btn sm ghost split-add", "Add agent");
|
||||
add.type = "button";
|
||||
add.dataset.av = "add";
|
||||
list.appendChild(add);
|
||||
@@ -199,7 +199,7 @@ export function mountAgentsView(container, opts = {}) {
|
||||
}
|
||||
|
||||
// Leaving a form for another row drops its draft, as closing it always did:
|
||||
// a dirty one asks first (the dialog's Save / Discard / Keep editing).
|
||||
// a dirty one asks first (the dialog's Keep editing / Discard / Save).
|
||||
async function leaveForm() {
|
||||
if (!ctx.openKey) return true;
|
||||
if (isDirty(ctx.saved, ctx.drafts, ctx.openKey, ctx.strengthDrafts) && !(await confirmUnsaved())) return false;
|
||||
|
||||
Reference in new issue
Block a user