build(frontend): refresh committed dist (username login + setup flow)
The committed dist was stale (older build without email-resolving + username login). Rebuild locally and commit the fresh SPA so EasyPanel serves the correct login/setup flow. Verified fresh dist references username/must_setup/setup.
This commit is contained in:
1
frontend/dist/assets/Analytics-2sy93Xf6.js
vendored
Normal file
1
frontend/dist/assets/Analytics-2sy93Xf6.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
import{_ as i,k as d,l as v,c as o,a as s,t,u as _,i as u,F as c,p as g,r as p,o as n}from"./index-BA-KDOrj.js";const m={class:"row",style:{gap:"16px",margin:"16px 0"}},y={class:"card stat"},f={class:"card stat"},w={style:{color:"var(--green)"}},x={class:"card stat"},h={style:{color:"var(--red)"}},k={class:"card stat"},b={class:"card stat"},A={class:"badge lost"},B={class:"badge won"},L={class:"muted"},F={__name:"Analytics",setup(S){const l=p({overall:{total_sessions:0,wins:0,losses:0,close_rate:0,avg_score:0},trainee_count:0,hardest_personas:[]});return d(async()=>{l.value=await v.analytics()}),(W,a)=>(n(),o("div",null,[s("h2",null,t(_(u).t("analytics")),1),s("div",m,[s("div",y,[a[0]||(a[0]=s("div",null,"Sessions",-1)),s("strong",null,t(l.value.overall.total_sessions),1)]),s("div",f,[a[1]||(a[1]=s("div",null,"Wins",-1)),s("strong",w,t(l.value.overall.wins),1)]),s("div",x,[a[2]||(a[2]=s("div",null,"Losses",-1)),s("strong",h,t(l.value.overall.losses),1)]),s("div",k,[a[3]||(a[3]=s("div",null,"Close rate",-1)),s("strong",null,t(l.value.overall.close_rate)+"%",1)]),s("div",b,[a[4]||(a[4]=s("div",null,"Avg score",-1)),s("strong",null,t(l.value.overall.avg_score),1)])]),s("h3",null,"Trainees: "+t(l.value.trainee_count),1),a[5]||(a[5]=s("h3",null,"Hardest personas",-1)),(n(!0),o(c,null,g(l.value.hardest_personas,(e,r)=>(n(),o("div",{class:"card",key:r,style:{"margin-bottom":"8px"}},[s("strong",null,t(e.persona_name),1),s("span",A,t(e.losses)+"L",1),s("span",B,t(e.wins)+"W",1),s("span",L,"· avg "+t(e.avg_score),1)]))),128))]))}},D=i(F,[["__scopeId","data-v-8828276e"]]);export{D as default};
|
||||
Reference in New Issue
Block a user