You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`<input type="search" name="service-search" value="" placeholder="Search" aria-label="Search" hx-get="/u/app/services?component=service-list&service-sort-mode=service-name-asc" hx-trigger="change, keyup changed delay:500ms, search" hx-target="#services-list" hx-include="this" />`, // We have the search bar with HTMX.
71
71
`<th scope="col"> <div hx-get="/u/app/services?component=service-list&service-search=&service-sort-mode=service-name-desc" hx-target="#services-list" hx-swap="innerHTML show:window:top"> Service ↑</div> </th>`, // We have sortable HTMX Service column.
72
72
`<th scope="col"> <div hx-get="/u/app/services?component=service-list&service-search=&service-sort-mode=status-desc" hx-target="#services-list" hx-swap="innerHTML show:window:top"> Status ⇅</div> </th>`, // We have sortable HTMX status column.
73
-
`<td><a href="/u/app/services/test-svc1">test-svc1</a></td> <td> <div class="icon-triangle-alert is-critical"></div>`, // Svc1 should be critical.
74
-
`<td><a href="/u/app/services/test-svc2">test-svc2</a></td> <td> <div class="icon-triangle-alert is-warning"></div>`, // Svc2 should be warning.
75
-
`<td><a href="/u/app/services/test-svc3">test-svc3</a></td> <td> <div class="icon-circle-check is-ok"></div>`, // Svc3 should be ok.
73
+
`<td><a href="/u/app/services/test-svc1">test-svc1</a></td> <td> <div class="is-critical"> <i data-lucide="triangle-alert"></i> Firing 2 alerts</div>`,// Svc1 should be critical.
74
+
`<td><a href="/u/app/services/test-svc2">test-svc2</a></td> <td> <div class="is-warning"> <i data-lucide="triangle-alert"></i> Firing 1 alerts</div>`,// Svc2 should be warning.
75
+
`<td><a href="/u/app/services/test-svc3">test-svc3</a></td> <td> <div class="is-ok"> <i data-lucide="circle-check"></i> No alerts firing</div>`,// Svc3 should be ok.
76
76
`<button class="secondary" hx-get="/u/app/services?service-search=&service-sort-mode=service-name-asc&component=service-list&forward-cursor=test-next-cursor" hx-target="#services-list" hx-swap="innerHTML show:window:top"> Next >> </button>`, // We have the pagination prev.
77
77
`<button class="secondary" hx-get="/u/app/services?service-search=&service-sort-mode=service-name-asc&component=service-list&backward-cursor=test-prev-cursor" hx-target="#services-list" hx-swap="innerHTML show:window:top"> << Previous </button>`, // We have the pagination next.
`<td><a href="/u/app/services/test-svc1">test-svc1</a></td> <td> <div class="icon-triangle-alert is-critical"></div>`, // Svc1 should be critical.
133
+
`<td><a href="/u/app/services/test-svc1">test-svc1</a></td> <td> <div class="is-critical"> <i data-lucide="triangle-alert"></i> Firing 1 alerts</div>`,// Svc1 should be critical.
134
134
`<button class="secondary" hx-get="/u/app/services?service-search=test&service-sort-mode=service-name-asc&component=service-list&backward-cursor=test-prev-cursor" hx-target="#services-list" hx-swap="innerHTML show:window:top"> << Previous </button>`, // We have the pagination prev.
135
135
`<button class="secondary" disabled hx-get="" hx-target="#services-list" hx-swap="innerHTML show:window:top"> Next >> </button>`, // We have the pagination next.
`<td><a href="/u/app/services/test-svc1">test-svc1</a></td> <td> <div class="icon-triangle-alert is-critical"></div>`, // Svc1 should be critical.
172
+
`<td><a href="/u/app/services/test-svc1">test-svc1</a></td> <td> <div class="is-critical"> <i data-lucide="triangle-alert"></i> Firing 1 alerts</div>`,// Svc1 should be critical.
173
173
`<button class="secondary" disabled hx-get="" hx-target="#services-list" hx-swap="innerHTML show:window:top"> << Previous </button>`, // We have the pagination prev.
174
174
`<button class="secondary" hx-get="/u/app/services?service-search=&service-sort-mode=service-name-asc&component=service-list&forward-cursor=test-next-cursor" hx-target="#services-list" hx-swap="innerHTML show:window:top"> Next >> </button>`, // We have the pagination next.
`<td><a href="/u/app/services/test-svc1">test-svc1</a></td> <td> <div class="icon-triangle-alert is-critical"></div>`, // Svc1 should be critical.
213
+
`<td><a href="/u/app/services/test-svc1">test-svc1</a></td> <td> <div class="is-critical"> <i data-lucide="triangle-alert"></i> Firing 1 alerts</div>`,// Svc1 should be critical.
214
214
`<button class="secondary" hx-get="/u/app/services?service-search=test&service-sort-mode=service-name-asc&component=service-list&backward-cursor=test-prev-cursor" hx-target="#services-list" hx-swap="innerHTML show:window:top"> << Previous </button>`, // We have the pagination prev.
215
215
`<button class="secondary" hx-get="/u/app/services?service-search=test&service-sort-mode=service-name-asc&component=service-list&forward-cursor=test-next-cursor" hx-target="#services-list" hx-swap="innerHTML show:window:top"> Next >> </button>`, // We have the pagination next.
`<th scope="col"> <div hx-get="/u/app/services?component=service-list&service-search=test&service-sort-mode=service-name-asc" hx-target="#services-list" hx-swap="innerHTML show:window:top"> Service ↓</div> </th>`, //We have service name sorting column.
255
255
`<th scope="col"> <div hx-get="/u/app/services?component=service-list&service-search=test&service-sort-mode=status-desc" hx-target="#services-list" hx-swap="innerHTML show:window:top"> Status ⇅</div> </th>`, //We have status sorting column.
256
-
`<td><a href="/u/app/services/test-svc1">test-svc1</a></td> <td> <div class="icon-triangle-alert is-critical"></div>`, // Svc1 should be critical.
256
+
`<td><a href="/u/app/services/test-svc1">test-svc1</a></td> <td> <div class="is-critical"> <i data-lucide="triangle-alert"></i> Firing 1 alerts</div>`,// Svc1 should be critical.
257
257
`<button class="secondary" hx-get="/u/app/services?service-search=test&service-sort-mode=service-name-desc&component=service-list&backward-cursor=test-prev-cursor" hx-target="#services-list" hx-swap="innerHTML show:window:top"> << Previous </button>`, // We have the pagination prev.
258
258
`<button class="secondary" hx-get="/u/app/services?service-search=test&service-sort-mode=service-name-desc&component=service-list&forward-cursor=test-next-cursor" hx-target="#services-list" hx-swap="innerHTML show:window:top"> Next >> </button>`, // We have the pagination next.
`<th scope="col"> <div hx-get="/u/app/services?component=service-list&service-search=&service-sort-mode=service-name-asc" hx-target="#services-list" hx-swap="innerHTML show:window:top"> Service ⇅</div> </th>`, //We have service name sorting column.
297
297
`<th scope="col"> <div hx-get="/u/app/services?component=service-list&service-search=&service-sort-mode=status-desc" hx-target="#services-list" hx-swap="innerHTML show:window:top"> Status ↑</div> </th>`, //We have status sorting column.
298
-
`<td><a href="/u/app/services/test-svc1">test-svc1</a></td> <td> <div class="icon-triangle-alert is-critical"></div>`, // Svc1 should be critical.
298
+
`<td><a href="/u/app/services/test-svc1">test-svc1</a></td> <td> <div class="is-critical"> <i data-lucide="triangle-alert"></i> Firing 1 alerts</div>`,// Svc1 should be critical.
299
299
`<button class="secondary" hx-get="/u/app/services?service-search=&service-sort-mode=status-asc&component=service-list&backward-cursor=test-prev-cursor" hx-target="#services-list" hx-swap="innerHTML show:window:top"> << Previous </button>`, // We have the pagination prev.
300
300
`<button class="secondary" hx-get="/u/app/services?service-search=&service-sort-mode=status-asc&component=service-list&forward-cursor=test-next-cursor" hx-target="#services-list" hx-swap="innerHTML show:window:top"> Next >> </button>`, // We have the pagination next.
`<div class="grid stats" hx-trigger="every 30s" hx-get="/u/app/slos/slo-1?component=slo-stats" hx-swap="outerHTML">`, // Autoreload status with HTMX.
151
-
`<article><headerdata-tooltip="The % of error budget being consumed right now">Current Burning budget</header> <div class="is-critical">101.5%</div> </article>`, // Burning budget stat.
152
-
`<article><headerdata-tooltip="The % of error budget remaining in the period as a rolling window">Remaining budget (Window)</header> <div class="is-ok">90%</div> </article>`,// Remaining budget stat.
`<div class="grid stats" hx-trigger="every 30s" hx-get="/u/app/slos/slo-1?component=slo-stats" hx-swap="outerHTML">`, // Autoreload status with HTMX.
151
+
`<article><header> Current Burning budget <span data-tooltip="The % of error budget being consumed now (0% means none, 100% means all, >100% more than available budget)."> <i data-lucide="info"></i> </span> </header> <div class="is-critical">101.5%</div> </article> <article>`,// Burning budget stat.
152
+
`<article><header> Remaining budget on period (Window) <span data-tooltip="The % of error budget remaining in the period as a rolling window."> <i data-lucide="info"></i> </span> </header> <div class="is-ok">90%</div> </article> <article>`, // Remaining budget stat.
`<div class="grid stats" hx-trigger="every 30s" hx-get="/u/app/slos/slo-1?component=slo-stats" hx-swap="outerHTML">`, // Autoreload status with HTMX.
206
-
`<article><header data-tooltip="The % of error budget being consumed right now">Current Burning budget</header> <div class="is-critical">101.5%</div> </article>`, // Burning budget stat.
207
-
`<article><header data-tooltip="The % of error budget remaining in the period as a rolling window">Remaining budget (Window)</header> <div class="is-ok">90%</div> </article>`, // Remaining budget stat.
`<div class="grid stats" hx-trigger="every 30s" hx-get="/u/app/slos/slo-1?component=slo-stats" hx-swap="outerHTML">`, // Autoreload status with HTMX.
206
+
`<article> <header> Current Burning budget <span data-tooltip="The % of error budget being consumed now (0% means none, 100% means all, >100% more than available budget)."> <i data-lucide="info"></i> </span> </header> <div class="is-critical">101.5%</div> </article> <article>`, // Burning budget stat.
207
+
`<article> <header> Remaining budget on period (Window) <span data-tooltip="The % of error budget remaining in the period as a rolling window."> <i data-lucide="info"></i> </span> </header> <div class="is-ok">90%</div> </article> <article>`, // Remaining budget stat.
0 commit comments