pjeby / tag-wrangler

Rename, merge, toggle, and search tags from the Obsidian tag pane
633 stars 19 forks source link

[FEATURE] Add tag automatically to a file if its link is created in the tag page #98

Open utpalsavliya opened 1 year ago

utpalsavliya commented 1 year ago

I didn't understand how to use tag pages, found not much difference in my workflow as I already used notes as tag-notes similarly to tag-pages.

Current workflow - I use tag-notes to categorize different kind of tasks I have (Important, Urgent, etc), and to list them in one place with checkboxes.

Using tag-pages instead of tags just takes few less taps to open tag-page-note. We can reduce one step in this flow by having an option such that whenever a tag is added to a note, add a link to the note in the respective note-page, with optional formatting defined in a template. It'll be much more helpful this way for people who use obsidian tags for categorizing notes and then want to list them in a single note. The default obsidian tag-pane UI feels cluttered on phone for this purpose.

pjeby commented 1 year ago

Sorry, I don't fully understand what you're asking for. In particular, I don't know what you mean by "tag notes" or "note-page". Also there are many places where you refer to "relevant" (like "all the relevant tags") and I don't know what would be relevant.

I will say, however, that if you are asking for Tag Wrangler to insert tags into notes (other than by the existing drag-drop method) or to create notes (other than tag pages themselves), it is unlikely that I will implement it. Most workflows that people want to do that require those kinds of features can be implemented using plugins like QuickAdd, DataView, and Templater, so adding those features to Tag Wrangler would be duplication that I don't want to do.

For example, if you add a dataview to your tag pages that lists all notes having the tag (a common use of tag pages), then as soon as you add a tag to a note, if you go to the tag page you will see it in the list of links. You need the DataView plugin, and then put something like this in the tag page:

```dataview
LIST FROM #some-tag
```

It will be automatically replaced with a list of links to notes having #some-tag, and continuously updated.

Dataview can also list tasks (checkbox items) gathered from many notes (possibly filtered using tags), and then let you check them off from the generated list. There is also a Tasks plugin with similar capabilities for tasks. I would suggest investigating them to see if they will work for what you want.