Skip to content
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

Connection labels #185

Closed
srid opened this issue May 14, 2020 · 5 comments
Closed

Connection labels #185

srid opened this issue May 14, 2020 · 5 comments
Labels
Graph Zettel Graph related proposal Proposal with exact spec yet to be fleshed out Zettel Format Anything that affects the structure of the zettel text

Comments

@srid
Copy link
Owner

srid commented May 14, 2020

If zettel A links to zettel B, it would be nice if there was a way to write down notes on why such a connection exists. And then this "why" (typically a small blurb of text) can be displayed as a tooltip or something next to the link itself, which is especially useful when looking at the backlinks.

<ef73jsj3>{reason="A growth mindset is essential for learning"}

^ This uses the attributes extension, and sets a "reason" attribute on the Pandoc Link AST node.

@srid srid added Graph Zettel Graph related proposal Proposal with exact spec yet to be fleshed out labels May 14, 2020
@srid
Copy link
Owner Author

srid commented May 14, 2020

It should probably also apply to tagging. That is, to answer "Why was this zettel tagged with this tag?"

---
title: Frustrated regarding macOS Nix CI
tags:
  - journal/mindset{reason="Anger throws one off the learning mindset"}
  - journal/ikigai{reason="Feeling of rushing/impatience dislodges us from a state of flow"}
--- 

So the reason appears alongside the results of say the <z:zettels?tag=journal/mindset> query (that is used in the "Mindset" zettel)

@Nadrieril
Copy link
Contributor

An alternative would be to include the context of a link (i.e. surrounding text) when displaying backlinks, like what is done here https://notes.andymatuschak.org/z3SjnvsB5aR2ddsycyXofbYR7fCxo7RmKW2be

@srid
Copy link
Owner Author

srid commented May 14, 2020

I suppose if you are careful enough to make the surrounding text give the full context of the link in a concise enough manner, then it would work better than an explicitly stated context (connection label).

This doesn't do anything for tags. But, we can address that by supporting "inline tags", and then use its surrounding context in query links. For example,

Anger throws one off the learning #mindset. 

Feeling of rushing/impatience dislodges us from a 
state of flow, which is essential for #ikigai

These #-prefixed inline tags would obviate (even deprecate) the metadata tags we have currently.

@Nadrieril
Copy link
Contributor

I like this approach to tags. This would make them closer to a normal zettel, where the # works as a reversed link

@srid srid added the Zettel Format Anything that affects the structure of the zettel text label May 15, 2020
@srid
Copy link
Owner Author

srid commented May 15, 2020

Alright, it is good to see better ideas evolve out of this proposal. Closing this in favour of #190 which I feel is better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Graph Zettel Graph related proposal Proposal with exact spec yet to be fleshed out Zettel Format Anything that affects the structure of the zettel text
Projects
None yet
Development

No branches or pull requests

2 participants