-
Notifications
You must be signed in to change notification settings - Fork 49
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
Tweaks: Apply "hide (mini)-follow buttons" to new post header #1733
base: master
Are you sure you want to change the base?
Tweaks: Apply "hide (mini)-follow buttons" to new post header #1733
Conversation
Probably won't be able to test this this weekend, but if I recall correctly it's done and works? (Obviously ignore this if the thing it's supposed to apply to is at all likely to change) |
Co-authored-by: April Sylph <28949509+AprilSylph@users.noreply.github.com>
To be honest I think we should retire this tweak when the new UI launches. The main reason they're so egregious in the current UI (in my eyes) is their repetition, being present for every possible entity... with the move to a maximum of one per post, that problem is (FINALLY) solved in Tumblr proper. |
I think that's a fair argument, and also one I... well, okay, I'm not going to say I disagree necessarily :D I haven't been using the new UI regularly, so all I have is first impressions, but those new buttons sure are big. |
We can keep this PR open and revisit it after launch. Whether or not we get bug reports / feature requests to please hide the big follow buttons will be interesting to see... |
Yeah, agreed. My immediate thought was "I'll put $20 on 'immediate vocal outcry in the tags' in a heartbeat," but that very evidently does not translate to Github issues, so the terms of the bet would have to be quite specific :D |
This comment was marked as resolved.
This comment was marked as resolved.
Uuuuuugh fuck it I'm probably just going to replace the timelineObject processing in this with the translate utility. It's too complicated to handle all of the possible edge cases with how trail items could plausibly use internal data when all we want is "hide a button that says 'follow.'" I would feel more comfortable doing this if we had a more exhaustive version of the translation dictionary; French has multiple entries for "follow" (google translate translates one of them to "subscribe").
|
For the sake of making it official, my opinion on the follow buttons if the current code is the final code is "but why though." |
Description
This updates the "hide mini-follow buttons" tweak so the feature will apply to the new post header. (Okay, they're not really "mini" buttons anymore; this also renames the tweak.)
There's no distinguishing CSS for follow buttons,
so I made really sure we don't hit the wrong ones by checking the post data.At time of writing, this code is for a UI element that doesn't exist. We could be cheeky and merge it in advance in case the feature ever does exist, of course.
Testing steps
Test the feature in each UI language.