-
Notifications
You must be signed in to change notification settings - Fork 179
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
feat(protocol-designer): onboarding animations for ot-2 #16958
Conversation
@@ -37,6 +40,21 @@ interface WizardBodyProps { | |||
tooltipOnDisabled?: string | |||
} | |||
|
|||
const OT2_GIFS: Record<number, string> = { |
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.
Note: post-release we will revisit optimizing the animations for ot-2 and flex. Right now its a bit weird that the flex animations are in webm format but ot-2 animations are in gif format. but it seems to work okay for the release so i think its fine that they have different formats.
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.
love the animations! one nit
protocol-designer/src/pages/CreateNewProtocolWizard/WizardBody.tsx
Outdated
Show resolved
Hide resolved
controls={false} | ||
aria-label={`onboarding animation for page ${stepNumber}`} | ||
> | ||
<source src={asset ?? ''} type="video/mp4" /> |
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.
why mp4? I thought the type was webm.
converted from webm to mp4?
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.
oops they're definitely webm, i'll fix
closes RQA-3677
Overview
add onboarding animations for ot-2
Test Plan and Hands on Testing
Test that the ot-2 and flex onboarding flows work with the animations
Changelog
Risk assessment
low