Skip to content
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

Merged
merged 5 commits into from
Nov 22, 2024
Merged

Conversation

jerader
Copy link
Collaborator

@jerader jerader commented Nov 22, 2024

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

  • add new animations for ot-2
  • add branching logic depending on robot type

Risk assessment

low

@jerader jerader requested a review from a team as a code owner November 22, 2024 18:51
@@ -37,6 +40,21 @@ interface WizardBodyProps {
tooltipOnDisabled?: string
}

const OT2_GIFS: Record<number, string> = {
Copy link
Collaborator Author

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.

Copy link
Collaborator

@ncdiehl11 ncdiehl11 left a 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

controls={false}
aria-label={`onboarding animation for page ${stepNumber}`}
>
<source src={asset ?? ''} type="video/mp4" />
Copy link
Contributor

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?

Copy link
Collaborator Author

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

@jerader jerader merged commit 7bbb1c2 into edge Nov 22, 2024
14 checks passed
@jerader jerader deleted the pd_ot2-animations branch November 22, 2024 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants