-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Shared Nodes" [Feature Request] Cloning Nodes #1222 #2657
Comments
I have just noticed this new feature. Intrigued about its potential usage. It seems that the content and properties are synced. Edit one node (Title, Content) and the “cloned” node also changes in step. Looking at Properties of each node, original and clone, each node has a unique ID, but is part of a group of cloned nodes. Please suggest how this cloned node feature can be used. |
Oh interesting I did not notice that they are synced. I think the intent is to have a single point of reference that can be referred to from many other nodes. In other words if you edit it in one node, the changes will be reflected in other nodes. That is what I understood from the #1222 thread that is now closed. |
To give you a handle on my current thinking. I have many, many *.ctd documents scattered through my Ubuntu desktop. I can see the need for drawing on (including) standard nodes to include in other nodes but I cannot grasp how to use this node cloning feature. My current line of thought is to leverage Zillix to "vectorise" CherryTree documents. I am playing with that idea now. Another line of thought is to place *.ctd into eXist-DB collections within my desktop in eXist-DB local installation, and not drawing on cloud services. That has worked when I last tried it some time ago. Basically we need a network to leverage an "orchard" or corpus of multiple cherrytrees. |
I'm hoping to use cloned nodes in documentation. Typically there's some things like a glossary, standard disclaimers or contacts that are repeated across documents. When you structure a node tree as a document you can include the cloned node and have it export to PDF in the given order. The bonus is, when you have multiple documents you can reuse the same cloned node without any effort, and the cloning will let you update say all contact info at the same time across all documents. There's some minimal issues with PDF export that I'd like to feature request at some point to do my shareable documents this way, but that's what I'm intending it for. |
The so called shared node feature has 2 use cases:
Look at the screenshots below of two nodes properties. These 2 nodes are almost identical except from the bottom part where you read "Unique Id" and "Shared Nodes Group", only that gives away that they are part of a shared nodes group. |
@giuspen Thank you maybe I am thinking of a third use case - say I have a table of some sort or other info that would be commonly referenced from other nodes and visible within those other nodes without having to change to the shared node to look at it or edit it. That was what I thought was the purpose, can this be done as I imagined? If so how? I would expect something like "Insert shared node" in the Right Click/Insert Menu. |
Will a quick access to a directory of text snippets (to paste selected snippet into CT node in focus) help? |
@RFImages is what you feel the need to, to see the content of more than one node at the same time? Something like a dual pane support where on the left pane you have one node and on the right you can have another node of the tree? That has been asked before and I am considering to support it |
You are reading my mind @giuspen , that was going to be my next request after the Collapsed Headers feature is complete and debugged-( maybe it is in 1.3.0, I have not downlaoded it yet). Tabbed Nodes with dual panes.That would also be very useful! Especially if there was a compare feature between panes as editors likes Notepad++ offer (as a plug in). But in this case no, I just expected to be able to insert the content of a shared node inside any other node, with a command such as "Insert Shared Node" as if it were pasted there, but that pasted section would be available anywhere else it had been pasted. If edited, it would be edited everywhere it had been pasted (in all nodes that referenced it). It would be helpful for commonly referenced text or tables, code snippets.... As an example, suppose I was coding something and there was a data structure that I reference often. This is something I have recently had to do. I always have to find the code and paste it locally for reference, since I cannot view two nodes at the same time there are mulitple copies distributed through my log. But if I need to edit it, I have to go find the source of the structure. The problem then is I also have to edit all the places I have pasted it or else have many incorrect outdated copies distributed throughout. |
@giuspen Thank you for implementing the Cloned Nodes feature described in #1222
However, the request thread was closed without explanation of how to find it and use it.
I have recently found several uses for this but I can't figure out how it works or find instruction on it.
I see "create shared Node" in the "Tree" menu, (is this it?) and I see the tool tip that says "Create a new node, sharing the Same data of the selected node."
But now what? It simply appears to duplicate the selected node, similar to "Duplicate Node" ? I have a shared node now apparently , but no idea what to do with it. can you explain or point me to an explanation? Thank you for all of your hard work, it is time for my monthly donation. I will do that later today.
The text was updated successfully, but these errors were encountered: