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

multi-stage gif integration #289

Merged
merged 8 commits into from
Jan 16, 2024
Merged

multi-stage gif integration #289

merged 8 commits into from
Jan 16, 2024

Conversation

jaredh159
Copy link
Collaborator

@jaredh159 jaredh159 commented Jan 16, 2024

the most substantial part of these changes has to do with the timing of the multi-gifs. took me a while to realize it, but as originally implemented, all of the multi-gifs started playing and looping right when the onboarding flow rendered, and continued looping throughout. this was good for preloading the images, but meant that when a user got to a step that had a multi-gif, they might find that the were looking at the 3rd stage, which is kind of disorienting. so i made a special context that allowed the ExpandableContent to basically ask "am i the step being seen by the user right now", and delay kicking off the timing/looping until then, while still preloading.

i also added two new steps, one for showing how to use the multi-stage gifs, and another to warn people about not clicking the wrong button in the system extension install flow (which is easy to do, and hard to recover from)

Copy link

netlify bot commented Jan 16, 2024

Deploy Preview for gertrude-site ready!

Name Link
🔨 Latest commit ac18d76
🔍 Latest deploy log https://app.netlify.com/sites/gertrude-site/deploys/65a69fcafe80350008faddb9
😎 Deploy Preview https://deploy-preview-289--gertrude-site.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 16, 2024

Deploy Preview for gertrude-storybook ready!

Name Link
🔨 Latest commit ac18d76
🔍 Latest deploy log https://app.netlify.com/sites/gertrude-storybook/deploys/65a69fcaec19fe00086c5d7c
😎 Deploy Preview https://deploy-preview-289--gertrude-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 16, 2024

Deploy Preview for gertrude-parents ready!

Name Link
🔨 Latest commit ac18d76
🔍 Latest deploy log https://app.netlify.com/sites/gertrude-parents/deploys/65a69fcafcd95b0008fe2e48
😎 Deploy Preview https://deploy-preview-289--gertrude-parents.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

import assets from '../cdn-assets';

const HowToUseGifs: React.FC = () => (
<Onboarding.Centered className="space-x-12" direction="row">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like how easy it is to make consistent, nice-looking screens going forward with our little ui library 👍

@jaredh159 jaredh159 merged commit 2be7f87 into master Jan 16, 2024
7 checks passed
@jaredh159 jaredh159 deleted the multi-stage-integration branch January 16, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants