Conversation
|
Localisation...? ;-) Hehe I'm a bit confused on the documentation with "plus every other tab belonging to these files"... do you mean" If "file.txt" is tagged as "text" and "draft", then → into the "text" tag will show "file.txt" and the "draft" tag? It'd be nice to have an example though of where "tags in the 3rd pane" are used (I can guess for the "add tag..." action, but I don't see anywhere to see the actual actions (except the Actions prefs of course) I think the xib should be changed so it's Xcode 4.6 compatible (change "Opens in:" in the file inspector - 1st tab) Oh and one final thing: maybe setting up alternate actions would be nice? :D A couple of things relating to the actual plugin and how it works... :P
Sorry for being picky, and sorry it's taken me so long to review this :'( |
True. I should list out the actions in the documentation.
OK.
Maybe some day.
This is just the OpenMeta plug-in, modified slightly. It only shows tags that have been applied to one or more files. I’m not sure if “all possible tags” is stored anywhere, now that they’re official.
True. If you add a tag via Finder, it won’t be in the third pane until the next catalog scan. However, if you add or remove tags using Quicksilver, that catalog entry will be updated immediately. Even if we solve the problem for “built in” tags, the user could create a new one outside Quicksilver at any time.
Hmmm. How are you doing that? The third pane won’t contain tags that a file already has. Of course you can use text-entry mode to manually duplicate it, but would you?
I’ll look at that. I think I also need to adjust the code to actually write the tags in a property list, the way Finder does. Things mostly seem to work, but this is bad… |
Tags that already exist for a file are showing up in the 3rd pane. File.txt (already has “Home” tag set) ⇥ Add Tags… ⇥ # Third pane options: [Home Tag, Work Tag, …] OK, I did some debugging: There’s your reason why. Seems like getting the tags from the file (ones added by Finder) is including the newline and colour, as mentioned in your Mavericks review. I guess if you update the property list stuff to do the same thing, and things are consistent across the board this’ll iron itself out.
As an Aside: I’m confused as to what the difference is between “Add Tags…” and “Set Tags…”? |
This matches Finder's behavior. Also, stop using the obsolete serialization methods.
|
I don’t want to do anything with the stupid colors at all, but it looks like they’ve left us no choice. Might not be that hard. I have at least found that changing or setting the color for a tag via Finder updates all the tags, including those written via Quicksilver. |
IIRC "Add Tags” appends new tags, while “Set Tags” clear the list before setting it. |
If the tag includes color data. The method was taken from the File Attributes plug-in.
* don't try to set a NULL list of tags * remove color label when all tags are removed
|
OK, that should be more reliable. It now deals mostly with the raw tag data (name+color) behind the scenes. Only if you type an existing tag by hand will this get screwed up. We should probably remove labels from the File Attributes plug-in since they’re not part of the UI. Which makes me wonder, should this entire plug-in just be rolled into the File Attributes one? That would allow us to add tags and remove labels in one bundle. More work though. |
|
Hold off. There are some small things I knew would break, but I forgot to take care of them. |
|
OK, give that a look. |
Likely to be more reliable. It doesn't require us to manually manage color labels.
|
We’re now using the official API for managing tags. Seems like a much better idea. We no longer have to manage color labels, and nothing goes wrong if you type an existing tag by hand in text-entry mode. I don’t like that “clearing” all tags leaves behind an empty extended attribute for I’d like to customize the icon based on color, but don’t wait on that. Let’s get this out. (And I’ll repeat my earlier question: Should it just be merged into the File Attributes plug-in?) |
|
hi @skurfer , just ship this plugin, no need merged into File Attributes, Because this plugin can only run on 10.9, right? Maybe it's time to set up a new attribute for plugin's OS compatibility. |
If we merged them, the File Attributes plug-in would then require 10.9. One reason to do this is that the File Attributes plug-in still allows you to set colored labels, while Finder no longer does. (I haven’t actually tried it to see what will happen.) So we should really release a 10.9 version of that plug-in anyway just to remove that potentially problematic feature. |
|
Obsolete. See quicksilver/elements.hfsattributes-qsplugin#3 I’ll remove this repo once that’s merged. |

Found a small problem, which is fortunate, because now I can make a pull request out of it.
But as I’m sure you know, the entire plug-in is new. I was hoping to have it out prior to 10.9, but that clearly didn’t happen.
After reading the review, I’m not sure how this will play with colored labels, but it should work anyway.