kaizen-agent 1.31.1 → 1.31.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/board.html +3 -0
package/package.json
CHANGED
package/web/board.html
CHANGED
|
@@ -1096,6 +1096,8 @@ let pageGen=0;
|
|
|
1096
1096
|
async function openSettings(){
|
|
1097
1097
|
if(view!=="settings")return;const gen=++pageGen;
|
|
1098
1098
|
stopDictation(true);
|
|
1099
|
+
// Coming from another page or a card, its body goes now, not when the fetch answers.
|
|
1100
|
+
if(!$("panel").classList.contains("open")||$("ptitle").textContent!=="Settings"){$("pbody").innerHTML=`<p class="snone">Loading…</p>`;$("psub").textContent=""}
|
|
1099
1101
|
termStop();openKey=null;runDoc=null;$("pterm").hidden=true;$("panel").classList.add("open");$("scrim").classList.add("on");$("ptitle").textContent="Settings";$("ptabs").innerHTML="";$("pfoot").innerHTML="";
|
|
1100
1102
|
const cur=document.documentElement.dataset.theme||"system";
|
|
1101
1103
|
const cfg=await fetch("/settings").then(r=>r.json()).catch(()=>null);
|
|
@@ -1186,6 +1188,7 @@ async function openSources(){
|
|
|
1186
1188
|
const iceDraft=srcOpen()&&$("ice-title")?[$("ice-title").dataset.k,$("ice-title").value,$("ice-details").value]:null;
|
|
1187
1189
|
// And a category typed on a row but not yet saved.
|
|
1188
1190
|
const cats=new Map(srcOpen()?[...$("pbody").querySelectorAll("[data-ct]")].map(m=>[m.dataset.k,m.value]):[]);
|
|
1191
|
+
if(!srcOpen())$("pbody").innerHTML=`<p class="snone">Loading…</p>`;
|
|
1189
1192
|
termStop();openKey=null;runDoc=null;$("pterm").hidden=true;$("panel").classList.add("open");$("scrim").classList.add("on");$("ptitle").textContent=SRC;$("ptabs").innerHTML="";$("pfoot").innerHTML="";
|
|
1190
1193
|
$("psub").textContent="Requests gathered from your sources wait here until you promote them to Ideas or dismiss them; nothing starts on its own.";$("psub").title="";
|
|
1191
1194
|
const dir=all?null:S.dir,q=dir?"?dir="+encodeURIComponent(dir):"";
|