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