GithubHelp home page GithubHelp logo

tag-wrangler's People

Contributors

pjeby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tag-wrangler's Issues

Plugin is inacessible

Hello,

It looks like the Tag Wrangler plugin is inaccessible in my Obsidian.
I cannot use it as it's not present anywhere, despite being enabled.

image

image


  • Obsidian v0.12.13
  • macOS 11.5
  • active plugins:

image

Bug: not compatible with dataview-plugin

  • Whenever tags are renamed in tag-wrangler plugin, the tags mentioned in dataview block is not appended
  • Eg
    • If i change Tag name #Tag1 with #Tag2, change will reflect everywhere in vault except in dataview block
      ```dataview
      list
      from #tag1(not changed to #tag2)
      ```

Fail to get Tag Wrangler contextual menu to open

I'm burnin a lot of time trying to resolve this. Sorry for an operational question, but I'm stuck.

I've enabled the core plugin Tag Pane (and tags are visible in the sidebar), installed Tag Wrangler and enabled it, but I can not find a way to cause the Tag Wrangler contextual menu to pop up. I've tried every type of click modifier I can think of, long clicks, anything and everything, and I can't hit it.

The documentation says Tag Wrangler has no UI and adds a contextual menu to the Tag Pane. Can you describe how to trigger the contextual menu? Much appreciated.

(This relates to Obsidian on macOS, Big Sur.)

Screenshots of functionaility

Screenshot/Gifs of functionality would make use on-boarding easier.

Users seem to think it a separate menu rather than a extension to the existing tag menu.

Template for tag pages

Hi,

  1. If I understand correctly, a "tag page" created by the plugin does not include a list of notes and I'm responsible to create a dataview of it. Am I right?
  2. If so, is there a way to provide a default template when creating tag pages?
  3. Can I reference the current Aliases: ["#foobar"] in my dataview? This doesn't work:
---
Aliases: [ "#foobar" ]
---

```dataview
table from aliases[0]
```

Error:

Dataview: Error: 
-- PARSING FAILED --------------------------------------------------

> 1 | table from aliases[0]
    |            ^

Expected one of the following: 

'!', '(', '-', 'csv(', 'outgoing(', file link, string, tag ('#hello/stuff')

search tags in tag-pane not from tag-pane

is:open label:enhancement it's hard to find tags in tag-pane. I would love to search first in tag-pane for mother of child-tags THEN OPERATE SEARCHING for nested tags.

Autocomplete no longer works

I can no longer see suggestions (for existing tags) when renaming a tag as I start typing. Is this a bug or a change in behavior?

Tag deletion?

Given that tag-wrangler can find each tag location, line by line, it would be so handy if I could right click and select to delete a tag. I often find that my tag choices are suboptimal. Sometimes, I want to rename. However, sometimes I just want to nuke the tag entirely.

Great plugin!

Adding support for mobile devices?

Hello, and thank you for this very helpful plugin.

I see that this plugin is currently marked as "isDesktopOnly": true.

Is there any possibility of it being changed to support mobiles, please?

Is it known what needs to be done, in case someone else (maybe me) might be able to contribute with a PR?

Feature Request: Default Tags

Feature Request

Default Tags

I'd love a feature that let you specify a number of default tags for a given folder, and when you created a new note in that folder, it would auto-create the yml frontmatter with the default tags already applied.

Dark Mode obscures input text field

I have Obsidian set to Dark Mode. When I right click on a tag and choose Rename the popup for the new name is showing black text in a dark gray box
Screen Shot 2021-04-24 at 1 22 51 pm

Delete a label in all notes in bulk

I would like to be able to delete one of my notes with one click .
While I'm working, I need to connect a series of notes with tags, but after I'm done, I want to be able to bulk remove expired labels. We look forward to your consideration.

Sourcemap

Please, don't include SOURCEMAP code to production version!

It is more than 900 kb

[Feature] Search tags in tag pane

Would be good to have feature to search in your tag pane.
As for person who started using tags a lot I miss feature in obsidian that allow me to search in my already created tag list

Doesn't seem to work with Metadata?

Tags that are edited don't seem to edit the tags in the meta-data. I am extremely dependent on your brilliant plugin for all my workflow management and updating and so I am quite cautious now to put tags in the metadata rather than the body. I'm not sure if there is a trivial fix to this?

Renaming produces TypeError: t.toLowerCase is not a function

I am frequently encountering the following error when renaming tags:

error: TypeError: t.toLowerCase is not a function

Obsidian--Tag Wranglr--TypeError--Issue-2022-10-05

For example, this error occurred when trying to rename "amex" to "30-org/amex".

My environment:
Obsidian: v0.15.9
Tag Wrangler: 0.5.3
OS: macOS Monterey v12.6

Filter tags list in tag pane when selecting multiple tags

I wonder if this would be possible for you to create such a functionality, that...

tags list gets filtered when choosing (clicking on) tags, so only tags that occur in documents together with selected tag(s) are shown in the list. Every click (another selected tag) narrows list down, deselecting previously selected tag widens list back.

(text copied from a feature request on forum: https://forum.obsidian.md/t/filter-tags-list-in-tag-pane-when-choosing-tags/12352)

"Collapse tags at this level" only works for tags in the current view of the tag pane

When using the command "Collapse tags at this level" to fold tags in the tag pane, only tags in the current view are folded, instead of all tags.

For example, if the full tag list is:

Note
    NotStarted
    InProgress
Book
    Read
    NotRead
Movie
    Watched
    NotWatched

But the current view only shows:

Note
    NotStarted
    InProgress
Book
    Read
    NotRead

Then using the command "Collapse tags at this level" on the Book tag will only collapse the Note and Book tags, not the Movie tag:

Note >
Book >
Movie
    Watched
    NotWatched

Renaming tags when braces used in front matter causes unexpected behaviour

I have the following front matter:

---
title: Awaken the Giant Within
tags: ln/1☀️ book
author: [[Tony Robbins]]
---

Renaming tag "ln" to "l" using the tag pane results in the following- note spaces on author line.

---
title: Awaken the Giant Within
tags: l/1☀️ book
author: [ [ Tony Robbins ] ]
---

Add Tags to Select Notes

Awesome plug in. An additional feature that would be nice is the ability to add a tag to all notes or select group of notes. For example I'd like to add the #Map tag to all my notes, than remove the tag from the notes that act as big link blobs in graph view. This can make graph view more interesting with a very large note set.

tag-wrangler hijacks button style

When I have tag wrangler activated, it injects the following css into obsidian:

button {
    font-family: Ubuntu, Arial, sans-serif;
}

This makes some of Obsidians buttons use the Ubuntu font family, which is undesirable

FR : is it possible to treat *aliases tags* like *real tags* ?

i'm just curious for the future development..

is it possible to treat aliases tags like real tags ?

Pasted image 20220217162326

  • ❓ for problem above ?

    • ✅ workaraound -> instead FROM #tag we can use FROM [[#tag-link-aliases]]
  • ❓ how about other plugin that leverage uses of tag ?

    • there are so many plugin that uses tag as their input
  • 💡 if it's possible -> this feature allows interopability with other plugin -> game changer

Issue editing YAML tags

First of all - thanks for this great plugin! It's pretty cool and works amazingly!

I am not sure whether this is a user error or an actual bug, so I decided to log it anyway - feel free to just close it if it doesn't make sense.

I wanted to use a note Metadata to add notes. Using metadata, the only way for a tag to be added to the tags list is to add it as:

---
tags: mytag
---

As you can see, it cannot have the # at least on my end. I like this though, as it is the only way to actually show the tag in the note which I find useful.

However, when built this way, the tag renaming doesn't work:

tag-wrangler 1

tag-wrangler 2

tag-wrangler 3

Tag page page links are not recognized as tags

This could be some misunderstanding or user error on my part, but I'm trying to figure out how to implement tag pages in my workflow.

This line from the documentation:

Specifically, viewing a tag page's "unlinked mentions" will show you all the locations where the tag was used and "link" buttons you can use to convert them to page links. (Converting page links to tags requires hand editing.)

Makes it seem to me that the intended workflow is to create a tag like "#tag", then right click it in the tag pane and convert it to a tag page. Then, I can go to unlinked backlinks on the tag page, and click the "link" button on every unlinked instance... this replaces the tag on those notes with "#[[tag]]".

I replaced a few like this before realizing that "#[[tag]]" tags no longer show up in the tag pane and you can't search for them like "tag:#tag" or even "tag:#[[tag]]".

I like the idea of using tag pages to get the best of both worlds from tags and pages, but I'm struggling on how to get them to function as tags and also proper backlinks.

Feature request: Custom Tag arrangements

I like to arrange the tags, by frequency of use, but I have many other tags which I need to arrange in a certain order.

Is it possible to add that feature?
Thanks

Delete tag command

Surprisingly, clearing a name of a tag does not delete it. On the other hand, it is indeed an 'invalid name'.
Still, sometimes there is a need to delete a tag from every note without using an external tools.
It should ask confirmation and/or allow undo, I think.

Thanks for patching the boat! It works great and seamless so far.

delete a tag ?

would you consider adding a function which allows us to delete a specific tag from the file~

it'd be better if we could choose the behavior since someone add tags independently at the start / end of the text and others, add into the content.

for previous ones, we could delete the tags from the file and for the latter ones , we could choose to delete the symbol of the tags in the content only. ~~

respect existing yaml format

Hi there,

I've noticed that number of my vault files have had their yaml format changed and after testing, it looks like the culprit is your plugin.

before tag rename:
image

after tag rename:
image

could you please modify the functionality so that preexisting whitespace is preserved and null is not added to yaml keys without vaules?

Please add an option to collapse top-level tags without children

Use case: I have a few curated tag hierarchies (c/ for context, l/ for location, p/ for person) and a lot of ad hoc tags with no structure or hierarchy.

It would be great if it was possible to collect all top-level leaf tags into one expandable bucket, at the same level as all of the other top-level non-leaf tags.

Search optionf for list of tags

After migrating from Evernote to Obsidian, I have a really large collection of tags which is annoying slow to scroll through. Would you please add a search filter option similar to what the Backlinks plugin has? That would be a great help

Appending new tags to certain tagged pages

Thank you for your dedication towards this plugin! It works perfect with the current work flow.

It would be awesome if we could append new tags after the tag of certain tagged pages or searching results.

Plugin doesn't seem to work with all caps tags

I'm using all caps tags for certain abbreviations but it seem to break the plugin's capability of handling nested tags.
I've tested the following setups:

  1. Fresh vault with only a single file in it. The file content is this:
#ABC/DEF/GHI
#ABC/DEF/JKL
#ABC/DEF/MNO

Now if I try to rename ABC or DEF (to ABC2 or DEF2), nothing happens - there are zero replacements made.

  1. Same setup but the file content is now this:
#abc/DEF/GHI
#abc/DEF/JKL
#abc/DEF/MNO

Now I can rename 'abc' to 'abc2', but still can't rename DEF to DEF2

Same setup, this file content

#ABC/def/GHI
#ABC/def/JKL
#ABC/def/MNO

Now again, I can't rename ABC or 'def'.

  1. Even more interestingly I can rename lowercase tags to uppercase ones, but that seems to be an irreversible operation. So if I start with this:
#abc/def/GHI
#abc/def/JKL
#abc/def/MNO

I can rename 'abc' to ABC, but after that, I can't rename it back to 'abc'

So long story short, higher level renaming only work if all the tags are lowercase. Is this intentional? Could this be fixed?

[FEAT] ignore specific folders in the setting tab

Hi, pjeby.
Please consider adding a feature to ignore specific folders in the setting tab.
My vault has various folders like official documents "Typescript Deep dive" which I cloned from Github, many Readme files or blog markdown folder to generate static site by Hugo and so on. When trying to rename tags, it may trigger to unintentionally change file contents in those folders. These folders have markdown files which I don't know or I don't create by myself.

And also, there may be important documents we don't want to change at all. In order to protect those documents from unintentionally change, I think this feature is important.

Thanks.

Feature Request: Recognize tags inside code blocks

Use case

  • Query
    • Whenever query a line/block using #tag as parameter/input - making dynamic notes with common database
  • Dataview
  • To list out all notes using #tag as parameter/input

Why only tag-wangler

  • giving a tag to a block/note is dynamic and spontaneous but later one needs to cleanup tags and tag-wrangler provide exactly this functionaly
  • but if it's not able to provide tag recognition in code-blocks, it creates inconsistency in notemaking

A Humble request

  • Though your plugin is great with little room to imporvement, atleast i think so, but if possible, please add the following functionality

Related issue

#20

Use Obsidian's Modal class

I've finally started using tags in my workflow and the plugin works great! 😄

It would be awesome if the rename tag modal used Obsidian's Modal class + class names though so that it would match the current theme. Currently the modal is illegible in many of the Community themes.

image

Purpose of Alias Page?

What is the Purpose of the Alias Page?

What I was hoping for is that if I searched for "tag:dog", I would get everything with the tag:cannie, tag:pooch

Title:dog

Aliases: [ "#cannie, #pooch ]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.