Add ability to filter and group by linked note(s) #728
Replies: 13 comments 21 replies
-
Thank you for taking it seriously and raising this discussion @claremacrae on the subject:
|
Beta Was this translation helpful? Give feedback.
-
A simple link to the note is sufficient to my need. See example below. |
Beta Was this translation helpful? Give feedback.
-
Hi. Being able to filter for Links to notes (=internal links) would be really great. Actually my main use case is even more limited: only show tasks that have a link to the current page (the page containing the query in it). so make it easy to handle and avoid any issues with pages that are renamed (currently links in the query will not be renamed when renaming a page) there should be a generic solution. E.g. "linked-note is this" or perhaps for this particular scenario even have a "contains backlink". To make it even clearer I give you here what I currently use: Assume I am on a page called "Peter Pan", then I would have the following query:
this would work pretty well to get all backlinks to the currentpage, indepent of whether aliases are used or not. so instead I would like to have the following:
Alternatively
note: I included the brackets, because thereby Obsidian will automatically offer existing page names. I would also like to give you some background on why the first scenario would be super helpful: Similarly I have some conceptual pages, e.g. representing a project or goal, again, I would link this page, if a task would be highly relevant to a certain project. Particular in these cases the names can be long and liable to change. Let me know if this helps you to implement such feature. Overall the plugin really helps me a lot organize myself already as it is. Thanks a lot! |
Beta Was this translation helpful? Give feedback.
-
Another request received for this, in #1149. |
Beta Was this translation helpful? Give feedback.
-
Hi Claire,
Please see the source below. In dataview method, it is not able to sort by task due date. However, in the tasks query, it can be achieved for what I wanted except the file.link is missing.
```dataview
TASK
WHERE !completed
GROUP BY file.link
SORT file.link desc
```
```tasks
not done
# hide backlink
sort by due date
sort by description
group by folder
group by filename
group by heading
# hide task count
short mode
```
Regards.
Kenny Go
…On 10 Jun 2022, 18:00 +0800, Clare Macrae ***@***.***>, wrote:
@kennygokh Thanks but I do not understand. Please show the source of that, and tell me what you would like the behaviour to be.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, Just suggesting a possible way to do this "filter by linked note" with "tag inheriting", without adding a new search keyword. And support a multi-layer, multi-inherit "project structure" provided by nested tags. Basic idea is to make the tasks inherit the tags of
And we can reuse the existing Let me try to explain with an example:
file
file
file
file
file
Will this something like this possible? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the detailed reply @claremacrae. You are right, that suggestion means the user needs to use tags and links in some specific way, and for people who don't do that, it becomes confusing. I'll give it some more thought and probably open a new ticket. For now please ignore it. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
+1 for this feature, it would be super useful for me since I link pages of clients/projects/books/media in task name while tasks reside in daily notes. For the current time, I am using the following query to group tasks by link even if there's more than one link in description.
|
Beta Was this translation helpful? Give feedback.
-
Just adding my use case. Some background on my note taking:
I create two types of tasks, all very loosely based on Get Things Done and use a tag to indicate tasks, and specific nested tags to indicate their disposition
I "litter" these all over my notes and then have primary object pages that I use to gather everything back together and see where I am on that object. Being able to filter by outlink in the task and group by project tag is my primary goal. Examples of project tasks
Examples of normal tasks
My conceptual project query (I swagged the syntax, I'm not advocating for it)
My conceptual regular task query
The [[]] denoting inlink (at the query location) is straight from dataview and is really useful, it would make my queries more robust: addresses the scenario where the file name changes, makes a really simple query for a template and is consistent between dataview and tasks. Thanks - this is a great plugin and has improved how I work. |
Beta Was this translation helpful? Give feedback.
-
Just to note that I replied to a Q&A about searching with outlinks... Here is the answer which works in the current code now: |
Beta Was this translation helpful? Give feedback.
-
I work in HR - and I know nothing about programing... BUT maybe this would help? Dataview released the ability to searach by outlink in 0.5.31 https://blacksmithgu.github.io/obsidian-dataview/changelog/ I found (I think) the changes they made to their code blacksmithgu/obsidian-dataview@251cfbb Does this do anything? |
Beta Was this translation helpful? Give feedback.
-
I have created an issue from this, so that I can track it in the backlog. Keep up-voting here though... |
Beta Was this translation helpful? Give feedback.
-
We've had a request to filter and group by links in tasks: #725.
This Discussion is for questions and answers about what the feature should look like, from a user perspective, in the first version.
Questions that spring to mind:
[[...]]
)?obsidian://open?vault=...&file=...
linked-note
- it fits with the vocabulary in the obsidian helplink
wiki-link
- lots of people in the community use this term for the[[
style, I think, but it's not mentioned in the obsidian help.|
/cc @ainselx
Beta Was this translation helpful? Give feedback.
All reactions