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

    jeep

    10/15/2022, 3:34 PM
    Does anyone have any ideas on how I can get past these errors and start building dendron? I started with these instructions: https://docs.dendron.so/notes/64f0e2d5-2c83-43df-9144-40f2c68935aa/ But when I get to
    yarn setup
    I wind up with errors. First this: https://gist.github.com/jeep/544b0b5a01c5e5ed6d07850352567508 then when I take out the network timeout I get this: https://gist.github.com/jeep/3e4a3089a3d684552eb13807c51fc0a3
    Copy code
    jeep@DESKTOP-JOE:~/dev/dendron$ node --version
    v16.17.1
    jeep@DESKTOP-JOE:~/dev/dendron$ yarn --version
    1.22.19
    jeep@DESKTOP-JOE:~/dev/dendron$ lerna --version
    5.6.2
    jeep@DESKTOP-JOE:~/dev/dendron$ cat /etc/os-release | grep PRETTY_NAME
    PRETTY_NAME="Ubuntu 22.04.1 LTS"
  • k

    kevins8

    10/17/2022, 3:23 AM
    are you able to run the yarn command just by itself?
    Copy code
    yarn --network-timeout 600000 --frozen-lockfile && yarn gen:meta
  • j

    jeep

    10/17/2022, 3:31 AM
    Looks like it: https://gist.github.com/jeep/b46e1d33f866727530498d5dd04e0522
    • 1
    • 2
  • j

    jeep

    10/17/2022, 6:34 AM
    This can't be the best way to do this, but I'm not a JS developer... anyone know how I can clean this up? (this is in a traits file)
    Copy code
    setTitle(props) {
          stripped_journal_from_name = props.currentNoteName.split(".").slice(1).join("-");
          return luxon.DateTime.fromString(stripped_journal_from_name, "yyyy-MM-dd").toFormat("yyyy-MM-dd EEE");
        },
  • c

    cameron

    10/22/2022, 12:51 PM
    I suspect what may be happening is that “npx yarn” and plain “yarn” are not the same, I know —frozen-lockfile has been removed in modern (above v1.x) versions of yarn. I think the npx part be taken away and replaced with plain yarn, since yarn is already installed somewhere in your PATH. NPX is used when you have a script that you don’t need to install permanently but doesn’t seem necessary here.
  • c

    cameron

    10/22/2022, 12:54 PM
    What’s an example input/output / the current issue? Everyone has their own style preference for how much method chaining they like / where to split their imports, but functionally this looks reasonable
  • j

    jeep

    10/22/2022, 1:13 PM
    It's just that I feel like there has to be a better way to get the date from the name than "split it on dots, take everything except the first and join them back together to get a string to represent the date, then parse that and reformat it." Like even if there was a split that forced the result to be two parts (i.e. split the string only on the first instance of the separator) instead of what appears to be the JS way of split the string and return only the first two...
    c
    • 2
    • 3
  • j

    jeep

    10/22/2022, 1:16 PM
    So how would I fix it if this was the issue?
    c
    • 2
    • 8
  • c

    cameron

    10/22/2022, 1:28 PM
    So how would I fix it if this was the
  • m

    Mat

    10/26/2022, 2:13 PM
    Hey, I tried to fix a small issue with deleted files being treated as a note.. causing error messages and sometimes duplicate id popups. But I'm not sure if: 1.) this is really a bug or working as intended, 2.) my workaround is OK or might cause problems/overhead I would have preferred to get info from the vscode API if a file is deleted or if I am in a Source Control context to skip note parsing altogether. My test suite runs fine with everything green, until it crashes after a few minutes, same without my changes. I'll look into that later. https://github.com/dendronhq/dendron/compare/master...wookiefriseur:dendron:fix/deleted-notes
    h
    • 2
    • 3
  • p

    Pablo LION

    10/30/2022, 12:21 AM
    I found a weird issue of the
    Import Pod
    , noting some of the traces here
    • 1
    • 3
  • d

    d1onys1us

    11/03/2022, 5:31 PM
    hey @jyeung i noticed you took a look at my issue https://github.com/dendronhq/dendron/issues/3750 i added another comment on the web ide, you can take a look my repo here https://github.com/d1onys1us/dogfood-dendron and you can press
    .
    to open the web ide.
  • d

    d1onys1us

    11/03/2022, 5:32 PM
    after that, i think you should be able to see my experience: - there are two preview buttons - the theme doesnt match - trying to open a non dendron markdown file here with the dendron preview is actually totally broken (it doesnt load at all) hope this helps!
  • j

    jyeung

    11/04/2022, 3:42 AM
    Thanks for the info @d1onys1us - regarding the issues, the Dendron experience on web is still in 'germ stage', so there are a lot of rough edges and functionally it's deficient compared to the desktop vscode Dendron experience. Question for you - do you or your team use the web ide much in your workflow? We're curious to understand some folks' usages of it; if more users find it useful, then we may prioritize more investment in building up its experience.
  • d

    d1onys1us

    11/04/2022, 4:08 PM
    we don't use it at all, but i'm running a test/poll to see if people like it. i chose to use it because its in some ways more frictionless for business/operations people to use than installing vs code etc.
  • m

    Maned

    12/06/2022, 6:45 PM
    On the contribution list my last name is wrong as of late, due to my name change. What should I do to update it?
  • k

    kevins8

    12/07/2022, 12:54 AM
    hmm, what is the new name? we can fix it
  • m

    Maned

    12/07/2022, 8:20 AM
    could I technically do an issue or PR? Or just DM you about it? I don't want to flaunt my name here in the open.
  • h

    hikchoi

    12/07/2022, 8:31 AM
    If you prefer to open a pull request, you can find and change your name here (https://github.com/dendronhq/dendron/blob/master/.all-contributorsrc) and here (https://github.com/dendronhq/dendron/blob/master/README.md)
  • m

    Maned

    12/07/2022, 8:32 AM
    thank you, that's helpful.
  • m

    Maned

    12/07/2022, 8:33 AM
    i planned on doing it on the readme first, but i knew you use the bot, so i didn't wanted to mess anything up. 😄
  • h

    hikchoi

    12/07/2022, 8:35 AM
    I tried to look up how to change existing contributors using the bot but it seems like we can only add using the bot. I don't think it keeps track either so it should be fine 🙂
  • m

    Maned

    12/07/2022, 8:35 AM
    i figured it would check with the username and update the name that way, bu i might be wrong.
  • s

    ScriptAutomate

    12/09/2022, 9:11 PM
    I've seen people running into issues with the paste image extension, and also ran into issues myself when it came to default path where images are stored. I think this should fix the default: https://github.com/dendronhq/dendron-paste-image/pull/12
  • t

    tlylt

    12/29/2022, 2:41 PM
    Hi, just tried running all the tests with "Extension Integ Tests" and saw that there are " 35 pending" and no more updates from the debug console after that. Wondering if that's normal?
  • n

    nickolay-kond

    02/27/2023, 7:52 AM
    Is anyone able to build the .vsix extension in a local environment (as in on your Mac Laptop for example)? I have tried to follow notes around https://docs.dendron.so/notes/7aFrHnTNespaRzhlTwftM/ and scripts around /usr/local/workplace/forks/dendron/packages/plugin-core/scripts but thus far no luck on getting a build of '.vsix' file. Any help would be much appreciated. (will post more details of what I have tried, since its already midnight)
  • x

    Xangelix

    03/11/2023, 10:48 PM
    Same here, if someone is able to put up a docker/oci container that builds the repo, it would be greatly appreciated!
  • g

    Guillaume Gilles

    04/23/2023, 2:53 PM
    Would it be possible to use quarto files (qmd) in Dendron? Quarto files are enriched markdown files to created notebook’s like files: https://quarto.org/docs/get-started/hello/vscode.html
  • i

    isaacium

    05/04/2023, 8:19 PM
    @kevins8 the latest versions (v0.120.0 and v0.121.0) prevent dendron from starting up. you probably are already aware of this issue
  • k

    kevins8

    05/05/2023, 3:43 AM
    hey @isaacium - just released v0.122.0. can you check whether the issue is still there?