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

    SeriousBug

    01/18/2022, 8:28 AM
    I think the easiest way might be to just move all the files yourself. Dendron should pick up the move automatically
  • s

    SeriousBug

    01/18/2022, 8:34 AM
    Let me describe our setup for Dendron, which we have been iterating on: - We have each vault in a separate repo. Each vault is for a specific thing (one for user docs, one for developer docs, one for team journals and private notes etc.) - We have a repo that has the base "organization workspace", which has all the vaults as remove vaults. I think most of the team just keeps a window open with this workspace open. - Each team member has a branch for the organization workspace for their own customizations to it. - All code is in a monorepo, which is a Dendron Native Workspace. That workspace includes user and developer docs as remote vaults so we can link to code files from developer docs, and more easily update user docs while developing features.
  • s

    SeriousBug

    01/18/2022, 8:38 AM
    You don't necessarily need a monorepo, especially if the team doesn't mind just having an extra VSCode window open for documentation. You can have separate vaults for each repo, and as long as they are all in the same workspace they can link to each other. If the connections between these repos are well-defined, another option would be to create one documentation repo per code repo, initialize a native workspace in the code repo, and add the documentation repos as remote vaults. Each workspace can just add the docs that they actually need. This is more complex to set up and a little less flexible, but might be cleaner if you want more separation between documentation repos.
  • c

    codeluggage

    01/18/2022, 8:40 AM
    That's a great overview and set of options - thank you!
  • t

    Tika

    01/18/2022, 8:41 AM
    But what about all the links and references? The targets for many of them will remain in the old host vault. Will they still work?
  • s

    SeriousBug

    01/18/2022, 8:43 AM
    Are they explicit links (
    [[dendron://vault/note]]
    ) or regular (
    [[note]]
    )? If they are regular links they will, if they are explicit links they won't. But you could use VSCode's workspace-wide search and replace to update them yourself. I think @User was working on refactor commands, let me tag him to see if he has any other suggestions.
    h
    t
    • 3
    • 2
  • m

    mihaiconstantin

    01/18/2022, 8:53 AM
    I would really like to know whether I can use a single remote for multiple vaults with a branch for each vault. I see a
    $ref
    property in
    dendron-yml.validator.json
    at line
    1173
    . Does this mean it is possible?
    Copy code
    json
        "DWorkspaceEntry": {
          "type": "object",
          "properties": {
            "remote": {
              "$ref": "#/definitions/RemoteEndpoint"
            }
          },
          "required": [
            "remote"
          ],
          "additionalProperties": false
        },
  • m

    mihaiconstantin

    01/18/2022, 8:54 AM
    Or will
    dendron
    automatically detect which branch is checked out and use that when calling the
    Workspace: Sync
    command?
  • s

    SeriousBug

    01/18/2022, 8:56 AM
    You can use "Workspace Vaults" to add multiple vaults to a workspace, then add that workspace as a remove vault. Dendron will pull all the vaults inside that workspace. https://wiki.dendron.so/notes/6682fca0-65ed-402c-8634-94cd51463cc4/#workspace-vault Edit: Sorry, I misread what you said. You can't do that with branches, but you could do this.
  • s

    SeriousBug

    01/18/2022, 8:56 AM
    The sync command doesn't touch which branch you're in, it tries to sync the current branch.
  • m

    mihaiconstantin

    01/18/2022, 8:57 AM
    Thanks a lot! I will take a look at it now.
  • t

    Tika

    01/18/2022, 8:59 AM
    they are regular inner vault links, they will not be explicit. i vote for a Move Selection command when the 'selection' is a domain, subdomain or in the future an output of a query. Or some such
  • s

    SeriousBug

    01/18/2022, 9:00 AM
    Yeah, I think we could allow "Refactor Notes" to move notes into a new vault, or add a rename vault command (or both!). Please feel free to send a feature request if you'd like.
  • g

    grndstt

    01/18/2022, 9:49 AM
    Done here https://github.com/dendronhq/dendron/issues/2196
  • g

    grndstt

    01/18/2022, 9:50 AM
    Curious to see wether this is only on my side ...
  • r

    rlh1994

    01/18/2022, 9:59 AM
    No I can confirm I had the same issue and same fix, have you tried publishing yet?
  • c

    chess_account

    01/18/2022, 10:01 AM
    Hey there. Completely new to this server, but I've tried to use Dendron via Windows+VS Code already. My question is - how I could use Dedndron on my phone (Android)? Feature that I'd like to have is to be able to view and lightly edit my notes (basic capabilities). Maybe there is some combination of apps to do so, but it's better to have all-in-one solution.
  • g

    grndstt

    01/18/2022, 10:01 AM
    Yep. It is a problem to publish. My understanding is that the assetsPrefix: is needed. See https://wiki.dendron.so/notes/f2ed8639-a604-4a9d-b76c-41e205fb8713/
  • g

    grndstt

    01/18/2022, 10:03 AM
    Maybe you can have a look in https://discord.com/channels/717965437182410783/795730630771867737
  • s

    SeriousBug

    01/18/2022, 10:04 AM
    Also here: https://wiki.dendron.so/notes/SJtEnmQQYGu0bP2Kg7UbA/
  • t

    Tika

    01/18/2022, 10:05 AM
    OK, thanks. There: https://github.com/dendronhq/dendron/issues/2197 Feel free to edit/add if not clear.
  • c

    chess_account

    01/18/2022, 10:09 AM
    Thanks @gravelcrab and @SeriousBug , these are good places to start!
  • j

    josh

    01/18/2022, 10:39 AM
    Quick question: Can I automatically insert the file name into a snippet? Thanks :)
  • j

    josh

    01/18/2022, 10:42 AM
    I did it with
    ${TM_FILENAME_BASE}
  • h

    hikchoi

    01/18/2022, 11:24 AM
    refactoring to different vault
  • w

    withnoroof

    01/18/2022, 12:07 PM
    Hi, wtf why when I add a note ctrl+L the current note closes?
  • w

    withnoroof

    01/18/2022, 12:07 PM
    I can't follow the tutorial this way
  • t

    Tabris

    01/18/2022, 12:14 PM
    Try cmd+l
  • w

    withnoroof

    01/18/2022, 12:16 PM
    That opens settings?
  • t

    Tabris

    01/18/2022, 12:16 PM
    That’s not normal, if you are on windows it should logout
1...508509510...757Latest