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

    hikchoi

    04/01/2021, 4:46 PM
    If I dont have a specific question I usually post it in #717965437182410786 . It usually leads to something more solid and become a github issue.
  • h

    hikchoi

    04/01/2021, 4:47 PM
    I have suggested enabling the github discussion tab, which is perfect for these kinds of, well. Discussions πŸ˜„
  • u

    user

    04/01/2021, 5:13 PM
    Yeah, I think that could work well. Discord always makes you lose context and then people feel bad for drudging up ancient (read 3 day old) conversations.
  • u

    user

    04/01/2021, 5:13 PM
    Also I think the topic really needs some thought behind it.
  • u

    user

    04/01/2021, 5:56 PM
    And I don't want to flood Kevin with just a bunch of feature requests without some thought behind them πŸ˜‚
  • k

    Kiran

    04/01/2021, 7:09 PM
    You got it πŸ™‚ https://github.com/dendronhq/dendron/discussions
  • k

    Kiran

    04/01/2021, 7:09 PM
    Let's keep it small for now and expand to the rest of the community once we feel like it's working well for us.
  • u

    8brandon

    04/02/2021, 7:24 PM
    Easter weekend is here and I finally got some free time to makes this RFC about the Dendron design system as posted a while ago πŸ™‚ https://discord.com/channels/717965437182410783/748936364283920495/824772966545358849 https://github.com/dendronhq/dendron-site/pull/75
  • k

    kevins8

    04/02/2021, 10:44 PM
    this is awesome. just merged πŸ™‚
  • k

    kevins8

    04/02/2021, 11:21 PM
    @User @User Here's a build with extra diagnostics. Can you install this and next time you see the vault issue, run
    > Diagnostics Report
    and sent me the output? https://artifacts-prod-artifactb7980f61-19orqnnuurvwy.s3.amazonaws.com/publish/dendron-0.35.2-alpha.0.vsix Thanks!
  • f

    foureyedsoul

    04/03/2021, 1:01 AM
    Will do! Is there any extra setup necessary beyond just installing it & restarting VS Code?
  • k

    kevins8

    04/03/2021, 1:03 AM
    nope, that’s it. when you do a lookup, you’ll see the version number to know that you have the right version
  • u

    8brandon

    04/03/2021, 6:05 AM
    working on the dendron-design-system example. Is there an svg form of the logo or only the png one on this page? https://wiki.dendron.so/notes/734a8c36-baff-43d1-8b12-99bb16837049.html
  • t

    tfer

    04/03/2021, 1:55 PM
    So I've discussed some of my experiments over in #766135383335370783 on using Dendron to support
    reading notes
    , for textbooks I own. My main problem is the nav panel doesn't work well with the textbook structure as represented by set of, (mostly empty), notes I've create outside of Dendron, (think
    touch
    plus
    Dendron: Doctor
    ). To go forward, I think my best bet is to just scrap Dendron's nav panel and replace it with the one from the Publisher's
    read it online
    offering, (neglecting ip issues for the moment, as this is just a personal experiment at the moment). Towards that end, I want to dump a some thoughts, experiment results, and intuitions about Dendron's guts, to get some feedback. To mock-up what I'm intending, I just
    pasted the book navigation JS over Dendron's *tree-nav* code
    using Chrome's devtools, despite needing adjustment, (links fixed to target the notes, scrolling added to the div, bigger div width or smaller font...) it looked nice. To give the mock-up more permanence, I figure I'll build the site and make the edits on the resulting files. * NB,
    ...: Site Preview
    does not seem to populate the
    doc
    folder *
    ...: Site Build
    seems to require a
    site-url
    and do the deployment for you? * so any subsequent use would clobber my hand crafted edits I think my best bet would be to use a container with a webserver, put that under git, so I could throw away any clobbering that takes place. Then I can run the container locally and point my browser at it to check builds. Note: I not really a webhead
  • k

    kevins8

    04/03/2021, 2:24 PM
    @User svg
  • k

    kevins8

    04/03/2021, 2:25 PM
    and here are photoshop, illustrator and various other assets πŸ˜…
  • k

    kevins8

    04/03/2021, 2:28 PM
    site build generates files into docs. the nav is loaded asynchronously so if you wanted a different nav, you could modify the nav script. you can see the code for it here: https://github.com/dendronhq/dendron/blob/dev-kevin/packages/dendron-cli/src/commands/build-site-v2.ts#L106:L106
  • u

    8brandon

    04/03/2021, 4:24 PM
    Per the RFC #6, here's an example of what could be the Dendron design-system πŸ˜„ https://goofy-jackson-767e07.netlify.app/ I have a WIP Pull Request on the go, still a draft basically https://github.com/dendronhq/dendron/pull/602
  • u

    8brandon

    04/03/2021, 4:27 PM
    Next component was thinking I could add would be the button from the main page.
  • k

    kevins8

    04/03/2021, 6:07 PM
    just left a minor comment on the pull request. nice work πŸ‘
  • t

    tfer

    04/03/2021, 6:46 PM
    Nice use of a GitHub feature I didn't know about πŸ˜† . A little help parsing
    the nav is loaded asynchronously
    , assuming you using asynchronously in the digital sense i.e. β€œhaving each operation started only after the preceding operation is completed” [[dictionary.com]] You are referring to firing it off in some point of the webpage load sequence?, i.e. load the note in its unique
    ID-incorporating
    html file format and then start the nav load, letting it adjust to what levels should be open? > My understanding of asynchronously, (gleaned by osmosis) is more like fired off in its own thread without regard to when it finishes, i.e. a callback without worrying about signaling its return.
  • t

    tfer

    04/03/2021, 8:30 PM
    To get around the siteUrl not set error I pointed to my local repo
    Copy code
    version: 1
    vaults:
        -
            fsPath: vault
    useFMTitle: true
    noLegacyNoteRef: true
    site:
        copyAssets: true
        siteUrl: file://localhost/C:\VC\git\bk.Programers_Brain
        writeStubs: false
        siteHierarchies:
            - root
        siteRootDir: docs
        usePrettyRefs: true
        title: Dendron
        description: Personal knowledge space
        duplicateNoteBehavior:
            action: useVault
            payload:
                - vault
    now it builds and puts the files in
    docs
  • h

    hikchoi

    04/04/2021, 1:52 AM
    oh wow this is great stuff πŸ‘€
  • h

    hikchoi

    04/04/2021, 4:06 AM
    @User can you roughly walk me through the steps on how schema templates are applied during note creation? I want to see if we can wrap the template body in a `SnippetString`: https://code.visualstudio.com/api/references/vscode-api#SnippetString
  • k

    kevins8

    04/04/2021, 4:27 AM
    here's the function: https://github.com/dendronhq/dendron/blob/dev-kevin/packages/common-all/src/dnode.ts#L802:L802 an easy way to figure out whats going on is to manually set a debugger inside `applyTemplates`: https://wiki.dendron.so/notes/b239c77e-52f2-4cc3-8390-69e0bc776a72.html#breakpoints
  • h

    hikchoi

    04/04/2021, 5:42 AM
    πŸ‘
  • l

    Lars Solberg (xeor)

    04/04/2021, 7:15 PM
    I'm working on a Dendron/Theia app.. I added the dendron + the 2 depending extensions, but I'm getting this error:
    Copy code
    error: {"ctx":"A:run","err":{"status":"unknown","msg":"","payload":"{\"msg\":\"c.default.Uri.joinPath is not a function\",\"stack\":\"TypeError: c.default.Uri.joinPath is not a function\\n    at A.execute (/Users/xeor/Temp/dendron-theia/theia-apps/theia-electron/plugins/dendron/extension/dist/extension.js:736:71386)\\n    at async A.run (/Users/xeor/Temp/dendron-theia/theia-apps/theia-electron/plugins/dendron/extension/dist/extension.js:9:103586)\\n    at async /Users/xeor/Temp/dendron-theia/theia-apps/theia-electron/plugins/dendron/extension/dist/extension.js:9:79725\"}"}}
    Anyone that knows of the top of their head where this default.Uri.joinPath is coming from? This happens when I try to initialize the workspace
  • l

    Lars Solberg (xeor)

    04/04/2021, 7:18 PM
    uhm.. seams like https://github.com/eclipse-theia/theia/issues/8752
  • k

    kevins8

    04/04/2021, 7:19 PM
    hmm, good to know. there's only a few places where we use
    joinPath
    so we can fallback to using regular
    path.join
    instead
  • k

    kevins8

    04/04/2021, 7:20 PM
    i can make this change as part of tomorrows release
1...575859...108Latest