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
Conversation
Link to Calypso live: https://calypso.live?image=registry.a8c.com/calypso/app:build-17691 |
Link to Calypso live: https://calypso.live?image=registry.a8c.com/calypso/app:commit-a4726f853e7162e4d648f98f2add953e74c22649 |
</span> | ||
</div> | ||
<div className="onboarding-video-ui__chapter"> | ||
2. { translate( 'Write a blog post' ) }{ ' ' } |
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.
ℹ️ 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' ) }{ ' ' } |
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.
ℹ️ 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' ) } |
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.
ℹ️ 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
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. |
A few quick first notes:
|
As discussed above - updated the component to be standalone in |
</span> | ||
</div> | ||
<div className="onboarding-video-ui__chapter"> | ||
2. { translate( 'Write a blog post' ) }{ ' ' } |
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.
ℹ️ 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' ) }{ ' ' } |
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.
ℹ️ 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' ) } |
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.
ℹ️ 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
@blackjackkent Let's just call it |
Good call - updated! |
</span> | ||
</div> | ||
<div className="videos-ui__chapter"> | ||
2. { translate( 'Write a blog post' ) }{ ' ' } |
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.
ℹ️ 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>{ ' ' } |
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.
ℹ️ 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' ) } |
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.
ℹ️ 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 { |
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.
These would all need to be changed too.
flex-direction: row; | ||
align-items: center; | ||
justify-content: space-between; | ||
font-size: 0.875rem; |
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.
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; |
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.
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.)
@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. 👍 |
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.
This is fine for us to get something in place, then start tweaking. 👍
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. |
Translation for this Pull Request has now been finished. |
Changes proposed in this Pull Request
Testing instructions
Related to #56888