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

    Mat

    10/29/2022, 2:52 PM
    Is there a way to filter tasks by status? Like open, done, wip and so on ... They all look the same in the tree view
  • j

    jeep

    10/29/2022, 5:35 PM
    I think if you use TODO Tree and set
    todoIntegration: true
    (under workspace->task that you can. I've had pretty awful luck with TODO Tree and it seems to be unsupported, but I think it's the current way Dendron handles it
  • m

    Mat

    10/29/2022, 5:41 PM
    Ahh.. nice. I thought that was the name of some other tool. I will try it, thanks.
  • j

    jeep

    10/29/2022, 5:42 PM
    TODO Tree is another extension. Dendron just integrates with it.
  • j

    jeep

    10/29/2022, 7:44 PM
    I still don't understand the point of the pluses in the treeview (in the boxes). It makes scanning the treeview very difficult. What is the intention? And can I disable it? Or add an equally sized icon to represent "does not have whatever property the plus represents"?
    j
    • 2
    • 1
  • m

    Mat

    10/29/2022, 7:48 PM
    Yeah, that the placement of the
    +
    could be better was also mentioned here: https://github.com/dendronhq/dendron/issues/767 Edit: To answer your question. The
    +
    just means, that the parent/root node of that subtree does not exist. You can create the missing note and leave it empty to make it go away..
  • j

    jeep

    10/29/2022, 7:54 PM
    So the workaround is to litter the filesystem with empty notes that I don't want backlinks to for every single level of every hierarchy? Bleh. I mean, it's better than the plusses, but makes the hierarchy concept much worse. (edit to add: At that point we should just use folders)
  • m

    Mat

    10/29/2022, 7:55 PM
    For now.. But on the upside.. it allows you to set custom titles and that way define a sorting order
  • t

    triplem

    10/30/2022, 11:37 AM
    Hi there, been using dendron quite a bit and already recommending it to others already. One question for me right now to adopt my workflow is how to change the dateformat for my headings in notes. Using the variables does not provide the correct date (they are always the Current date, which is incorrect if opening a journal entry for a future date) and I am unable to do this using Handelbar helpers. Any hints? I am curremtly using a hook and add a heading but this seems to me rather awkward.
  • t

    triplem

    10/30/2022, 11:42 AM
    Also another question. Is it possible to add variables to notes via the Oncreated hook? Could be useful...
  • j

    jeep

    10/30/2022, 2:48 PM
    short of moving each note individually, is there any way for me to consolidate my two vaults into one and maintain the links? I really like the idea of separating my productivity vault from my reference vault, but there are too many multi-vault issues that prevent me from doing my BuJo-like weekly and monthly rituals with any efficiency. While I know part of BuJo is slowing down this is not slowing me down in a way that let's me reflect. A quick test shows that most of the issues I'm having don't happen with a single vault set up.
    m
    • 2
    • 10
  • j

    jeep

    10/30/2022, 2:59 PM
    What should the source of the date be? If it's in the filename, you could try traits. Here's how I change the date format in the title to include DOW.
    Copy code
    setTitle(props) {
          const dot_loc = props.currentNoteName.indexOf(".");
          stripped_name = props.currentNoteName.slice(dot_loc + 1)
          return luxon.DateTime.fromString(stripped_name, "yyyy.MM.dd").toFormat("yyyy-MM-dd EEE");
        },
  • j

    jeep

    10/30/2022, 3:01 PM
    Though, after I hit send, I realized... I don't think you can apply traits to an already created note
  • b

    Bassmann

    10/30/2022, 3:11 PM
    I have a weird issue with the preview for one of my journal notes. The title is in a long dat format instead of the yyyy-mm-dd format the title itself has in markdown. The backlinks on my monthly journal file show the same. Any idea what I'm doing wrong there?
  • m

    Mat

    10/30/2022, 6:25 PM
    Moving Notes and BuJo in Multivault
  • k

    kevins8

    10/30/2022, 6:37 PM
    can you try quoting the title?
  • t

    triplem

    10/30/2022, 6:51 PM
    Oh, that shouldnt be a Problem. I dont need to change already created notes. But what is a trait and how to used it? How can I use the returned value in a template/ Note?
  • j

    jeep

    10/30/2022, 7:29 PM
    https://wiki.dendron.so/notes/bdZhT3nF8Yz3WDzKp7hqh/ That's the best I can do for teaching you traits...
  • j

    jeep

    10/30/2022, 9:50 PM
    Ugh... trying to consolidate to one vault and most of the time when I move a file, the backlinks just go away. I need to open the files with links, move the note, then recreate the links in the files. This will be tedious if I need to go through this. Any suggestions other than waiting for the issues I listed in the thread to be fixed?
  • j

    jeep

    10/30/2022, 10:01 PM
    And to clarify- I'm using the
    Dendron: Move Note
    command
  • t

    triplem

    10/30/2022, 11:05 PM
    Yeah, well, thaks for your help, but since I do want this functionality for the daily journal notes and like stated I do this already with a hook. But this is awkward. Any more hints on how to solve this? Am I the only one with date formatring Problems?
    j
    • 2
    • 3
  • j

    jeep

    10/31/2022, 12:11 AM
    Yeah well thaks for your help but since
  • j

    Joshi

    10/31/2022, 8:32 AM
    stub representation in tree view
  • j

    JohnMi

    10/31/2022, 9:18 AM
    Hi guys. I would appreciate it if you could help me. I want keep an index in the "python" note for every child note's name that exists in "python" as a list. Until now, i manually add them in "python" I would like to automatically add a line with the name of the note (ie. loops) each time that I create a relevant note. example: programming.python.loops programming.python.variables now, let's say that I create the following note "programming.python.data_types" I want a line called "data_type" to be created (ideally sorted by name) automatically inside the "python" note
  • j

    JohnMi

    10/31/2022, 9:23 AM
    I would appreciate any help. begineer here
  • t

    triplem

    10/31/2022, 11:59 AM
    Hello, I do use Dendron quite some time already and would like to adopt it to my current work/ life-style. I do have to admit, that I need to use a different date-format, so that dendron works for me. Currently the date-format in the journals are "yyy-MM-dd", which is really nice for ordering the journals correctly, but not as nice for my personal Note-texts. Furthermore, I would like to extend my personal workflow to also include monthly (and most probably weekly) reviews. In all those notes, I would like to use the date in the "correct" format (which is dd.MM.yyyy for me). Because I am using the journal-notes and the reviews are in the same hierarchy, and I do think that traits do only work with the command "Create Note With Custom Trait" using traits is (from my current understanding) not an option. I do use hooks already to define the dates in the correct format and to define the title of the notes. Unfortunately the body of the notes is already parsed in the onCreate-Hooks and I cannot just add variables to the frontmatter of my notes and use these variables then in the templates (or do I miss anything here). To solve all this date-"hassles" I do suggest one or more of the following: * additional handlebars helper to format the dates correctly - this could only be used for headings, but not for titles (which are already created using the journal-"Traits") and additional variables inside the template * allow different date-formats for filenames (usually yyyy.MM.dd is fine here) as well as for note-content (as title and note body), this would also allow for future i18n-extensions and seems to be the best solution What are your thoughts about this?
  • t

    triplem

    10/31/2022, 12:00 PM
    Here is my current solution, and I guess, that this is a very rough solution, and I am more then happy to adopt this. If you do have any hints or suggestions, those are more then welcome. dendron.yml:
    Copy code
    hooks:
    
            onCreate:
    
                - id: journal-title
    
                  pattern: daily.journal.[0-2][0-9][0-9][0-9].[0-1][0-9].[0-3][0-9]
    
                  type: js
    
                - id: monthly-title
    
                  pattern: daily.journal.[0-2][0-9][0-9][0-9].[0-1][0-9].review
    
                  type: js
    Those hooks are pretty equal, but do contain the following: journal-title.js:
    Copy code
    module.exports = async function({wsRoot, note, NoteUtils, execa, axios, _}) {
    
        let date = fnameToDate(note.fname)
    
        note.title = date
    
        note.custom = {"date": date}
    
     
    
       note.body = "# Daily " + date
    
     
    
        return {note}
    
    };
    weekly-title.js:
    Copy code
    module.exports = async function({wsRoot, note, NoteUtils, execa, axios, _}) {
    
        let date = fnameToDate(note.fname)
    
        note.title = "Monthly Review " + date
    
        note.custom = {"date": date}
    
     
    
        note.body = "# Monthly Review " + date
    
     
    
        return {note}
    
    };
  • t

    triplem

    10/31/2022, 12:00 PM
    And the journal-schema (journal.schema.yml):
    Copy code
    version: 1
    
    schemas:
    
      # Daily is the top most schema since its parent is 'root' it must have an identifier
    
      # this identifier 'daily' will be used when using 'Lookup (schema)' command.
    
      - id: daily
    
        parent: root
    
        # Children of the top most schema do not need to contain identifier and just
    
        # require a 'pattern' to be set to match the hierarchy of notes.
    
        children:
    
          - pattern: journal
    
            children:
    
              - id: year
    
                title: year
    
                pattern: "[0-2][0-9][0-9][0-9]"
    
                template: dendron.templates.journal
    
                children:
    
                  - id: month
    
                    title: month
    
                    pattern: "[0-1][0-9]"
    
                    template: dendron.templates.journal
    
                    children:
    
                      - id: day
    
                        title: day
    
                        pattern: "[0-3][0-9]"
    
                        # As with regular schema we can set the template to be used with
    
                        # the match of our notes. Below is an example usage of shorthand template
    
                        # definition (which defaults to type: note).
    
                        template: dendron.templates.journal
    
                      - id: review
    
                        title: review
    
                        pattern: "@(review)"
    
                        desc: "Monats Rueckblick"
    
                        template: dendron.templates.monthly.review
    The templates are highly adaopted in the note body, but otherwise pretty standard, therefor I do leave them out. What I don't like about this solution, is that the Headers are included in the hook, and are therefor just adoptable if you are a "programmer" and which is IMHO against the "separation of concerns". Furtheremore the definition of the hooks are pretty "detailed" (define the regexp for the full filename), but I have not found any way to exclude one file from a glob pattern in the hooks section.
  • h

    hikchoi

    10/31/2022, 12:22 PM
    Currently there is no straightforward way to automate this, but using
    Insert Note Index
    when you have
    programming.python
    open and active will create an index (wikilinks) for everything under
    python
    .
  • h

    hikchoi

    10/31/2022, 12:32 PM
    I agree that additional handlebars helpers would be helpful in your situation. We do provide variables for individual day / month / year in the note context though. Are these not sufficient for your use case?
1...725726727...757Latest