Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[TB] Fix Motion Sensitivity #830

Closed
evangk6 opened this issue Apr 18, 2024 · 9 comments
Closed

[TB] Fix Motion Sensitivity #830

evangk6 opened this issue Apr 18, 2024 · 9 comments
Assignees
Labels
bug Something isn't working theme builder app Theme Builder application

Comments

@evangk6
Copy link
Contributor

evangk6 commented Apr 18, 2024

Problem/Concern

Kristen reported that pressing the Motion Sensitivity button did not appear to have any effect.

Proposed Solution

@evangk6 evangk6 added bug Something isn't working theme builder app Theme Builder application labels Apr 18, 2024
@kris-reed
Copy link

In our meeting last week (4/10), Lise made note that the motion sensitivity button would not "turn off" when interacted with.

@aaronreed708 aaronreed708 moved this to High Priority in ThemeBuilder May 2, 2024
@Photon3009
Copy link

Photon3009 commented May 3, 2024

@Kayd396, could you please describe the issue regarding the motion sensitivity button? like what actions have already been taken regarding this issue? or what steps are still needed to be completed?

@kris-reed
Copy link

@Photon3009 I don't know the specifics. I was receiving a tour of the project and was asked to help remember that the motion sensitivity button would not "turn off."

@aaronreed708
Copy link
Contributor

@Photon3009

Hi @Kayd396, do you remember what you saw when the issue presented itself? Did the checkbox not uncheck? Or did the act of unchecking the checkbox not return Theme Builder to normal behavior?

So what the Motion Sensativity checkbox does is turn off, or drastically reduce, animations. So, for example, if you load a design system in Theme Builder and select Molecules at the top and then select Standard Button from under General Deskctop molecule settings, you'll see 3 buttons in the Example section on the page. If you hover over the TERTIARY button/text, you'll notice some animation that is used to outline the button. And when you remove your mouse from the button it'll animate away the highlight. If you slowly move your mouse over the button, it is even easier to see the animation that is happening. So if you then select the checkbox for Motion Sensativity from the upper right in the Theme Layers dropdown, then you should notice that this animation stops occurring and the button simply becomes outlined or it removes the outline depending on its hover state. Unchecking the checkbox will then return the default animation behavior.

When I just tried this, I did not see any. problems with the Motion Sensitivity behavior w.r.t. to this button. Was there a different animation that shows the problem Kris?

@kris-reed
Copy link

@Photon3009 I would love to answer your questions, but I did not see the issue directly. The details might be better addressed by @lwnoble.

@Photon3009
Copy link

@Photon3009

Hi @Kayd396, do you remember what you saw when the issue presented itself? Did the checkbox not uncheck? Or did the act of unchecking the checkbox not return Theme Builder to normal behavior?

So what the Motion Sensativity checkbox does is turn off, or drastically reduce, animations. So, for example, if you load a design system in Theme Builder and select Molecules at the top and then select Standard Button from under General Deskctop molecule settings, you'll see 3 buttons in the Example section on the page. If you hover over the TERTIARY button/text, you'll notice some animation that is used to outline the button. And when you remove your mouse from the button it'll animate away the highlight. If you slowly move your mouse over the button, it is even easier to see the animation that is happening. So if you then select the checkbox for Motion Sensativity from the upper right in the Theme Layers dropdown, then you should notice that this animation stops occurring and the button simply becomes outlined or it removes the outline depending on its hover state. Unchecking the checkbox will then return the default animation behavior.

When I just tried this, I did not see any. problems with the Motion Sensitivity behavior w.r.t. to this button. Was there a different animation that shows the problem Kris?

okay thanks @aaronreed708 now I got it!

@ravjot07
Copy link
Contributor

ravjot07 commented May 8, 2024

Screenshot from 2024-05-09 05-08-18
Just an oveservation
designSystem.layers.motionSensitivity.setPropertyListener("motionSensativityListener", layerChangeListener);
Typo error motionSensativityListener Should i correct this?

@aaronreed708
Copy link
Contributor

It is just naming the listener, so not really an issue. I tend to group those really minor things into other patches that I'm working on at the time. But if you'd like to fix it, I'd be happy to review it.

@aaronreed708 aaronreed708 added the awaiting feedback Issue is blocked until awaiting feedback label May 9, 2024
@aaronreed708
Copy link
Contributor

looked at with @lwnoble, couldn't not recreate. Closing.

@github-project-automation github-project-automation bot moved this from High Priority to Done in ThemeBuilder May 10, 2024
@aaronreed708 aaronreed708 removed the awaiting feedback Issue is blocked until awaiting feedback label May 10, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working theme builder app Theme Builder application
Projects
Status: Done
Development

No branches or pull requests

6 participants