Allow different types/attributes for links/references (and query based on them)
Please select if your request is either something new or an enhancement
- [ ] Enhancement of an existing Feature.
- [x] Request of a new feature.
Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)
- [ ] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
- [x] Lookup - Dendron's Lookup Command
- [x] Views - Dendron Preview, Tree View, Side Panels in the UI
- [ ] Schema - Dendron Schemas
- [ ] Pod - Data import from / export to Dendron
- [ ] Publish - External Site Publish
- [x] Markdown - Markdown features, such as syntax support and features
Is your feature request related to a problem? Please describe
I plan to use Dendron to help manage my ideas and thinkings for my novel. One main point is using the links to connect detail idea points. Hence, the links should have different priorities, different meaning, different status, etc.
For example, I have
- A links X, and
- the content of A infer X
- A has a higher weight, i.e. A is the requirement of X
- B links X, and
- the content of B should be further infered and confirmed by X
- the priority of B is lowest
- a status should be binded with the link of B to X, like the brainstorm times executed 3/5
- note that B may link to multiple notes besides X, so that it is not so good to bind the status to B's frontmatter
- C links X, and
- C is like B, but with a higher priority to be considered
Also, in graph view or filter results view, it would be great to be possible to control which links should be displayed, based on those info.
Describe the solution you'd like
- Add support the types/attributes said above, the detail syntax may be like: (just off the top of my head)
-
[[link]]{properties} -
[[alias-name{properties}|link-path]]
-
- Add query support for those properties (https://github.com/dendronhq/dendron/issues/159
Describe alternatives you've considered
not confirmed yet, like
- manually use some todo-lists or dedicated notes to record attributes of links and track them
- which is like my current poor way
- use simple script to help searching/filtering by detect the plain text properties around the
[[link]]
This may cover a existed issue https://github.com/dendronhq/dendron/issues/1916
In some ways, this is related to Advanced Queries #159 . The primary difference is that a query can be expanded through use of a command to the results in the editor, and also embedded in a wikilink or link reference (I'm assuming this was covered in the Advanced Queries issue. If someone can clarify if this is the case, I can add the extra cases to this issue and close this issue.
In some ways, this is related to Advanced Queries #159 . The primary difference is that a query can be expanded through use of a command to the results in the editor, and also embedded in a wikilink or link reference (I'm assuming this was covered in the Advanced Queries issue. If someone can clarify if this is the case, I can add the extra cases to this issue and close this issue.
@sahil48 I believe this issue is distinct from #159 as this issue is requesting that links have attributes, whereas the other issue is for advanced queries over existing note metadata and data.