Code Monkey home page Code Monkey logo

obsidian-dendron-tree's People

Contributors

levirs565 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

obsidian-dendron-tree's Issues

OMG!!! this is epic, how do I define the root as my entire vault

OMG OMG, been waiting for such a plug in for ages!!

thank so much for taking the time to implement this :)

I can define as a root any subfolder in my vault but how does one define my entire vault as root, it gives me an error it dosent exist

here is my vault structure

CleanShot 2023-05-20 at 17 10 58

thx so much for making my weekend!

Z

Schema support?

Thanks for implementing this! I've been meaning to move my Dendron vault over to Obsidian since development on Dendron was paused.

Are you planning on adding support for Dendron schemas? If not, would be happy to take a stab at it eventually.

Feature request : Scroll into view ?

When notes are collapsed in the Dendron panel, when you switch note, it does not necessarily open all of the tree in order to see the file AND it does not scroll the panel so that we could see the file we are in

Could it be possible to implement this ?

select template from filename

Hi, I appreciate the plugin as I like the thoughts from Dendron, but like what's built in Obsidian, you have my thanks!

I wanted to ask if you've got ways to handle context-based templates. As dendron opts for hierarchical filenames over folders, what are ways to apply a template on the "create" note event? I will note that this would be a subfeature of schema, #2, but has broader purpose.

That is,

If I have a template file template.person and I create a file with a new title, person.obama-barack.
I want the new file to have the template from template.person, how might I accomplish this?

I'm not sure how obsidian orders the handles on the "create" event, but I've not been able to get Templater to modify front matter generated by Dendron Tree, I've only been able to overwrite it.


Edit 1: important clarification in last sentence.

"Failed to load plugin dendron-tree" on Obsidian startup

Hi, I managed to run the plugin successfully for the first time, but when I restarted Obsidian, I got a "failed to load plugin dendron-tree" message and there is no "tree view" in the plugin window anymore.

I checked the console and it says the following:

TypeError: a.title.localeCompare is not a function
    at eval (plugin:dendron-tree:870:42)
    at Array.sort (<anonymous>)
    at Note.sortChildren (plugin:dendron-tree:870:19)
    at eval (plugin:dendron-tree:872:46)
    at Array.forEach (<anonymous>)
    at Note.sortChildren (plugin:dendron-tree:872:21)
    at eval (plugin:dendron-tree:872:46)
    at Array.forEach (<anonymous>)
    at Note.sortChildren (plugin:dendron-tree:872:21)
    at eval (plugin:dendron-tree:872:46)
    at Array.forEach (<anonymous>)
    at Note.sortChildren (plugin:dendron-tree:872:21)
    at NoteTree.sort (plugin:dendron-tree:915:15)
    at DendronVault.init (plugin:dendron-tree:1273:15)
    at DendronWorkspace.changeVault (plugin:dendron-tree:2609:13)
    at DendronTreePlugin.onRootFolderChanged (plugin:dendron-tree:3370:20)
    at eval (plugin:dendron-tree:3327:12)
    at t.<anonymous> (app.js:1:1983837)
    at app.js:1:237258
    at Object.next (app.js:1:237363)
    at a (app.js:1:236081)

Could you please look into the issue? I've attached a screenshot of the visual bug, if that helps

XXkyTreqjX

If more info needed, I would be glad to provide it

Create New Note Loses Capitalization

When I right click a note in the tree and click "Create New Note", the auto-filled text does not match the capitalization of the original note which I right clicked on.

Add Reveal in Dendron Tree to file menu

Just like how you can reveal the current file in the built-in navigation, it would be helpful if you can reveal it in the Dendron Tree plugin instead.

Alternatively, you could also make the Dendron Tree always focus on the active file, just like how the Explore sidebar in VS-Code functions.

Screenshot 2023-06-01 124214

Thanks!

Thank you and idea to replace VSCode and use Obsidian only

Hey, thank you so much for your work with this plugin.

I've started using this alongside an Obsidian plugin called "Structured Plugin". Together, both of these have already been able to replace my use of Dendron inside Obsidian.

I just sent a message thanking the creator of that plugin, and I wanted to extend this as a thank you as well for your work with this.

I'd suggested the creator of that plugin to join forces with you, since both of your work already created a great Dendron alternative inside Obsidian with the hirarchical structure of Dendron but all the advantages of Obsidian.

I think your work will allow more beginners to discover the power of Dendron without thetechnical difficulties of dealing with VS Code.

One of the few essential features this plugin is missing is the ability to rename/refactor notes.

I really hope this plugin to grow, and would love to see a collaboration with the features in "Structured Plugin" if possible just an idea!

Let me know what you think and if you'd be happy to test things and help wherever I can, if you need more attention to your work with this plugin I'd like to make a YouTube video around the idea of (Dendron without VSCode - Dendron Hirarchies all in Obsidian)

Thank you!

See also - Crumbs Plugin

Hey @levirs565, this plugin is great. Thank you for making it. I've never used Dendron, but I use the dot-denoted-hierarchy. I created the Crumbs plugin to support my workflow, but there are definitely things missing that your plugin adds.

Do you have plans to add other functionality, such as moving an entire sub-tree?

Feature request : rename

Could it be possible to add a "Rename" option in the menu when right clicking on a file ?

As of now I use "Bulk rename" to do so, but it's pretty slow to do it :/

Feature Request: Support the opening of notes in different views

I like your approach and implementation.

The only caveat is that DT does not support the opening of a note in:

  • a new tab
  • a new tab group
  • a new window
  • a new Hover Editor instance

I have to open a new tab and then click on the file to view it. A right mouse click only discloses the "Create New Note" and "Delete Note" actions.

Expansion chevrons don't rotate

The chevrons indicating that the tree can be expanded to reveal another layer are always pointed down. I would expect them to be pointing to the right until they are clicked to expand.

[FR] Dendron tree based on metadata

Could you add a feature that generates a Dendron tree based on the alias metadata instead of using the note names? I prefer using time-based IDs for my note names, and this would simplify searching for any notes in the suggestion panel using the aliases. Additionally, it would be great if the note names didn't show up in the lookups when this feature is enabled.

I've noticed that the 'desc' field doesn't appear in the lookups. Would it be possible to make it visible in the lookups as well?

Thanks for this awesome plugin!

Note Capitalization

It looks like the tree view is changing the capitalization of my note titles. For example, if a file is named Ledger.TUI, it will be displayed in the tree as Ledger โ€บ Tui

Feature Request: Auto-fill note name with TAB in Lookup

Being able to auto-fill selected file name would be very helpful in Lookup

Example

image

If I press TAB while writing, it will autofill with my highlighted file name. So in this example, it will autofill "r.dev.azure.naming-conventions" into the Lookup field

image

This would make it a lot faster to add notes deeper into the hierarchy

Feature request : Collapse all button ?

CleanShot 2024-06-23 at 00 07 18@2x

Could it be possible to add a "collapse all / deploy all" button in the Dendron panel view ?

I'm having a LOT of notes, and it's sometimes tedious to collapse all, by hand, in order to be able to navigate better :')

Deleting Note Deletes Permanently, Disregarding .trash Setting

It appears that if you delete a note in the Dendron Tree view it will be permanently deleted, despite having the Deleted Files setting set to Move to Obsidian trash (.trash folder). This plugin is really cool, this drawback has me a bit afraid though as I've been using the Dendron Tree view as my main view always.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.