@uptime.link/statuspage 1.2.0 → 1.3.1
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/dist_bundle/bundle.js +31 -40
- package/dist_bundle/bundle.js.map +2 -2
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/upl-statuspage-incidents.js +19 -17
- package/dist_ts_web/elements/upl-statuspage-statsgrid.d.ts +3 -0
- package/dist_ts_web/elements/upl-statuspage-statsgrid.js +36 -24
- package/dist_watch/bundle.js +46 -42
- package/dist_watch/bundle.js.map +2 -2
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/upl-statuspage-incidents.ts +18 -19
- package/ts_web/elements/upl-statuspage-statsgrid.ts +32 -24
package/dist_bundle/bundle.js
CHANGED
|
@@ -2939,18 +2939,6 @@ Continuing remediation efforts.`,author:"Ops Team"}]}],past:[]}},n="none";t.curr
|
|
|
2939
2939
|
padding-left: 24px;
|
|
2940
2940
|
}
|
|
2941
2941
|
|
|
2942
|
-
/* Vertical connector line */
|
|
2943
|
-
.timeline::before {
|
|
2944
|
-
content: '';
|
|
2945
|
-
position: absolute;
|
|
2946
|
-
left: 5px;
|
|
2947
|
-
top: 8px;
|
|
2948
|
-
bottom: 8px;
|
|
2949
|
-
width: 2px;
|
|
2950
|
-
background: ${N.bdTheme("linear-gradient(to bottom, #e5e7eb 0%, #d1d5db 50%, #e5e7eb 100%)","linear-gradient(to bottom, #27272a 0%, #3f3f46 50%, #27272a 100%)")};
|
|
2951
|
-
border-radius: 1px;
|
|
2952
|
-
}
|
|
2953
|
-
|
|
2954
2942
|
.update-item {
|
|
2955
2943
|
position: relative;
|
|
2956
2944
|
padding-left: ${m(D.lg)};
|
|
@@ -2962,6 +2950,18 @@ Continuing remediation efforts.`,author:"Ops Team"}]}],past:[]}},n="none";t.curr
|
|
|
2962
2950
|
padding-bottom: 0;
|
|
2963
2951
|
}
|
|
2964
2952
|
|
|
2953
|
+
/* Vertical connector line from each dot to the next */
|
|
2954
|
+
/* Dot: left -22px, width 12px + border 2px*2 = 16px total, center at -14px */
|
|
2955
|
+
.update-item:not(:last-child)::after {
|
|
2956
|
+
content: '';
|
|
2957
|
+
position: absolute;
|
|
2958
|
+
left: -15px;
|
|
2959
|
+
top: 18px;
|
|
2960
|
+
bottom: 0;
|
|
2961
|
+
width: 2px;
|
|
2962
|
+
background: ${b.border.default};
|
|
2963
|
+
}
|
|
2964
|
+
|
|
2965
2965
|
/* Timeline dot */
|
|
2966
2966
|
.update-item::before {
|
|
2967
2967
|
content: '';
|
|
@@ -3152,15 +3152,17 @@ Continuing remediation efforts.`,author:"Ops Team"}]}],past:[]}},n="none";t.curr
|
|
|
3152
3152
|
padding-left: 20px;
|
|
3153
3153
|
}
|
|
3154
3154
|
|
|
3155
|
-
.timeline::before {
|
|
3156
|
-
left: 4px;
|
|
3157
|
-
}
|
|
3158
|
-
|
|
3159
3155
|
.update-item::before {
|
|
3160
3156
|
left: -18px;
|
|
3161
3157
|
width: 10px;
|
|
3162
3158
|
height: 10px;
|
|
3163
3159
|
}
|
|
3160
|
+
|
|
3161
|
+
/* Mobile dot: left -18px, width 10px + border 2px*2 = 14px, center at -11px */
|
|
3162
|
+
.update-item:not(:last-child)::after {
|
|
3163
|
+
left: -12px;
|
|
3164
|
+
top: 16px;
|
|
3165
|
+
}
|
|
3164
3166
|
}
|
|
3165
3167
|
`]),E(We,1,tr);var b$=()=>O`
|
|
3166
3168
|
<style>
|
|
@@ -4793,7 +4795,7 @@ Downtime: ${p} minutes`)})}}
|
|
|
4793
4795
|
</div>
|
|
4794
4796
|
`:O`
|
|
4795
4797
|
<div class="stats-grid">
|
|
4796
|
-
<div class="stat-card
|
|
4798
|
+
<div class="stat-card ${this.currentStatus}">
|
|
4797
4799
|
<div class="stat-label">
|
|
4798
4800
|
<span class="status-indicator ${this.currentStatus}"></span>
|
|
4799
4801
|
Current Status
|
|
@@ -4803,7 +4805,7 @@ Downtime: ${p} minutes`)})}}
|
|
|
4803
4805
|
</div>
|
|
4804
4806
|
</div>
|
|
4805
4807
|
|
|
4806
|
-
<div class="stat-card
|
|
4808
|
+
<div class="stat-card ${this.getUptimeCardStatus()}">
|
|
4807
4809
|
<div class="stat-label">
|
|
4808
4810
|
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
4809
4811
|
<polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline>
|
|
@@ -4818,7 +4820,7 @@ Downtime: ${p} minutes`)})}}
|
|
|
4818
4820
|
</div>
|
|
4819
4821
|
</div>
|
|
4820
4822
|
|
|
4821
|
-
<div class="stat-card
|
|
4823
|
+
<div class="stat-card ${this.getResponseCardStatus()}">
|
|
4822
4824
|
<div class="stat-label">
|
|
4823
4825
|
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
4824
4826
|
<circle cx="12" cy="12" r="10"></circle>
|
|
@@ -4832,7 +4834,7 @@ Downtime: ${p} minutes`)})}}
|
|
|
4832
4834
|
${this.renderResponseChange()}
|
|
4833
4835
|
</div>
|
|
4834
4836
|
|
|
4835
|
-
<div class="stat-card
|
|
4837
|
+
<div class="stat-card ${this.getIncidentCardStatus()}">
|
|
4836
4838
|
<div class="stat-label">
|
|
4837
4839
|
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
4838
4840
|
<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path>
|
|
@@ -4844,8 +4846,8 @@ Downtime: ${p} minutes`)})}}
|
|
|
4844
4846
|
<div class="stat-value">
|
|
4845
4847
|
${this.totalIncidents}
|
|
4846
4848
|
</div>
|
|
4847
|
-
<div class="stat-change
|
|
4848
|
-
${this.affectedServices} of ${this.totalServices} services
|
|
4849
|
+
<div class="stat-change ${this.affectedServices===0?"positive":"negative"}">
|
|
4850
|
+
${this.affectedServices===0?"All services ok.":`${this.affectedServices} of ${this.totalServices} services affected`}
|
|
4849
4851
|
</div>
|
|
4850
4852
|
</div>
|
|
4851
4853
|
</div>
|
|
@@ -4856,7 +4858,7 @@ Downtime: ${p} minutes`)})}}
|
|
|
4856
4858
|
<span>${r==="positive"?"\u2193":r==="negative"?"\u2191":"\u2192"}</span>
|
|
4857
4859
|
<span>${r==="positive"?"Fast":r==="negative"?"Slow":"Normal"}</span>
|
|
4858
4860
|
</div>
|
|
4859
|
-
`}};Ve=xt(oA),nb=new WeakMap,ob=new WeakMap,ib=new WeakMap,sb=new WeakMap,ab=new WeakMap,lb=new WeakMap,cb=new WeakMap,ub=new WeakMap,V(Ve,4,"uptime",nA,rr,nb),V(Ve,4,"avgResponseTime",rA,rr,ob),V(Ve,4,"totalIncidents",tA,rr,ib),V(Ve,4,"affectedServices",eA,rr,sb),V(Ve,4,"totalServices",K$,rr,ab),V(Ve,4,"currentStatus",Z$,rr,lb),V(Ve,4,"loading",J$,rr,cb),V(Ve,4,"timePeriod",X$,rr,ub),rr=V(Ve,0,"UplStatuspageStatsgrid",iA,rr),qe(rr,"demo",Q$),qe(rr,"styles",[At.staticStyles,Or,Oe`
|
|
4861
|
+
`}getUptimeCardStatus(){return this.uptime>=99.9?"operational":this.uptime>=99?"degraded":"partial_outage"}getResponseCardStatus(){return this.avgResponseTime<200?"operational":this.avgResponseTime<500?"degraded":"partial_outage"}getIncidentCardStatus(){return this.affectedServices===0?"operational":this.currentStatus==="major_outage"?"major_outage":this.currentStatus==="partial_outage"?"partial_outage":"degraded"}};Ve=xt(oA),nb=new WeakMap,ob=new WeakMap,ib=new WeakMap,sb=new WeakMap,ab=new WeakMap,lb=new WeakMap,cb=new WeakMap,ub=new WeakMap,V(Ve,4,"uptime",nA,rr,nb),V(Ve,4,"avgResponseTime",rA,rr,ob),V(Ve,4,"totalIncidents",tA,rr,ib),V(Ve,4,"affectedServices",eA,rr,sb),V(Ve,4,"totalServices",K$,rr,ab),V(Ve,4,"currentStatus",Z$,rr,lb),V(Ve,4,"loading",J$,rr,cb),V(Ve,4,"timePeriod",X$,rr,ub),rr=V(Ve,0,"UplStatuspageStatsgrid",iA,rr),qe(rr,"demo",Q$),qe(rr,"styles",[At.staticStyles,Or,Oe`
|
|
4860
4862
|
:host {
|
|
4861
4863
|
display: block;
|
|
4862
4864
|
background: transparent;
|
|
@@ -4915,38 +4917,27 @@ Downtime: ${p} minutes`)})}}
|
|
|
4915
4917
|
transition: all ${m(se.fast)} ${m(K.default)};
|
|
4916
4918
|
}
|
|
4917
4919
|
|
|
4918
|
-
|
|
4920
|
+
/* Dynamic status-based accent colors for all stat cards */
|
|
4921
|
+
.stat-card.operational::before {
|
|
4919
4922
|
background: ${b.status.operational};
|
|
4920
4923
|
}
|
|
4921
4924
|
|
|
4922
|
-
.stat-card.
|
|
4925
|
+
.stat-card.degraded::before {
|
|
4923
4926
|
background: ${b.status.degraded};
|
|
4924
4927
|
}
|
|
4925
4928
|
|
|
4926
|
-
.stat-card.
|
|
4929
|
+
.stat-card.partial_outage::before {
|
|
4927
4930
|
background: ${b.status.partial};
|
|
4928
4931
|
}
|
|
4929
4932
|
|
|
4930
|
-
.stat-card.
|
|
4933
|
+
.stat-card.major_outage::before {
|
|
4931
4934
|
background: ${b.status.major};
|
|
4932
4935
|
}
|
|
4933
4936
|
|
|
4934
|
-
.stat-card.
|
|
4935
|
-
background: ${b.status.maintenance};
|
|
4936
|
-
}
|
|
4937
|
-
|
|
4938
|
-
.stat-card.uptime-card::before {
|
|
4939
|
-
background: ${b.status.operational};
|
|
4940
|
-
}
|
|
4941
|
-
|
|
4942
|
-
.stat-card.response-card::before {
|
|
4937
|
+
.stat-card.maintenance::before {
|
|
4943
4938
|
background: ${b.status.maintenance};
|
|
4944
4939
|
}
|
|
4945
4940
|
|
|
4946
|
-
.stat-card.incident-card::before {
|
|
4947
|
-
background: ${b.status.partial};
|
|
4948
|
-
}
|
|
4949
|
-
|
|
4950
4941
|
.stat-card:hover {
|
|
4951
4942
|
border-color: ${b.border.muted};
|
|
4952
4943
|
box-shadow: ${m(Me.md)};
|