NoelDeMartin / solid-focus

Solid Task Manager
https://noeldemartin.github.io/solid-focus/
GNU General Public License v3.0
58 stars 13 forks source link

Feature Request: Add links to tasks #16

Open angelo-v opened 5 days ago

angelo-v commented 5 days ago

One of the big advantages of Solid is the ability to link data. To use that power in Focus I would like to be able to link tasks to other things.

Imagine a Task "Cook dinner" with a link to a recipe that I can open in Umai.

In a later stage this could advance to a "Open With" feature, but as a first step it would just be nice to add links

NoelDeMartin commented 5 days ago

I like the idea, but do you have any suggestions on how to do this in RDF and the UI?

In Umai, I already "support" linking recipes by adding links on the text. For example, if you add the link to another recipe (even if that's the url of the document, not only the url in Umai), it'll capture the navigation rather than visiting the url. You can see this for example in my recipe for Ramen (However, in this case there is a bug I'm aware of where you need to open the entire cookbook or it doesn't work).

You can also do that in Focus, since it supports markdown; but currently I'm not capturing any links.

Maybe another solution would be to support attachments, and other than files support attaching "things". For example, I could say that something is a schema:Recipe and provide the url for the resource. That, combined with being able to link to attachments in the text in some way could work. Though I'm not sure what to use for "attachaments" in RDF, or if I have to make something up.

Any ideas?

angelo-v commented 1 day ago

Nice feature in Umai, did not know that. For generic attachments there is <http://www.w3.org/2005/01/wf/flow#attachment> which SolidOS is using and I am also going to implement into PodOS.