SeriousBug
06/27/2022, 4:03 PMglucinater21
06/27/2022, 4:03 PMcameron
06/27/2022, 10:17 PMkevins8
06/27/2022, 11:42 PMfoureyedsoul
06/28/2022, 12:01 AMkevins8
06/28/2022, 1:03 AMaleksey
06/29/2022, 4:52 PMctrl+enter
to work on normal links](https://github.com/dendronhq/dendron/issues/2670)
2. [Create a keyboard shortcut to close Preview](https://github.com/dendronhq/dendron/issues/1438)
3. [Allow mapping keybindings to custom task statuses](https://github.com/dendronhq/dendron/issues/2643)
4. None of these (if there's an issue you'd like to add to rotation, please reply with a Github issue).
To vote, respond with a 1️⃣ 2️⃣ 3️⃣ or 4️⃣ to this message. Voting closes Monday at noon Pacific Time.foureyedsoul
06/29/2022, 6:08 PMkfischer_okarin
06/30/2022, 3:18 PMapi/notes/getByPath
was just recently deleted)
I would love if there was a clear, dead simple (as in... the json is basically exactly what you see in your editor - just formatted as json) and stable endpoint for getting/setting note data
Something like
http
GET /notes/hierarchy.deeper.some.note
which would return
json
{
"content": "note content",
"frontmatter": {
"id": "...",
"just": "the",
"stuff": "from",
"the": "yaml as it is"
}
}
and an equivalent PUT
endpoint which would also then write it back to the filesystem (and of course trigger all the respective update bookkeeping etc)
(though I can see that "writing back" yaml might be tricky - and probably needs some kind of sanity check/diff to not needlessly overwrite the frontmatter just because someone used one or the other way of multiline strings / arrays)kfischer_okarin
06/30/2022, 3:18 PMkfischer_okarin
06/30/2022, 3:20 PMaleksey
07/01/2022, 2:16 AMkevins8
07/01/2022, 3:13 AMgetByPath
😅
we're doing some cleanup on our internals
because we're currently working on releasing a stable version of our internal api. see [here](https://github.com/dendronhq/dendron-docs/blob/main/notes/leaflet.2022.05.18.data-model-2-0.md#L161:L161) for the design
the api is currently id based so getting a note would be GET /notes/:id
getting the note by name would be using GET /notes/find
this will return a NoteProps
object, the parameters are in [[Note Props|dendron://dendron.docs/pkg.common-all.ref.note-props]]
the custom
maps to frontmatter
keyskevins8
07/01/2022, 3:17 AMkfischer_okarin
07/01/2022, 3:48 AMhaaaaah
07/01/2022, 12:20 PMkimsia
07/02/2022, 7:20 AMkevins8
07/02/2022, 3:23 PMdiagnostics report
?kimsia
07/05/2022, 4:38 AMrlh1994
07/05/2022, 4:03 PMkevins8
07/05/2022, 4:34 PMChinmay
07/07/2022, 4:52 PMkevins8
07/07/2022, 5:21 PMChinmay
07/07/2022, 5:40 PMaleksey
07/09/2022, 2:20 AMerror while running command: Cannot read properties of undefined (reading 'forEach')
when running Doctor: fixfrontmatter
command on a simple self-hosted vault with five notes. Is this a know bug?
info: {"ctx":"dendron.dev.doctor:run","msg":"pre-execute"}
info: {"ctx":"DoctorCommand:execute","msg":"pre:Reload"}
info: {"ctx":"ReloadIndex.execute","msg":"enter"}
info: {"ctx":"ReloadIndex.execute","durationEngineInit":33}
info: {"ctx":"ReloadIndex.execute","msg":"exit"}
error: {"ctx":"dendron.dev.doctor:run","error":{"stack":"TypeError: Cannot read properties of undefined (reading 'forEach')\n\tat d.refreshNotesV2 (c:\\Users\\ar\\.vscode\\extensions\\dendron.dendron-0.102.0\\dist\\extension.js:2:374343)\n\tat d.bulkWriteNotes (c:\\Users\\ar\\.vscode\\extensions\\dendron.dendron-0.102.0\\dist\\extension.js:2:372513)\n\tat processTicksAndRejections (node:internal/process/task_queues:96:5)\n\tat async t.BackfillService.updateNotes (c:\\Users\\ar\\.vscode\\extensions\\dendron.dendron-0.102.0\\dist\\extension.js:2:323521)\n\tat async Pr.execute (c:\\Users\\ar\\.vscode\\extensions\\dendron.dendron-0.102.0\\dist\\extension.js:8:3206237)\n\tat async Pr.run (c:\\Users\\ar\\.vscode\\extensions\\dendron.dendron-0.102.0\\dist\\extension.js:8:2992211)\n\tat async c:\\Users\\ar\\.vscode\\extensions\\dendron.dendron-0.102.0\\dist\\extension.js:8:3414789\n\tat async o._executeContributedCommand (c:\\Users\\ar\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\out\\vs\\workbench\\api\\node\\extensionHostProcess.js:85:62863)","message":"error while running command: Cannot read properties of undefined (reading 'forEach')","name":"DendronError","status":"unknown","payload":"{}","innerError":{}}}
Joshi
07/09/2022, 10:48 AMScriptAutomate
07/11/2022, 7:34 PMCopy Note URL
which could extend to behavior in publishing when working in a multi-vault setup:
- https://github.com/dendronhq/dendron/issues/3222
I wasn't sure whether a discussion made more sense or not, but the enhancement to Copy Note URL
feels like it could extend to behavior in publishing when working with external links (instead of setting as private links where applicable, for example)kevins8
07/11/2022, 7:49 PMkevins8
07/11/2022, 7:50 PMsiteUrl
property to the vaultScriptAutomate
07/11/2022, 11:19 PM