@javierfrancoleal/dsh-supervisor 1.0.33 → 1.0.34
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/dashboard.html +6 -6
- package/package.json +1 -1
package/dashboard.html
CHANGED
|
@@ -116,7 +116,7 @@ td,th{border-bottom:1px solid var(--line);padding:9px 6px;text-align:left}
|
|
|
116
116
|
#langStep.done{opacity:0;visibility:hidden}
|
|
117
117
|
.langstep-inner{text-align:center}
|
|
118
118
|
.langstep-hint{color:rgba(255,255,255,.9);font-size:14px;margin:18px 0 4px}
|
|
119
|
-
.langstep-inner .langreel{width:min(340px,86vw)}
|
|
119
|
+
.langstep-inner .langreel{width:min(340px,86vw);background:rgba(167,139,250,.55)!important;border:1px solid rgba(255,255,255,.6)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
|
|
120
120
|
.langstep-inner svg{width:150px;height:150px}
|
|
121
121
|
.langstep-inner svg path.draw{stroke-dasharray:100;animation:drawStroke 1.2s cubic-bezier(.4,0,.2,1) forwards}
|
|
122
122
|
@media (prefers-reduced-motion: reduce){.langstep-inner svg path.draw{animation:none}}
|
|
@@ -417,8 +417,8 @@ applyToggles();
|
|
|
417
417
|
document.body.classList.add("loginpage");
|
|
418
418
|
const firstRun=(()=>{try{return !localStorage.getItem("dsh-lang");}catch(e){return true;}})();
|
|
419
419
|
if(firstRun){
|
|
420
|
-
$("splash").
|
|
421
|
-
setTimeout(()=>{$("langStep").style.display="flex";},
|
|
420
|
+
$("splash").style.display="none";
|
|
421
|
+
setTimeout(()=>{$("langStep").style.display="flex";},150);
|
|
422
422
|
}else{
|
|
423
423
|
setTimeout(()=>{$("splash").classList.add("done");},1300);
|
|
424
424
|
}
|
|
@@ -506,7 +506,7 @@ $("exportBtn").onclick=()=>doExport("reports");
|
|
|
506
506
|
$("exportOrdersBtn").onclick=()=>doExport("orders");
|
|
507
507
|
function panelLinks(){const u=me?encodeURIComponent(me.name):"",r=me?encodeURIComponent(me.role):"",lb=me?encodeURIComponent(me.label||me.name):"";$("openPanelLink").setAttribute("href","/panel?user="+u+"&role="+r+"&label="+lb+"&lang="+cur);$("leadOpenPanelLink").setAttribute("href","/panel?user="+u+"&role="+r+"&label="+lb+"&lang="+cur);}
|
|
508
508
|
function applyLang(){
|
|
509
|
-
|
|
509
|
+
// (the language is persisted only on an explicit human choice)
|
|
510
510
|
$("welcomeClose").onclick=()=>{$("welcomeCard").style.display="none";try{localStorage.setItem("lv-welcome","1");}catch(e){}};
|
|
511
511
|
$("splashTag").textContent=t("tagline");
|
|
512
512
|
$("welcomeTitle").textContent=t("welcomeTitle");$("welcomeBody").textContent=t("welcomeBody");$("wallNote").textContent=t("wallNote");
|
|
@@ -550,7 +550,7 @@ function buildLangMenu(){
|
|
|
550
550
|
const r=document.createElement("div");
|
|
551
551
|
r.className="orow"+(l==="en"?" center":"");
|
|
552
552
|
r.innerHTML='<span>'+LANGNAMES[l]+'</span><span class="sub">'+l.toUpperCase()+'</span>';
|
|
553
|
-
r.onclick=()=>{cur=l;applyLang();$("langOverlay").style.display="none";markReel();$("langStep").classList.add("done");const sp=$("splash");sp.classList.remove("done");const p=sp.querySelector(".draw");if(p){p.style.animation="none";void p.offsetWidth;p.style.animation="";}setTimeout(()=>{sp.classList.add("done");},2600);};
|
|
553
|
+
r.onclick=()=>{cur=l;try{localStorage.setItem("dsh-lang",cur);}catch(e){}applyLang();$("langOverlay").style.display="none";markReel();$("langStep").classList.add("done");const sp=$("splash");sp.classList.remove("done");const p=sp.querySelector(".draw");if(p){p.style.animation="none";void p.offsetWidth;p.style.animation="";}setTimeout(()=>{sp.classList.add("done");},2600);};
|
|
554
554
|
rows.appendChild(r);
|
|
555
555
|
}
|
|
556
556
|
}
|
|
@@ -580,7 +580,7 @@ $("langStepReel").onclick=()=>{$("langOverlay").style.display="flex";const en=do
|
|
|
580
580
|
$("closeOverlay").onclick=()=>{$("langOverlay").style.display="none";};
|
|
581
581
|
// The Apple flow: after the splash, the language menu opens once (until chosen).
|
|
582
582
|
|
|
583
|
-
function pill(l){for(const host of ["footLangs"]){const el=$(host);if(!el)continue;const b=document.createElement("button");b.className="pill";b.dataset.l=l;b.textContent=LANG[l];b.onclick=()=>{cur=l;applyLang();};$(host).appendChild(b);}}
|
|
583
|
+
function pill(l){for(const host of ["footLangs"]){const el=$(host);if(!el)continue;const b=document.createElement("button");b.className="pill";b.dataset.l=l;b.textContent=LANG[l];b.onclick=()=>{cur=l;try{localStorage.setItem("dsh-lang",cur);}catch(e){}applyLang();};$(host).appendChild(b);}}
|
|
584
584
|
for(const l of Object.keys(LANG))pill(l);
|
|
585
585
|
try{const q=new URLSearchParams(location.search);const ql=q.get("lang");if(ql&&S[ql])cur=ql;}catch(e){}
|
|
586
586
|
try{const saved=localStorage.getItem("dsh-lang");if(saved&&S[saved])cur=saved;}catch(e){}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@javierfrancoleal/dsh-supervisor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.34",
|
|
4
4
|
"description": "The Veilleux central control plane of the J.Franco agentic workflow suite: user accounts, the live conversation flow (listen → per-person summary → confirm → orders), telemetry, and the universal sector dashboard with 10 languages. Created by J.Franco.",
|
|
5
5
|
"author": "J.Franco",
|
|
6
6
|
"license": "MIT",
|