-
Notifications
You must be signed in to change notification settings - Fork 22
Add pulse animation to assistant icon #360
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
Conversation
7efcec8 to
a2c11f8
Compare
|
Removed review request as icon size shrunk when I made the viewport bigger, looking for workaround |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really nice! ✨
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
a2c11f8 to
a485671
Compare
|
Fixed the size issue, ready for review now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If an animation is necessary I like this better than the previous proposal. Looks nice :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good to go then, right?
@marcoambrosini does it work gracefully when:
- focusing instead of hover
- stopping the hiver befire the animation is done (could just finish the animation)
- staying on hovering (either is fine: only animate once, or repeat as well)
|
@jancborchardt as of now focusing does not trigger the animation. Should I add it? |
|
@marcoambrosini I'd say generally we should treat hover and focus as close as possible, so yes. But it's not a blocker. |
|
Gave it a quick try and this is a bit complex. I will reference in new issue |
|
Do you want to add that to the NcAssistantIcon component of nextcloud/vue as well? |
|
That would result in this animation being in many other places right? I think it would be better to avoid that for now |
fix #359
Screen.Recording.2025-09-17.at.09.39.17.mov