TomDuffield
03/25/2022, 2:54 AMTomDuffield
03/25/2022, 2:55 AMkevins8
03/25/2022, 2:59 AMTomDuffield
03/25/2022, 3:01 AMTomDuffield
03/25/2022, 3:02 AMSeriousBug
03/25/2022, 3:02 AMSeriousBug
03/25/2022, 3:03 AMroot.schema.yml
for each vault, which is required. You don't have to use that as your schema though, you can create a new schema with the schema lookup.TomDuffield
03/25/2022, 3:06 AMSeriousBug
03/25/2022, 3:08 AMTomDuffield
03/25/2022, 3:10 AMSeriousBug
03/25/2022, 3:11 AMTomDuffield
03/25/2022, 3:11 AMversion: 1
imports: []
schemas:
- id: yearly_log
pattern: '20[0-9][0-9]'
parent: root
children:
- id: monthly_log
pattern: "[0-1][0-9]"
children:
- id: rapid_log
pattern: "W[0-5][0-9]"
children: []
TomDuffield
03/25/2022, 3:15 AMTomDuffield
03/25/2022, 3:15 AMversion: 1
imports: []
schemas:
- id: resource
pattern: r
parent: root
namespace: true
TomDuffield
03/25/2022, 3:15 AMversion: 1
imports:
- project
- meeting
- resource
schemas:
- id: archive
pattern: a
parent: root
children:
- project.project
- meeting.meeting
- resource.resource
TomDuffield
03/25/2022, 3:15 AMSeriousBug
03/25/2022, 3:16 AMTomDuffield
03/25/2022, 3:36 AMparent: root
and pattern
.kevins8
03/25/2022, 3:37 AMTomDuffield
03/25/2022, 3:40 AMparent: root
in a schema file?
version: 1
imports: []
schemas:
- id: '2021'
parent: root
children:
- monthly_log
- id: '2022'
parent: root
children:
- monthly_log
- id: monthly_log
pattern: '[0-1][0-9]'
children:
- id: rapid_log
pattern: 'W[0-5][0-9]'
children: []
kevins8
03/25/2022, 3:44 AMTomDuffield
03/25/2022, 4:05 AMdagriefaa
03/26/2022, 3:01 AMkevins8
03/26/2022, 3:17 AMalukach
03/26/2022, 5:22 AMdendron.yml
file, I can change the name of a journal:
yaml
journal:
dailyDomain: daily
name: journal
dateFormat: y.MM.dd
addBehavior: childOfDomainNamespace
Is it possible to have it so that under the hierarchy of work.*
, any time that I press `CMD`+`SHIFT`+`J`, it opens a doc in work.*.meeting.{y}.{MM}.{dd}
, however the name would still be called journal
in other hierarchies?alukach
03/26/2022, 6:02 AMaddBehavior: childOfDomainNamespace
configuration mentioned above. However, is it possible to configure journals in a namespace's schema? For example, in prj.schema.yml
, I have it specified that journal
is a child. journal
is specified with a pattern for the date format.
What I'd love to get is a way to press CMD+SHIFT+J
to open a prompt to create a journal at proj.my_proj.journal.2022.03.22
, but then be able to to press . + TAB
and be able to see potential files specified in my schema. For example, I'd like to be able to create notes for a standup at proj.my_proj.journal.2022.03.22.standup
with a preset template, along with other meeting types. This way, I can quickly drop into templated meeting notes for various meeting types (design sessions, standups, retrospectives, etc) for any given day.
Does this all make sense? Is this possible? Does this fit in with the zen of Dendron? I'm very new to the tool and am still onboarding.
yml
version: 1
imports: []
schemas:
- id: prj
parent: root
title: project
desc: project note helpers
namespace: true
children:
- journal
- id: journal
title: journal
parent: root
children:
- id: year
pattern: "[0-2][0-9][0-9][0-9]"
children:
- id: month
pattern: "[0-1][0-9]"
children:
- id: day
pattern: "[0-3][0-9]"
children:
- id: standup
title: standup
desc: "standup"
template: templates.standup
SeriousBug
03/26/2022, 6:04 AMCmd+Shift+J
, then bring up the lookup with Cmd+L
. The lookup will have the current note pre-filled, and I believe it should suggest matching schemas as potential new files you could create.alukach
03/26/2022, 6:12 AMjournal
isn't really a child of prj
, rather it's like prj.foo.journal.2022.03.22
(note foo
)SeriousBug
03/26/2022, 6:14 AMparent: root
from journal
because it's parent is prj
(it should work with the namespace so it will match prj.*.journal
)alukach
03/26/2022, 6:16 AMparent:root
was indeed m problem. It all works exactly as I had hoped (in one step, can create the prj.foo.journal.2022.03.22.standup
)! Many thanks