@javierfrancoleal/dsh-supervisor 1.0.30 → 1.0.32

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.
Files changed (2) hide show
  1. package/dashboard.html +10 -7
  2. package/package.json +1 -1
package/dashboard.html CHANGED
@@ -102,7 +102,7 @@ td,th{border-bottom:1px solid var(--line);padding:9px 6px;text-align:left}
102
102
  .row .btn{flex:1;min-width:110px}
103
103
  .switchuser{margin-top:26px;text-align:center}
104
104
  .langs{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:8px 0 14px}
105
- .langov{position:fixed;inset:0;background:linear-gradient(160deg,#4D6BFE,#7c5cff 60%,#a78bfa);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:90;animation:rise .3s ease}
105
+ .langov{position:fixed;inset:0;background:linear-gradient(160deg,#4D6BFE,#7c5cff 60%,#a78bfa);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:110;animation:rise .3s ease}
106
106
  .langov .top{position:absolute;top:22px;right:26px}
107
107
  .langov .close{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);color:#fff;border-radius:999px;width:44px;height:44px;font-size:18px;cursor:pointer}
108
108
  .orow{width:min(520px,92vw);display:flex;justify-content:space-between;align-items:center;padding:15px 22px;border-radius:14px;font-size:19px;color:#fff;cursor:pointer;transition:background .15s,transform .1s}
@@ -111,7 +111,8 @@ td,th{border-bottom:1px solid var(--line);padding:9px 6px;text-align:left}
111
111
  .orow .sub{font-size:13px;opacity:.7}
112
112
  .orow.center{background:rgba(255,255,255,.30);font-size:23px;font-weight:800;border:1px solid rgba(255,255,255,.45)}
113
113
  .orow.center .sub{opacity:.9}
114
- #langStep{position:fixed;inset:0;background:linear-gradient(160deg,#4D6BFE,#7c5cff 60%,#a78bfa);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:95;transition:opacity .45s,visibility .45s}
114
+ #langStep{position:fixed;inset:0;background:linear-gradient(160deg,#4D6BFE,#7c5cff 60%,#a78bfa);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:95;transition:opacity .45s,visibility .45s;animation:stepin .55s ease}
115
+ @keyframes stepin{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
115
116
  #langStep.done{opacity:0;visibility:hidden}
116
117
  .langstep-inner{text-align:center}
117
118
  .langstep-hint{color:rgba(255,255,255,.9);font-size:14px;margin:18px 0 4px}
@@ -126,8 +127,8 @@ td,th{border-bottom:1px solid var(--line);padding:9px 6px;text-align:left}
126
127
  #loginView .loginerr{background:rgba(239,68,68,.25);color:#fff;border:1px solid rgba(255,255,255,.3)}
127
128
  #loginView .eye{color:#fff}
128
129
  #loginView .btn.gray{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.3)}
129
- .langreel{width:min(340px,86vw);height:58px;margin:10px auto;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.30);border-radius:10px;backdrop-filter:blur(8px);overflow:hidden;cursor:pointer;position:relative;box-shadow:0 10px 30px rgba(15,23,42,.15)}
130
- body.dark .langreel{background:rgba(20,31,49,.55)}
130
+ .langreel{width:min(340px,86vw);height:58px;margin:10px auto;background:rgba(124,92,255,.30);border:1px solid rgba(255,255,255,.40);border-radius:10px;backdrop-filter:blur(10px);overflow:hidden;cursor:pointer;position:relative;box-shadow:0 10px 30px rgba(76,29,149,.25)}
131
+ body.dark .langreel{background:rgba(124,92,255,.35)}
131
132
  .ticks{display:flex;flex-direction:column;will-change:transform}
132
133
  .tick{height:58px;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600;opacity:.85;color:#fff}
133
134
  .pill{background:var(--card);border:1px solid var(--line);border-radius:999px;padding:8px 13px;font-size:13px;cursor:pointer}
@@ -415,7 +416,7 @@ $("soundBtn").onclick=()=>{soundOn=!soundOn;try{localStorage.setItem("dsh-sound"
415
416
  try{darkOn=localStorage.getItem("dsh-dark")==="1";soundOn=localStorage.getItem("dsh-sound")!=="0";}catch(e){}
416
417
  applyToggles();
417
418
  document.body.classList.add("loginpage");
418
- setTimeout(()=>{$("splash").classList.add("done");},1500);
419
+ setTimeout(()=>{$("splash").classList.add("done");},1300);
419
420
  async function reRenderDynamic(){
420
421
  if(!me)return;
421
422
  if(me.role==="owner"){loadMetrics($("ownerMetrics"));loadUsers();loadUsage();loadField();renderOrders();renderSuggest();}
@@ -576,8 +577,10 @@ $("langStepReel").onclick=()=>{$("langOverlay").style.display="flex";const en=do
576
577
  $("closeOverlay").onclick=()=>{$("langOverlay").style.display="none";};
577
578
  // The Apple flow: after the splash, the language menu opens once (until chosen).
578
579
  setTimeout(()=>{
579
- $("langStep").style.display="flex";
580
- },1600);
580
+ try{
581
+ if(!localStorage.getItem("dsh-lang")){$("langStep").style.display="flex";}
582
+ }catch(e){}
583
+ },1900);
581
584
  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);}}
582
585
  for(const l of Object.keys(LANG))pill(l);
583
586
  try{const q=new URLSearchParams(location.search);const ql=q.get("lang");if(ql&&S[ql])cur=ql;}catch(e){}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@javierfrancoleal/dsh-supervisor",
3
- "version": "1.0.30",
3
+ "version": "1.0.32",
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",