-
Notifications
You must be signed in to change notification settings - Fork 8
Should we remove hover animation? #107
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
Comments
The glow option helps the datatips to be visually different from the surrounding code. |
As I've mentioned in #109, in my opinion, it really doesn't, for these reasons:
And it brings issues, such as:
|
I think it should.
There is always a custom Atom stylesheet for that, where people could easily override this behaviour. I believe this shouldn't be a config option, otherwise it invites a lot of other style options into the config, something that Atom already allows tweaking easily. We can still make it easier for users to disable it though, by adding a snippet of code to add to the stylesheet in the README. |
This is the strongest argument I've seen, but seems more like a bug (should go darker on light themes) than a reason to throw it out.
This I do agree with, but I also prefer code already written. If it's already a setting, I don't think it hurts to leave it one. |
I agree, Atom allows changing styles for a reason. When something can easily be changed by a style it probably should to keep the settings cleaner.
I feel like this invalidates the only point I have seen for the glow. |
As discussed in the discord chat, That means we can have a |
Is there a screenshot or animated screen capture to consider? That would help me understand what this is about. Thanks. |
You can install atom-ide-base and atom-ide-javascript to get datatips. |
To make linter tooltips look similar to the datatips (#117), whatever decision is made should be applied to linter tooltips as well. e.g. the same animation should be added to the linter tooltips. |
I haven't heard a good reason to have the glow. What are some arguments for it? |
If you want to know why humans like animations, you can see this article.
The above arguments don't mean that the animation can't be improved. If there is a bug (e.g. in the light theme) it should be fixed. So, please keep the focus of this issue only on the existence of the animation, and open other issues for the bugs. |
This comment has been minimized.
This comment has been minimized.
Here's a screen recording with the default style (on macOS): Screen.Recording.2021-02-07.at.10.55.29.PM.mov |
For the record I am neither for or against it.
Seems like unnecessary complexity.
I don't see why that would be a good thing.
But if there are no buttons (interactivity) then it is just confusing.
Seems like @illright point about it always being visually different mutes this pro.
Doesn't seem like a pro or con. |
I am also not strongly for or against. I can agree the "glow" hover animation probably breaks some design guidelines. I find it tolerable, and kinda nice, but it's arguably distracting. (It all balances out to being about "neutral" for me.) I do think a large corporation with a designer on staff would probably remove the highlight animation. But this is a community project and there's maybe more room to bend the rules for stylistic flair. More thoughts on design principles at work hereCopyable text is not traditionally a kind of interactibility that you would make a highlight animation for. A highlight animation usually means if you click, something will pop up, or you will follow a link to other content, or jump to somewhere else. Otherwise the focus it draws is considered to potentially be distracting or confusing, and not worth it. It makes more intuitive sense for me in the Twitter example, in a "design guidelines" way, because the hover animation is associated with clickable links. So the hover animation used for the datatips is really just an arbitrary style choice. There's pretty much no hard rules in design, but this is a fairly established convention I think. (If clicking the datatip would copy its content to clipboard, or do some relevant action, then I think the hover animation would make more sense.) |
I really don't think this is even desirable for a datatip since it leads users to believe that the datatip is interactive, while in reality we have #60. If we want to make the datatip prettier, I think a good way to do that would be to follow VS Code's approach to simply animate the appearance/disappearance of a datatip.
And certainly not have it as an option. The fewer options, the better.
but but accessibility...
Yeah, of course, some users prefer reduced motion. However, the way to do it on the web is with the browser and media queries. I'm not aware of a way to make Atom make Chrome send out a "prefers reduced motion" signal and use the corresponding media queries, but the most we can do is to simply put that animation behind a media query such that if in the future there will be an option to signal the preference of reduced motion, we'll have this working out of the box.The text was updated successfully, but these errors were encountered: