Compare commits
2
Commits
cf467d748d
...
1698306717
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1698306717 | ||
|
|
fc1308e27e |
Generated
+2
-2
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "github-tracker",
|
||||
"name": "github-support-sla-monitor",
|
||||
"version": "0.1.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "github-tracker",
|
||||
"name": "github-support-sla-monitor",
|
||||
"version": "0.1.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "github-tracker",
|
||||
"name": "github-support-sla-monitor",
|
||||
"version": "0.1.0",
|
||||
"description": "Flip-clock tracker of time elapsed since a GitHub support ticket",
|
||||
"description": "GitHub support ticket sla monitor dashboard and flip-clock timer",
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"build": "astro build",
|
||||
|
||||
@@ -112,6 +112,7 @@ const base = import.meta.env.BASE_URL.replace(/\/+$/, "");
|
||||
AUTHOR,
|
||||
EVENTS,
|
||||
CREATED,
|
||||
CREATED_MS,
|
||||
LAST_AUTHOR_MS,
|
||||
LAST_AUTHOR_EVENT,
|
||||
fmtClock,
|
||||
@@ -152,7 +153,7 @@ const base = import.meta.env.BASE_URL.replace(/\/+$/, "");
|
||||
const responseWait = document.querySelector<HTMLElement>("#metric-response-wait");
|
||||
if (elapsed) elapsed.textContent = fmtElapsed(now);
|
||||
if (lastActivity) lastActivity.textContent = fmtDaysHours(now, LAST_AUTHOR_MS);
|
||||
if (responseWait) responseWait.textContent = fmtDaysHours(now, LAST_AUTHOR_MS);
|
||||
if (responseWait) responseWait.textContent = fmtDaysHours(now, CREATED_MS);
|
||||
}
|
||||
|
||||
function tick(): void {
|
||||
|
||||
Reference in New Issue
Block a user