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

    kevins8

    11/11/2021, 2:08 PM
    what is the surrounding context of the code that is making the call? i’ve noticed this actually when using the paste link function
  • k

    kevins8

    11/11/2021, 2:08 PM
    if you search through existing vscode issues, does it come up?
  • j

    Joshi

    11/11/2021, 2:10 PM
    This is for orbit api call. Yes there were infact issues for this, one of them being : https://github.com/microsoft/vscode/issues/102252
    k
    • 2
    • 4
  • k

    kevins8

    11/11/2021, 10:36 PM
    @User As part of last week's change, we moved the preview from
    dendron-next-server
    to
    dendron-plugin-views
    Besides for the package change, we also change how the preview is rendered - moving from rendering views inside of an iframe to rendering natively inside vscode (which is already in an iframe) This has a few ramifications: 1.
    ShowPreview
    is now noticably faster and much more stable (previous iframe in iframe approach would often drop messages as we were using
    window.postMessage
    to communicate between iframes) 2. You can now place breakpoints inside of the webview and debug them inside of VSCode Documentaiton for getting started building the new webview is here: [[Quickstart|dendron://dendron.dendron-site/pkg.dendron-plugin-views.quickstart]] Documentation to debug is here: [[Qa|dendron://dendron.dendron-site/pkg.dendron-plugin-views.qa]] (NOTE: some of these docs are only available in the
    dev
    branch of
    dendron-site
    ) @User ☝️
  • n

    Nidoling

    11/17/2021, 8:40 PM
    Does the latest master compile for people here?
    Copy code
    error TS2307: Cannot find module 'string-similarity' or its corresponding type declarations.
  • s

    SeriousBug

    11/17/2021, 8:41 PM
    Did you try running
    ./bootstrap/scripts/bootstrap.sh
    first?
  • k

    kevins8

    11/17/2021, 8:42 PM
    @User this was a new dependency that was added. you should pick it up if you run
    bootstrap.sh
  • n

    Nidoling

    11/17/2021, 8:42 PM
    oh nice, thanks @User @User !
  • k

    kevins8

    11/17/2021, 8:44 PM
    also, for future reference -> https://github.com/dendronhq/dendron-site/blob/dev/vault/dendron.dev.troubleshooting.md#L12:L12
  • k

    kevins8

    11/17/2021, 8:56 PM
    @User for anyone that wants a better way to read timestamps in the dendron log, added guidance on using vscode extension to autoformat unix timestamp to local time -> https://github.com/dendronhq/dendron-site/commit/9f6f2ee591fd4dfb86183b6eb2fe84058c45fb99
  • l

    l2dy

    11/18/2021, 12:35 AM
    @User Please review https://github.com/dendronhq/dendron/pull/1736.
  • k

    kevins8

    11/18/2021, 1:19 AM
    you're on a roll. approved 🙂
  • k

    kevins8

    11/18/2021, 10:57 PM
    plugin-commands
    • 1
    • 1
  • k

    kevins8

    11/20/2021, 5:16 AM
    @User some folks have expressed interest in working on tighter integration between vim and dendron. if anyone is interested, add your alias to the thread -> https://discord.com/channels/717965437182410783/911482298065633280/911482792079134760
  • s

    ScriptAutomate

    11/23/2021, 9:50 PM
    @User Restating this section from the latest announcements for devs/contributors: As part of the [Dendron Site Reorganization](https://github.com/dendronhq/dendron/discussions/1665), our developer documentation has been migrated over to https://docs.dendron.so/ - With this, Dendronites should notice some slimming of the docs on https://wiki.dendron.so/
  • s

    SeriousBug

    11/26/2021, 10:17 AM
    Huh, I never realized
    DendronASTNode
    has a
    notes
    field. Is that actually ever used?
    Copy code
    ts
    export type DendronASTNode = Parent & {
      notes?: NoteProps[];
      children?: Parent["children"] | DendronASTNode[];
    };
  • h

    hikchoi

    11/26/2021, 10:43 AM
    I don't think it is at all for now.
  • h

    hikchoi

    12/01/2021, 10:44 AM
    The plugin integ tests suddenly aren't printing any test names unless there's an error in the suite for some reason. Anyone run into this before?
  • h

    hikchoi

    12/01/2021, 10:53 AM
    nvm. I must have misclicked and applied a filter on my debug console output 😅
  • u

    user

    12/01/2021, 3:33 PM
    Howdy! #dendronnoob question... I'm getting an error while setting up my initial dev environment. Running
    yarn bootstrap:build
    from the build instructions exits with an error:
    Copy code
    building index { theme: 'light' }
    $ node scripts/buildStyles.js
    fetching...
    reading...
    compile...
    done
    info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
    info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
    
    lerna ERR! yarn run build stderr:
    'env' is not recognized as an internal or external command,
    operable program or batch file.
    error Command failed with exit code 1.
    error Command failed with exit code 1.
    
    lerna ERR! yarn run build exited 1 in '@dendronhq/dendron-plugin-views'
        at makeError (U:\dendron\repos\dendron\node_modules\execa\lib\error.js:60:11)
        at Function.module.exports.sync (U:\dendron\repos\dendron\node_modules\execa\index.js:194:17)
        at Function.module.exports.commandSync (U:\dendron\repos\dendron\node_modules\execa\index.js:235:15)
        at $ (U:\dendron\repos\dendron\bootstrap\scripts\buildAll.js:5:16)
        at Object.<anonymous> (U:\dendron\repos\dendron\bootstrap\scripts\buildAll.js:22:1)
        at Module._compile (node:internal/modules/cjs/loader:1101:14)
        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
        at Module.load (node:internal/modules/cjs/loader:981:32)
        at Function.Module._load (node:internal/modules/cjs/loader:822:12)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
      shortMessage: 'Command failed with exit code 1: npx lerna run build --scope "@dendronhq/dendron-plugin-views"',
      command: 'npx lerna run build --scope "@dendronhq/dendron-plugin-views"',
      escapedCommand: 'npx lerna run build --scope "\\"@dendronhq/dendron-plugin-views\\""',
      exitCode: 1,
      signal: undefined,
      signalDescription: undefined,
      stdout: undefined,
      stderr: 'lerna notice cli v3.22.1\n' +
        'lerna notice filter including "@dendronhq/dendron-plugin-views"\n' +
        "lerna info filter [ '@dendronhq/dendron-plugin-views' ]\n" +
        'lerna info Executing command in 1 package: "yarn run build"\n' +
        "lerna ERR! yarn run build exited 1 in '@dendronhq/dendron-plugin-views'\n" +
        'lerna ERR! yarn run build stdout:\n' +
        '$ yarn build:dev && yarn build:styles\n' +
        '$ yarn setup && env BUILD_DEV=1 node scripts/build.js\n' +
        '$ yarn build:index && yarn build:styles\n' +
        '$ node scripts/buildIndex.js\n' +
        "building index { theme: 'light' }\n" +
        '$ node scripts/buildStyles.js\n' +
        'fetching...\n' +
        'reading...\n' +
        'compile...\n' +
        'done\n' +
        'info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\n' +
        'info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\n' +
        '\n' +
        'lerna ERR! yarn run build stderr:\n' +
        "'env' is not recognized as an internal or external command,\r\n" +
        'operable program or batch file.\r\n' +
        'error Command failed with exit code 1.\n' +
        'error Command failed with exit code 1.\n' +
        '\n' +
        "lerna ERR! yarn run build exited 1 in '@dendronhq/dendron-plugin-views'",
      failed: true,
      timedOut: false,
      isCanceled: false,
      killed: false
    }
    error Command failed with exit code 1.
    info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
    k
    • 1
    • 23
  • u

    user

    12/03/2021, 4:56 PM
    Greetings! I'm ready to publish a workspace but have trouble w/ dependencies. Running
    npm install @dendronhq/dendron-cli@latest
    gives an
    unable to resolve dependency tree
    error. I'm running that npm install in the folder that has the
    .ws
    workspace I want to publish. (Just making sure this is correct.) Also tried this fix
    bootstrap/scripts/bootstrap.sh
    mentioned in the doc but getting a
    missing script bootstrap:bootstrap
    error there. Any ideas? 🙂
  • k

    kevins8

    12/03/2021, 4:57 PM
    taking a look
  • k

    kevins8

    12/03/2021, 4:58 PM
    can you elaborate what folder you are publishing from?
  • u

    user

    12/03/2021, 4:59 PM
    Yes, and this is possibly where I broke it. I (attempted) to move the folder previously named
    Dendron-Tutorial
    to another drive and rename it before publishing it to my GitHub.
    k
    • 1
    • 8
  • u

    user

    12/03/2021, 8:58 PM
    Just got my first Dendron GitHub pages working! (Nothing exciting in there yet but I was excited to have it running.) https://garranplum.github.io/david-dendron/
  • u

    user

    12/03/2021, 8:59 PM
    I love Mermaid. Never tried it before: https://garranplum.github.io/david-dendron/notes/5zXV2lmeRglcg364NwUVi/
  • k

    kevins8

    12/03/2021, 9:46 PM
    mermaid is great. we're trying to use it more in our docs 🙂
  • s

    SeriousBug

    12/04/2021, 9:43 AM
    I need a name to describe files that are not notes (.md files inside a vault) for an upcoming Native Workspaces feature, to use in documentation. Any suggestions? How about "regular files", "data files", "basic files", "non-note files", or "outside files"?
  • p

    pixelmonk

    12/04/2021, 10:47 AM
    if there's enough context I can see outside files working. otherwise maybe just regular files.
  • s

    SeriousBug

    12/04/2021, 10:51 AM
    This is to support linking to non-markdown files. Outside file doesn't actually work though now that I think about it because the file could be inside the vault too
1...858687...108Latest