From 83fe0a1c5a9e173b10fe86850381397fbac59eb3 Mon Sep 17 00:00:00 2001 From: Amadou Date: Wed, 19 Aug 2026 11:25:06 -0400 Subject: [PATCH] vault backup: 2026-08-19 11:25:06 --- .../plugins/templater-obsidian/data.json | 2 +- .obsidian/types.json | 3 +- .../Templates/Jira incident template.md | 125 ++++++++++++++++++ 10 Knowledge/Templates/Jira incident.md | 50 ------- 20 Work/Tracking/Website Sync/2026/.gitkeep | 0 .../Tracking/Website Sync/2026/08/.gitkeep | 0 .../2026/08/2026-08-19 - TECH-32582.md | 41 ++++++ .../2026/08/2026-08-19 - TECH-32612.md | 41 ++++++ .../Website Sync - Complaint Tracking.md | 17 +-- Untitled.md | 0 10 files changed, 214 insertions(+), 65 deletions(-) create mode 100644 10 Knowledge/Templates/Jira incident template.md delete mode 100644 10 Knowledge/Templates/Jira incident.md create mode 100644 20 Work/Tracking/Website Sync/2026/.gitkeep create mode 100644 20 Work/Tracking/Website Sync/2026/08/.gitkeep create mode 100644 20 Work/Tracking/Website Sync/2026/08/2026-08-19 - TECH-32582.md create mode 100644 20 Work/Tracking/Website Sync/2026/08/2026-08-19 - TECH-32612.md create mode 100644 Untitled.md diff --git a/.obsidian/plugins/templater-obsidian/data.json b/.obsidian/plugins/templater-obsidian/data.json index 1c11a5c..6152f53 100644 --- a/.obsidian/plugins/templater-obsidian/data.json +++ b/.obsidian/plugins/templater-obsidian/data.json @@ -43,7 +43,7 @@ }, { "folder": "20 Work/Tracking", - "template": "10 Knowledge/Templates/Jira incident.md" + "template": "10 Knowledge/Templates/Jira incident template.md" } ], "file_templates": [], diff --git a/.obsidian/types.json b/.obsidian/types.json index dc18b25..ecea3c3 100644 --- a/.obsidian/types.json +++ b/.obsidian/types.json @@ -6,6 +6,7 @@ "renewal_date": "date", "contract_end": "date", "category": "multitext", - "projects": "multitext" + "projects": "multitext", + "date": "date" } } \ No newline at end of file diff --git a/10 Knowledge/Templates/Jira incident template.md b/10 Knowledge/Templates/Jira incident template.md new file mode 100644 index 0000000..78d4671 --- /dev/null +++ b/10 Knowledge/Templates/Jira incident template.md @@ -0,0 +1,125 @@ +--- +date: +jira: +actual_sync_issue: false +status: investigating +classification: +--- + +<%* +const baseTrackingFolder = "20 Work/Tracking"; + +// Today's values +const date = tp.date.now("YYYY-MM-DD"); +const year = tp.date.now("YYYY"); +const month = tp.date.now("MM"); + +// Find available Tracking folders +const trackingRoot = app.vault.getAbstractFileByPath(baseTrackingFolder); + +if (!trackingRoot) { + new Notice("Tracking folder not found."); + return; +} + +const folders = trackingRoot.children + .filter(item => item.children) + .map(item => item.name) + .sort(); + +if (folders.length === 0) { + new Notice("No tracking folders found."); + return; +} + +// Select tracking category +const tracking = await tp.system.suggester( + folders, + folders, + false, + "Select tracking folder" +); + +if (!tracking) { + new Notice("Tracking cancelled."); + return; +} + +// Jira number +const jira = await tp.system.prompt( + "Jira ticket (ex: PBI-123)" +); + +if (!jira) { + new Notice("Tracking cancelled: no Jira ticket entered."); + return; +} + +// Update YAML properties +const currentFile = tp.file.find_tfile(tp.file.path(true)); + +await app.fileManager.processFrontMatter( + currentFile, + (frontmatter) => { + frontmatter.date = date; + frontmatter.jira = jira.toUpperCase(); + frontmatter.actual_sync_issue = false; + frontmatter.status = "investigating"; + frontmatter.classification = null; + } +); + +// Create destination folders +const trackingFolder = `${baseTrackingFolder}/${tracking}`; +const yearFolder = `${trackingFolder}/${year}`; +const monthFolder = `${yearFolder}/${month}`; + +if (!app.vault.getAbstractFileByPath(yearFolder)) { + await app.vault.createFolder(yearFolder); +} + +if (!app.vault.getAbstractFileByPath(monthFolder)) { + await app.vault.createFolder(monthFolder); +} + +// Move + rename +await tp.file.move( + `${monthFolder}/${date} - ${jira.toUpperCase()}` +); + +// Generate heading +tR += `# ${jira.toUpperCase()}`; +-%> + +## Observation + +- + +## Verification + +- Reported time: +- Checked time: +- Expected availability: +- Content available: +- Technical issue identified: + +## Outcome + +- + +--- + +Available status: +- investigating +- resolved +- monitoring + +Available classifications + +| Classification | Use when | +| ---------------------- | ---------------------------------------------------------------------------------- | +| `confirmed-sync-issue` | There was an actual technical synchronization problem | +| `no-issue-confirmed` | Complaint resolved/no technical issue found | +| `unrelated-issue` | The problem was real, but **not caused by synchronization** | +| `user-error` | Incorrect action/configuration/input by the requester caused the perceived problem | +| `unknown` | Insufficient information to determine what happened | diff --git a/10 Knowledge/Templates/Jira incident.md b/10 Knowledge/Templates/Jira incident.md deleted file mode 100644 index b04225a..0000000 --- a/10 Knowledge/Templates/Jira incident.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -date: <% tp.date.now("YYYY-MM-DD") %> -jira: '<% await tp.system.prompt("Jira ticket (ex: PBI-123)") %>' -actual_sync_issue: false -status: investigating ---- - -<%* -const date = tp.frontmatter.date; -const jira = tp.frontmatter.jira; -const year = tp.date.now("YYYY"); -const month = tp.date.now("MM"); - -const baseFolder = "20 Work/Tracking/Website Sync/Incidents"; -const yearFolder = `${baseFolder}/${year}`; -const monthFolder = `${yearFolder}/${month}`; - -if (!app.vault.getAbstractFileByPath(yearFolder)) { - await app.vault.createFolder(yearFolder); -} - -if (!app.vault.getAbstractFileByPath(monthFolder)) { - await app.vault.createFolder(monthFolder); -} - -await tp.file.move(`${monthFolder}/${date} - ${jira}`); --%> - -# <% tp.frontmatter.jira %> - Website Sync - -## Observation - -- Reported at: **<% tp.frontmatter.reported_at %>** -- Expected synchronization completion: **after 08:00** -- Observation: - -## Verification - -- Checked at: -- Content available: -- Technical issue identified: - -## Outcome - -- - -## Classification - -- **Status:** investigating -- **Actual sync issue:** false \ No newline at end of file diff --git a/20 Work/Tracking/Website Sync/2026/.gitkeep b/20 Work/Tracking/Website Sync/2026/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/20 Work/Tracking/Website Sync/2026/08/.gitkeep b/20 Work/Tracking/Website Sync/2026/08/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/20 Work/Tracking/Website Sync/2026/08/2026-08-19 - TECH-32582.md b/20 Work/Tracking/Website Sync/2026/08/2026-08-19 - TECH-32582.md new file mode 100644 index 0000000..4006aaf --- /dev/null +++ b/20 Work/Tracking/Website Sync/2026/08/2026-08-19 - TECH-32582.md @@ -0,0 +1,41 @@ +--- +date: 2026-08-11 +jira: TECH-32582 +actual_sync_issue: false +status: investigating +classification: +--- + +# TECH-32582 +## Observation + +- Promo non mises en ligne + +## Verification + +- Reported time: +- Checked time: +- Expected availability: +- Content available: +- Technical issue identified: + +## Outcome + +- + +--- + +Available status: +- investigating +- resolved +- monitoring + +Available classifications + +| Classification | Use when | +| ---------------------- | ---------------------------------------------------------------------------------- | +| `confirmed-sync-issue` | There was an actual technical synchronization problem | +| `no-issue-confirmed` | Complaint resolved/no technical issue found | +| `unrelated-issue` | The problem was real, but **not caused by synchronization** | +| `user-error` | Incorrect action/configuration/input by the requester caused the perceived problem | +| `unknown` | Insufficient information to determine what happened | diff --git a/20 Work/Tracking/Website Sync/2026/08/2026-08-19 - TECH-32612.md b/20 Work/Tracking/Website Sync/2026/08/2026-08-19 - TECH-32612.md new file mode 100644 index 0000000..70fc713 --- /dev/null +++ b/20 Work/Tracking/Website Sync/2026/08/2026-08-19 - TECH-32612.md @@ -0,0 +1,41 @@ +--- +date: 2026-08-19 +jira: TECH-32612 +actual_sync_issue: false +status: resolved +classification: no-issue-confirmed +--- + +# TECH-32612 +## Observation + +- Isadora Moon - Spécial été (GP070657) n’est pas en ligne. + +## Verification + +- Reported time: +- Checked time: +- Expected availability: +- Content available: +- Technical issue identified: + +## Outcome + +- + +--- + +Available status: +- investigating +- resolved +- monitoring + +Available classifications + +| Classification | Use when | +| ---------------------- | ---------------------------------------------------------------------------------- | +| `confirmed-sync-issue` | There was an actual technical synchronization problem | +| `no-issue-confirmed` | Complaint resolved/no technical issue found | +| `unrelated-issue` | The problem was real, but **not caused by synchronization** | +| `user-error` | Incorrect action/configuration/input by the requester caused the perceived problem | +| `unknown` | Insufficient information to determine what happened | diff --git a/20 Work/Tracking/Website Sync/Website Sync - Complaint Tracking.md b/20 Work/Tracking/Website Sync/Website Sync - Complaint Tracking.md index e78bdd2..ab46238 100644 --- a/20 Work/Tracking/Website Sync/Website Sync - Complaint Tracking.md +++ b/20 Work/Tracking/Website Sync/Website Sync - Complaint Tracking.md @@ -5,22 +5,13 @@ ```dataview TABLE jira AS "Jira", - reported_at AS "Reported", - status AS "Classification" -FROM "20 Work/Tracking/Website Sync/Incidents" + status AS "Status", + classification AS "Classification" +FROM "20 Work/Tracking/Website Sync" +WHERE jira SORT date DESC ``` -## Premature checks - -```dataview -TABLE - jira AS "Jira", - reported_at AS "Reported" -FROM "20 Work/Tracking/Website Sync/Incidents" -WHERE status = "premature-check" -SORT date DESC -``` ## Confirmed sync issues diff --git a/Untitled.md b/Untitled.md new file mode 100644 index 0000000..e69de29