vault backup: 2026-08-14 13:05:08

This commit is contained in:
2026-08-14 13:05:08 -04:00
parent a9be9deda5
commit 9990fa6660
7 changed files with 239 additions and 43 deletions
+4
View File
@@ -14,6 +14,10 @@
"navigationBanner": null,
"periodicNotesFolder": "20 Work/Journal",
"shortcuts": [
{
"type": "folder",
"path": "20 Work/Decisions"
},
{
"type": "folder",
"path": "20 Work/Meetings/Inbox"
+80 -2
View File
@@ -7,6 +7,11 @@ owner: Amadou
<%*
const date = tp.date.now("YYYY-MM-DD");
const year = tp.date.now("YYYY");
const month = tp.date.now("MM");
// --------------------------------------------------
// 1. Ask for decision title
// --------------------------------------------------
const title = await tp.system.prompt("Decision title");
@@ -16,19 +21,92 @@ if (!title) {
}
const safeTitle = title
.replace(/[\\/:\*?"<>|]/g, "-")
.replace(/[\\/:*?"<>|]/g, "-")
.trim();
// --------------------------------------------------
// 2. Find available projects for the current year
// --------------------------------------------------
const projectsFolder = `20 Work/Projects/${year}`;
const projectFiles = app.vault
.getMarkdownFiles()
.filter(file => file.parent?.path === projectsFolder)
.sort((a, b) => a.basename.localeCompare(b.basename));
// First option allows a decision with no project
const projectLabels = [
"— No project —",
...projectFiles.map(file => file.basename)
];
const projectValues = [
null,
...projectFiles
];
// --------------------------------------------------
// 3. Ask which project this decision belongs to
// --------------------------------------------------
const selectedProject = await tp.system.suggester(
projectLabels,
projectValues,
false,
"Related project"
);
// Cancelling the modal cancels note creation
if (selectedProject === undefined) {
new Notice("Decision cancelled.");
return;
}
// --------------------------------------------------
// 4. Create Decisions/YYYY/MM folder
// --------------------------------------------------
const baseFolder = "20 Work/Decisions";
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);
}
// --------------------------------------------------
// 5. Build filename
// --------------------------------------------------
let filename;
if (selectedProject) {
const safeProject = selectedProject.basename
.replace(/[\\/:*?"<>|]/g, "-")
.trim();
filename = `${date} - ${safeProject} - ${safeTitle}`;
} else {
filename = `${date} - ${safeTitle}`;
}
// --------------------------------------------------
// 6. Move + rename note
// --------------------------------------------------
await tp.file.move(
`${yearFolder}/${date} - ${safeTitle}`
`${monthFolder}/${filename}`
);
// Make project available later in the template
const projectLink = selectedProject
? `[[${selectedProject.basename}]]`
: "";
-%>
> 🟡 **Proposed** · 🟢 **Decided** · 🔴 **Rejected** · ⚫ **Superseded**
@@ -68,3 +68,7 @@ What would I do differently next time?
## Related
- [[]]
### Notes
Signed on August 14th
@@ -0,0 +1,39 @@
---
date: 2026-08-14
status: proposed
owner: Amadou
---
> 🟡 **Proposed** · 🟢 **Decided** · 🔴 **Rejected** · ⚫ **Superseded**
## Context
Vu que le live OTT sera une priorité marketing pour cette automne, nous allons expliquer a Sonia et Philippe l'étendu de l'aspect technique afin qu'ils soient au courant de ce que cela prend.
Expliquer aussi que nous allons faire un vrai test aussi
## Options Considered *(optional)*
- **Option 1**
- Pros:
- Cons:
- **Option 2**
- Pros:
- Cons:
## Decision
## Why
- Afin d'éviter toutes surprises et déceptions
## Consequences
- Tout le monde est sur la même page
## Related
- [[2026-08-14]]
-
+71
View File
@@ -0,0 +1,71 @@
# Friday, August 14th 2026
← [[2026-08-13]] | **Week 33** | [[2026-08-15]] →
---
## Meetings
- Rencontre pour la discussion technique de OTT et le flux
---
## Significant Events
- Demande de la facture TVO
- Signature pour les changements OTT
---
## Decisions Made
- [[2026-08-07 - Pay Trings for the french tabs]]
---
## People / Management
Feedback given, coaching moments, observations.
-
---
## Projects
Important project changes only.
- OTT, on va faire un vrai live
---
## Leadership Reflection
### What surprised me today?
-
### What did I learn today?
-
### What would I do differently next time?
-
---
## Follow-ups
> Only actions that still belong to me.
> Everything else should already be in **Twos**, **Jira**, or **Monday**.
- [ ]
---
## Related
- [[]]