alonswartz / notesium

Markdown notes system with bi-directional links, Vim integration and local webapp
https://www.notesium.com
MIT License
60 stars 5 forks source link

Easier way to add tags #43

Closed JedMeister closed 6 months ago

JedMeister commented 6 months ago

This "issue"/feature request relates to the web UI - but is likely relevant to the CLI editor too. I'll use 'tags' to refer to what you seem to call "labels" in the readme. But perhaps I misunderstand what you mean by labels?


TL:DR I can't see how to add multiple tags to a note? My suspicion is that others may be looking for this.


What I'm looking for is somewhat already provided by existing features - which are cool and useful as is. However they're not quite what I'm looking for. I.e.:

alonswartz commented 6 months ago

Labels

TL:DR I can't see how to add multiple tags to a note?

note cross linking - having to cross link every note that is relevant to any/every other note is a friction, so I'm not doing it much at all. Being able to just add multiple tags to each new note (somewhere/somehow) feels quicker, easier and a more "intuitive" way to automagically group relevant notes together. E.g. Firefox bookmark style tagging.

As discussed in the README, notesium supports the concept of labels, but there is no special label syntax. Instead, a label is just a regular note, and only considered a label if its title is one-word.

There is no limit to the amount of a links a note can have - so, if you want have multiple labels, you would just link to those label notes. Where you specify those links is up to you.

You could add the label links at the top of the body, for example

# never split the difference

[books](625bdd26.md) [negotiation](64392126.md)

...

And or they could be inline, for example:

# richard feynman

richard phillips feynman was an american theoretical [physicist](642146c7.md), known for his work in ...

There is no need to manually cross link every note due to backlink support, meaning you wouldn't need to manually link to each book from the book note. Having just one link is sufficient to create the linkage, no matter the direction.

You can see linkages in multiple ways:

Just for completeness, auto-formatted links can be easily inserted while editing a note by typing [[ - which will bring up the LinkInsertion dialog.

Does that address the question/comment, or did I misunderstand?

Titles

title - is the title intended to be a space separated list of tags? My default (and my desire) is to be able to give a plain english title, one that is descriptive, but not explicit about full content.

Titles should be plain text and descriptive, not a list of tags. Ideally they should be in markdown H1 format, for example:

# never split the difference

Search

search - is useful as is, but the results are too noisy for what I'm looking for.

Could you clarify what mean, and how you think it could be "less noisy" or what you would expect?

JedMeister commented 6 months ago

label is just a regular note, and only considered a label if its title is one-word.

You could add the label links at the top of the body, for example [...]

or they could be inline

Ah ok, what I'm asking for is already possible - just via a mechanism that I missed/didn't get!? With that context, using 'labels' makes way more sense than 'tags'!

Looking at the bits I've quoted, I'm 99% sure I get it. To be 100%, let me summarise my understanding:

A label is "created" by:

There is no need to manually cross link every note due to backlink support, meaning you wouldn't need to manually link to each book from the book note. Having just one link is sufficient to create the linkage, no matter the direction.

Ok, I'll have a bit of a play to ensure that I understand correctly.

Although I don't really get what you mean by "book"? Sounds like there is something else I missed...

Just for completeness, auto-formatted links can be easily inserted while editing a note by typing [[ - which will bring up the LinkInsertion dialog.

Ah ok, I missed that. Again, I'll have more of a play and see how I go.

Only one last label related thing:

How do you create new labels if other relevant/related notes don't yet exist?

IIUC a single new label could be created by giving it a single word title. But what about creating multiple new labels for a single note?

IIUC you'd need to create multiple new notes, one for each label. Then link them to/from the original note - I guess from the original note would be better?!

If I'm right, IMO it'd be nice to have a quicker/easier way to create new tags. It probably applies less when you already have lots of notes. But when you're starting and only have a few notes, I imagine that may feel a bit clunky.

Only a wishlist item though...

search - is useful as is, but the results are too noisy for what I'm looking for.

Could you clarify what mean, and how you think it could be "less noisy" or what you would expect?

Search is fine for actually searching.

I just missed/misunderstood lots of the above and was noting that search was way too noisy to achieve what I wanted.

Turns out that I just didn't get that what I was after already existed. I just didn't get how it worked. I.e. a knowledge gap - mostly because I'm a shocker for not reading docs properly...


TBH it feels a little I've wasted your time (and mine too). I do appreciate your explanation, although next time please feel free to just tell me to RTFM first! :) A link to the relevant doc paragraph might be useful though. ;) I'll come back if I still don't get it.

JedMeister commented 6 months ago

I was going to repurpose this issue (hence the subject retitle) - to a related new feature request. But decided it's cleaner to just close this and start a fresh issue - #45