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

Blogger Experience - Initial component implementation of onboarding video UI #57324

Merged
merged 5 commits into from Oct 27, 2021

Conversation

blackjackkent
Copy link
Contributor

@blackjackkent blackjackkent commented Oct 25, 2021

Changes proposed in this Pull Request

Testing instructions

  • N/A

Related to #56888

@blackjackkent blackjackkent self-assigned this Oct 25, 2021
@blackjackkent blackjackkent requested a review from a team as a code owner October 25, 2021 15:46
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Oct 25, 2021
@matticbot
Copy link
Contributor

matticbot commented Oct 25, 2021

@github-actions
Copy link

</span>
</div>
<div className="onboarding-video-ui__chapter">
2. { translate( 'Write a blog post' ) }{ ' ' }
Copy link

Choose a reason for hiding this comment

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

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 27 times:
translate( 'Write a Blog Post' ) ES Score: 6

</span>
</div>
<div className="onboarding-video-ui__chapter">
4. { translate( 'Social icons' ) }{ ' ' }
Copy link

Choose a reason for hiding this comment

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

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 107 times:
translate( 'Social Icons' ) ES Score: 10
See 1 additional suggestions in the PR translation status page

</p>
<button type="button" className="onboarding-video-ui__play-button">
<Gridicon icon="play" size={ 12 } />
{ translate( 'Play video' ) }
Copy link

Choose a reason for hiding this comment

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

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 50 times:
translate( 'Play Video' ) ES Score: 11

@matticbot
Copy link
Contributor

matticbot commented Oct 25, 2021

This PR does not affect the size of JS and CSS bundles shipped to the user's browser.

Generated by performance advisor bot at iscalypsofastyet.com.

@kwight
Copy link
Contributor

kwight commented Oct 25, 2021

A few quick first notes:

@blackjackkent
Copy link
Contributor Author

As discussed above - updated the component to be standalone in client/components and removed feature flags and initial references.

@blackjackkent blackjackkent changed the title Blogger Experience - Initial UI implementation of onboarding video UI (WIP) Blogger Experience - Initial component implementation of onboarding video UI Oct 26, 2021
</span>
</div>
<div className="onboarding-video-ui__chapter">
2. { translate( 'Write a blog post' ) }{ ' ' }
Copy link

Choose a reason for hiding this comment

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

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 27 times:
translate( 'Write a Blog Post' ) ES Score: 6

</span>
</div>
<div className="onboarding-video-ui__chapter">
4. { translate( 'Social icons' ) }{ ' ' }
Copy link

Choose a reason for hiding this comment

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

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 107 times:
translate( 'Social Icons' ) ES Score: 10
See 1 additional suggestions in the PR translation status page

</p>
<button type="button" className="onboarding-video-ui__play-button">
<Gridicon icon="play" size={ 12 } />
{ translate( 'Play video' ) }
Copy link

Choose a reason for hiding this comment

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

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 50 times:
translate( 'Play Video' ) ES Score: 11

@kwight
Copy link
Contributor

kwight commented Oct 26, 2021

@blackjackkent Let's just call it videos-ui, not onboarding-video-ui – the component has nothing to do with onboarding.

@blackjackkent
Copy link
Contributor Author

@blackjackkent Let's just call it videos-ui, not onboarding-video-ui – the component has nothing to do with onboarding.

Good call - updated!

</span>
</div>
<div className="videos-ui__chapter">
2. { translate( 'Write a blog post' ) }{ ' ' }
Copy link

Choose a reason for hiding this comment

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

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 27 times:
translate( 'Write a Blog Post' ) ES Score: 6

</span>
</div>
<div className="videos-ui__chapter">
4. { translate( 'Social icons' ) } <span className="videos-ui__duration">03:18</span>{ ' ' }
Copy link

Choose a reason for hiding this comment

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

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 107 times:
translate( 'Social Icons' ) ES Score: 10
See 1 additional suggestions in the PR translation status page

</p>
<button type="button" className="videos-ui__play-button">
<Gridicon icon="play" size={ 12 } />
{ translate( 'Play video' ) }
Copy link

Choose a reason for hiding this comment

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

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 50 times:
translate( 'Play Video' ) ES Score: 11

@@ -0,0 +1,71 @@
.onboarding-video-ui {
Copy link
Contributor

Choose a reason for hiding this comment

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

These would all need to be changed too.

flex-direction: row;
align-items: center;
justify-content: space-between;
font-size: 0.875rem;
Copy link
Contributor

@kwight kwight Oct 27, 2021

Choose a reason for hiding this comment

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

There should be variables for these (I don't think we should ever be hard-coding literal font size values). Just use the one closest. 👍

font-size: 0.875rem;
}
h2 {
font-family: 'Recoleta', 'Noto Serif', Georgia, 'Times New Roman', Times, serif;
Copy link
Contributor

Choose a reason for hiding this comment

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

Are these values needed? Is there another way to use existing values? (I honestly don't know, but I'm assuming there are app-wide declarations, and a way to trigger them.)

@kwight
Copy link
Contributor

kwight commented Oct 27, 2021

@blackjackkent Just add a screenshot to the description, then go a head and merge – you can make followup issues from my last notes, and we'll go from there. 👍

Copy link
Contributor

@kwight kwight left a comment

Choose a reason for hiding this comment

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

This is fine for us to get something in place, then start tweaking. 👍

@blackjackkent blackjackkent merged commit 982f855 into trunk Oct 27, 2021
@blackjackkent blackjackkent deleted the blogger-experience-onboarding-video-ui branch October 27, 2021 19:51
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Oct 27, 2021
@a8ci18n
Copy link

a8ci18n commented Oct 27, 2021

This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/6915723

Thank you @blackjackkent for including a screenshot in the description! This is really helpful for our translators.

@a8ci18n
Copy link

a8ci18n commented Dec 26, 2022

Translation for this Pull Request has now been finished.

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.

None yet

4 participants