-
Notifications
You must be signed in to change notification settings - Fork 285
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
Hide obsolete details #613
Conversation
P.S. the reverted commit has been pushed to master, so ignore that |
In attempting to fix #591, I may have stumbled upon a better fix for this. Related note: Holy shit! Did you know actions had details? Helpful details. Everything in Pull request coming, but I’m still trying to figure it all out. |
Should we close this? The fix in #591 seems much simpler. :-) |
Interesting. With my change merged in, duplicates were gone for most things, but text in the clipboard history was duplicated (when viewed as children of the clipboard). Merged in your change and now that’s fixed too. I see now that I’m only checking for a match with the details stored in the object. There are other potential sources of details in that method.
For those reasons, I will take out my changes to the details method. The other changes in that pull request should be good though. You shouldn’t change anything. I’ll make my changes and test along-side this. If all looks good, I’ll merge this one. |
Cool, so this is all good? :-) See my comment over on the 'other' pull request! |
Can't believe we've never really thought about this before.
Quicksilver displays an object's name and details regardless of whether the two are the same.
This clutters up the interface with duplicate text.
Typically, it happens with URLs and text. The place where I saw it today and thought 'huh?!' was in the clipboard window. It looks so messy!
This small change only displays the details if they're different from the name. There are a few small discrepancies: sometimes details strings are clipped, so the start is the same as the name, but not the whole string (and my changes fail).
Also, it seems like the name string has the whitespace stripped out of it, whereas the details string doesn't.
Yay a tidy up! :)