https://www.dendron.so/ logo
Join Discord
Powered by
# questions
  • m

    mihaiconstantin

    01/21/2022, 11:23 AM
    I want by default to apply the direct child filter in the lookup. As per the documentation, I pass it as an argument to the
    dendron.lookupNote
    command as follows in `keybidings.json`:
    Copy code
    json
        ...
        {
            "key": "cmd+l",
            "command": "dendron.lookupNote",
            "args": {
                "filterMiddleWare": ["directChildOnly"]
            }
        }
        ...
    However, the icon in the lookup bar does not get selected and the lookup does not seem to respect the argument. Other arguments like
    "initialValue": "foo"
    seem to work just fine. Do you know what the problem might be?
  • h

    hikchoi

    01/21/2022, 12:08 PM
    filterMiddleWare
    should be
    filterMiddleware
    . There is a typo in the documentation. I'll make sure that gets fixed soon. Sorry about that.
  • m

    mihaiconstantin

    01/21/2022, 12:32 PM
    It works! Thanks a lot again!
  • t

    Tika

    01/21/2022, 1:06 PM
    how does one constrain Refactor Hierarchy to the current vault?
  • h

    hikchoi

    01/21/2022, 1:12 PM
    we currently don't support scoping the refactor by vault, but you can limit the scope of refactor with lookup. It's not an ideal solution so we are planning to add vault scoping to it in the future.
  • t

    Tika

    01/21/2022, 1:13 PM
    so, how do i do it with lookup?
  • t

    Tika

    01/21/2022, 1:15 PM
    the easiest would be to say:
    vault.foo.bar
    to rename to
    vault.foos.bars
    or even to
    anothervault.foos.bars
    as discussed before. but what is the actual way to do it in a workspace with a few vaults?
  • h

    hikchoi

    01/21/2022, 1:24 PM
    Apologies, I mistaken the behavior of the scoping capability of refactor in my previous reply. We haven't opened up a general way to use lookup for refactor hierarchy yet. When you have a list of wikilinks within your selection in the note, triggering refactor hierarchy will prompt you with a lookup with only the links that were detected in the selection. This was introduced so that it would be easier to refactor when you have a note with a collection of links that you would want to refactor. We will be expanding on this so that there could be more fine grained scoping for refactor in the future. among them being limiting refactor to a certain vault
  • t

    Tika

    01/21/2022, 1:28 PM
    i am trying to change the names of some top domains but
    Refactor Hierarchy
    picks the results all over the place. i guess i shall have to use the
    Rename Note
    command for now to rename what i cannot constrain. seems like an important feature to add
  • t

    Tika

    01/21/2022, 1:29 PM
    i guess i could prepend the names of top domains with the vault name or initial for now
  • t

    Tika

    01/21/2022, 1:30 PM
    maybe forcing this could be the solution, not sure
  • h

    hikchoi

    01/21/2022, 1:31 PM
    I agree. That is why we are planning to introduce refactor-derivative commands that can do specific things in a more intuitive way 🙂
  • s

    seadude

    01/21/2022, 3:46 PM
    Documentarians! When creating your knowledge base, how do you name your Dendron files? I'm struggling with finding good names that I can build from. Some patterns I find myself user are: 1. Mentally recreate a folder-system-like hierarchy ("projects.projectx.business.web.marketing.meeting.2022-01-21.md") resulting in long, redundant filenames. OR 2. Create a tag-like structure that does not scale well ("api.soap.usda.sensors.md") OR 3. Keep the names too broad and simple ("penpals.notes")
  • s

    seadude

    01/21/2022, 3:51 PM
    Is it all just personal choice or is there a Wikipedia-like index of all possible concepts to pick from when naming files? Something to shoehorn our notes into some structure? OR Does it not matter and just use "search" to find the content within?
  • f

    foureyedsoul

    01/21/2022, 4:00 PM
    Such a good question! I usually think "how will I find this again," then go with that as I'm making a file. That usually ends up being verbose, like your first example. One of the things I love about Dendron is how easy it is to rename things at scale. Kevin's "amoeba pattern" metaphor really hooked me in, too.
  • f

    foureyedsoul

    01/21/2022, 4:05 PM
    It's not Wikipedia, but I've seen people (mostly in the Obsidian discussion forum) talk about adapting library classification schemes like Dewey or the Library of Congress. Both have merits, both have problems… I personally think that making my own mental categories "external" and visible to me helps my thinking more than adapting would, but that's maybe one of those things that comes each person's own ways of thinking rather than there being "one Universal Best Practice."
  • s

    seadude

    01/21/2022, 4:12 PM
    Well said! Sounds like we're thinking similarly about the topic: How to classify knowledge!? Its exciting to be part of this community on the forefront of using the latest tech to tackle the question!
  • s

    seadude

    01/21/2022, 4:20 PM
    There was a discussion in some old emacs org-mode thread arguing for one, single, "life.org" file. Using tags and headers to search...
  • s

    seadude

    01/21/2022, 4:21 PM
    Like a log file!
  • s

    seadude

    01/21/2022, 4:23 PM
    I can almost feel a "km-theories" channel coming on 🙂
  • b

    benhsm | Jack of N trades

    01/21/2022, 4:23 PM
    a thread might be good in the meanwhile
    s
    f
    • 3
    • 4
  • h

    hikchoi

    01/21/2022, 4:31 PM
    I tend to mix different styles depending on the hierarchy. For notes from consuming media (anything
    ext
    ernal to my own thinking really, in any form. books, videos, articles), I tend to stick to a relatively flat hierarchy, a title, then maybe some children with sections if the delineation is already there at the source (and I need the distinction). Most of these note end up 2 hierarchy deep for me. (e.g.
    ext.tagging-is-broken
    is a [note](https://cerebrarium.garden/notes/AditpuL7z-aTfrf-GhlJA/) I took while reading https://fortelabs.co/blog/tagging-is-broken/) For individual bits of my own thought, I try to make it a sentence that sufficiently explains itself. If I can't fit it in within a one-liner sentence, I try to break down the idea further so it can. For areas that are significant enough that I know where to look for, I tend to categorize them with simple words (e.g.
    cerebrarium.botany.plants.operculicarya.pachypus
    is a note that know would have any information related to this particular plant.) With wikilinks, we can be free of any structure and make notes that are just leaves (though I do tend to have at least one hierarchy that collects all these). and when applicable we can use the dot notation to create a sensible hierarchy, and I think that's the beauty of having both in Dendron. (and both can coexist and link each other. A network of notes can be linked at a central location somewhere that has a more rigid hierarchy serving as an index or entry point for the ideas)
  • s

    seadude

    01/21/2022, 4:38 PM
    Very keen insights to your structure, thank you!
  • h

    hikchoi

    01/21/2022, 4:40 PM
    relevant post on this from the same person I mentioned: https://fortelabs.co/blog/a-complete-guide-to-tagging-for-personal-knowledge-management/ (which I also have a note on here: https://cerebrarium.garden/notes/5mIZe4ErtT5e0ztEX0Tiw/ 😄)
  • g

    glucinater21

    01/21/2022, 4:41 PM
    Anyone know how to deal with this error
    Copy code
    Was not able to construct asset path for data:'{"href":"vscode-webview://8b23d6a6-d471-4281-918d-71c307cdb802/assets/spr22/MultiCalc/13.1_Vectors_in_the_plane.pdf","id":"file-vault\\assets\\spr22\\MultiCalc/math..multivariable-calculus.md"}' wsRoot:'c:\Users\AdamG\Desktop\knowledge2'
  • s

    seadude

    01/21/2022, 4:41 PM
    I'm also interested in what happens when the author publishes? At that point, further consumers of the info really need to rely on search depending on how the table of contents is organized.
  • g

    glucinater21

    01/21/2022, 4:42 PM
    Currently not able to open files in the markdown preview
  • s

    seadude

    01/21/2022, 4:44 PM
    @User It looks like the file path for
    "id":"file-vault\\assets\\spr22\\MultiCalc/math..multivariable-calculus.md"
    may be in correct?
  • g

    glucinater21

    01/21/2022, 4:45 PM
    Fixed it, somehow the file was deleted without me knowing
  • s

    seadude

    01/21/2022, 4:45 PM
    See the direction of slashes in front of ./math`?
1...515516517...757Latest