https://www.dendron.so/ logo
Join Discord
Powered by
# dev
  • h

    hikchoi

    05/05/2021, 8:30 AM
    have you by any chance rename or delete notes directly from the file explorer pane?
  • u

    user

    05/05/2021, 8:31 AM
    yes!
  • h

    hikchoi

    05/05/2021, 8:33 AM
    Dendron virtually keeps info about the notes you have, and some actions in vscode causes the internal info and the actual info to drift apart. So it's out of sync and causing this error. Could you try
    Reload Window
    and see if it goes away?
  • u

    user

    05/05/2021, 9:00 AM
    Yes, sorry had to go, but back and
    Reload Window
    did the trick. Thanks!
  • l

    Licat

    05/07/2021, 3:47 AM
    I'm sorry I haven't been able to respond to this earlier. I'm really glad this is happening, it will be a great step forward! First I'd like to thank the guys at Foam who came up with the original format proposal. While ours ended up being slightly different, I think the design principles were still the same. In the end, I believe Foam's team is also planning on incorporating the block ID format that Obsidian has been using for interoperability which is a big win for the ecosystem. Let me know if you run into any roadblocks, or if there's anything confusing with the format. I know we don't have any kind of formal spec for it. I'm happy to help clarify if you need help.
  • u

    user

    05/07/2021, 10:54 AM
    I just cloned the repo and followed instructions to initialize everything. Now trying to debug the extension. Getting this in the resulting vscode window:
  • u

    user

    05/07/2021, 10:54 AM
    This is more explicit:
  • u

    user

    05/07/2021, 10:55 AM
    Also, in the originating workspace (the one I ran the command from): rejected promise not handled within 1 second: TypeError
    Copy code
    [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-fork.js:5
    stack trace: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
        at validateString (internal/validators.js:120:11)
        at Object.dirname (path.js:1128:5)
        at Object.<anonymous> (/Users/candide/.vscode/extensions/dendron.dendron-markdown-links-0.6.20/dist/extension.js:25:91772)
        at Generator.next (<anonymous>)
        at /Users/candide/.vscode/extensions/dendron.dendron-markdown-links-0.6.20/dist/extension.js:25:91022
        at new Promise (<anonymous>)
        at /Users/candide/.vscode/extensions/dendron.dendron-markdown-links-0.6.20/dist/extension.js:25:90767
        at Object.setupDendron (/Users/candide/.vscode/extensions/dendron.dendron-markdown-links-0.6.20/dist/extension.js:25:91711)
        at /Users/candide/.vscode/extensions/dendron.dendron-markdown-links-0.6.20/dist/extension.js:41:73130
        at Function._callActivateOptional (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:91:14382)
        at Function._callActivate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:91:14051)
        at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:91:12203
        at processTicksAndRejections (internal/process/task_queues.js:97:5)
  • h

    hikchoi

    05/07/2021, 11:24 AM
    Cannot register multiple views with same id ...
    happens when you have multiple instances of Dendron enabled. Did you run it with
    Run Extension (plugin-core)
    ?
  • h

    hikchoi

    05/07/2021, 11:25 AM
    Run Extension -- disable extensions (plugin-core)
    would take care of the bottom two error messages.
  • h

    hikchoi

    05/07/2021, 11:28 AM
    From the first error message it seems like there was a problem in the build step?
  • h

    hikchoi

    05/07/2021, 11:34 AM
    Just caught up with the discussion in #735365126227493004 . If you are trying to generate notes, we have cli for that: https://wiki.dendron.so/notes/23a1b942-99af-45c8-8116-4f4bb7dccd21.html#note-commands
  • h

    hikchoi

    05/07/2021, 11:35 AM
    Not all dendron features are exposed to the cli so you might need to launch the engine server and make calls to that to get what you want: https://wiki.dendron.so/notes/23a1b942-99af-45c8-8116-4f4bb7dccd21.html#launchengineserver
  • u

    user

    05/07/2021, 12:13 PM
    I had not built anything... Just did now and things work a lot better, thanks šŸ™‚ The next thing for me is to get the debug-extension some files. I was asked to open a folder in the left pane (don't have a screenshot anymore but I hope you know what I mean), so I pointed my new vscode window/workspace to where my "normal" dendron nodes are stored. Now when I launch the debugger again, I can see my files as usual, but I get the following message, which I find confusing:
  • u

    user

    05/07/2021, 12:14 PM
    It's confusing because my notes folder doesn't contain a
    dendron.code-workspace
    file, it's in an entirely different place than where my notes are.
  • h

    hikchoi

    05/07/2021, 12:16 PM
    the first time it asked you if you want to open a workspace, it was asking if you wanted to open one of the workspaces for development. (not a dendron workspace)
  • h

    hikchoi

    05/07/2021, 12:21 PM
    I'm not sure how you want to test out elasticsearch with your notes, so I can't give you specific advices, but I'd say unless you are extending what dendron itself is doing and testing out that feature, building from the source code and programmatically generating notes isn't a general way of doing this. But you can look into the code and see how dendron creates notes and get some hints.
  • h

    hikchoi

    05/07/2021, 12:22 PM
    if you can describe what you want to do specifically, I can try to help you out once I sit down and have some time to look into it šŸ™‚
  • u

    user

    05/07/2021, 12:23 PM
    Thanks, I will do that to the best of my ability as soon as I myself can sit down and do it šŸ™‚
  • u

    user

    05/07/2021, 12:23 PM
    Thank you for your support
  • u

    user

    05/07/2021, 1:40 PM
    So, one of the things I would like to use Dendron for is a query-able dream journal. Essentially, I would like to know in the long run if any of the following have any effect on the contents of my dreams: - yoga nidra before sleep - sports - supplements More specifically, I would like to know if doing those things several days or weeks in a row, has any effect on my dreams. Other things I would like to track are: - dreamed persons, places, emotions - themes: journey, work, ... - recall quality / mood / feeling Right now, here's what my current Dendron hierarchy looks like:
    Copy code
    bash
    └── dreams/
        ā”œā”€ā”€ journal
        │   └── 2021
        │       └── ...
        ā”œā”€ā”€ people/
        │   └── sarah.md
        │   └── alfred.md
        ā”œā”€ā”€ places/
        │   └── home.md
        │           └── my-current-home.md
        │           └── some-previous-home.md
        │   └── cities.md
        │       └── paris.md
        │       └── mannheim.md
        └── themes/
            ā”œā”€ā”€ journey.md
            └── anxiety.md
    This is really nice for dream recall, as I am able to easily point to the different 'dream signs' (people, themes, etc) as I write down what I can remember. I also have a 'supplements' hierarchy that follows the same pattern. What I want to do is easily visualize on a per-week basis, for example, the relative proportion of dreamed themes / people / places, etc, and I am planning on using ElasticSearch for this purpose. So before investing too much time using this dream recall pattern, I want to make sure that I can achieve what I want with ES, and my plan is to create a bunch of random-generated, dummy dream records containing references to my various dream sign categories, and then try to feed that into ES and experiment with some visualizations.
  • k

    kevins8

    05/07/2021, 3:47 PM
    because debugging VSCode by default loads up all extensions that are installed, you'll have issues trying to develop Dendron if you also have VSCode installed . the workaround is to install an alternative flavor of vscode (eg. [insider edition](https://code.visualstudio.com/insiders/)) to use for development
  • u

    user

    05/07/2021, 3:49 PM
    Aaah that makes a lot of sense! Thanks
  • k

    kevins8

    05/07/2021, 3:50 PM
    also a heads up that if you just want to talk to the server, we now let you spin one up from the CLI: https://wiki.dendron.so/notes/23a1b942-99af-45c8-8116-4f4bb7dccd21.html#launchengineserver
  • k

    kevins8

    05/07/2021, 3:50 PM
    we'll also be releasing a hook system starting next week so you can plugin into note lifecycles using scripts: https://wiki.dendron.so/notes/d2f8fe67-36c7-4600-b745-c22bdcb5b2cf.html
  • u

    user

    05/07/2021, 4:19 PM
    That is really cool, although I would not know how to use this server, as it currently stands: https://wiki.dendron.so/notes/348fc5c7-e1ba-4fa2-ab6d-a3c94628fa11.html
  • f

    fudo

    05/09/2021, 5:15 PM
    Like mentioned in the office-hours I will write up an RFC for improving Schemas tracking issue is here https://github.com/dendronhq/dendron/issues/712
  • f

    fudo

    05/09/2021, 9:59 PM
    So only missing two entry points in the RFC Document now.
  • u

    8brandon

    05/10/2021, 10:16 AM
    @User based on the update you mentioned yesterday of switching to ant.design for the UI library, I guess it would make sense to update the design-system package and remove chakra-ui and add ant.design? Can do that next time I get a chance if so
  • k

    kevins8

    05/10/2021, 9:02 PM
    @User https://github.com/dendronhq/dendron-site/pull/89#pullrequestreview-656074761 I left comments on your schema RFC. General takeaway is positive. I like the additions, the more flexible import syntax, and being able to group and enumerate matches. left some thoughts. feel free to submit it as a non-draft pull request and we can merge it and start a discussion thread on it. would love to start working on this come june
1...626364...108Latest