-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Checkout: Thank You: Update DomainMappingDetails
with new copy
#3715
Conversation
69aca66
to
673b90b
Compare
@@ -33,3 +33,4 @@ export default React.createClass( { | |||
- *isPlaceholder* (boolean) – determines whether or not to render shimmering placeholders | |||
- *target* (string) – target passed as the `target` prop for the `Button` | |||
- *title* (string) – string used as the text of the heading | |||
- *requiredText* (boolean) – adds a notice to the top, determines the text in that notice |
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.
I might be wrong but I think we display the same notice everywhere. If that's really a case we could just update this component to accept a boolean that will trigger the display of this notice. What do you think?
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.
According to #3713 we need to display different notices so forget about my comment :).
1fba680
to
3f07ce2
Compare
I'm not quite sure about the alignment of the copy in mobile. What if we had it all aligned to the left? cc @breezyskies @mikeshelton1503 for input Apart from that, product 👍 |
@@ -70,6 +70,7 @@ PurchaseDetail.propTypes = { | |||
description: React.PropTypes.oneOfType( [ | |||
React.PropTypes.array, | |||
React.PropTypes.string, | |||
React.PropTypes.object |
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.
So I guess it can be anything? Would be cool to add a custom propTypes for objects returned by this.translate
(not for this PR I mean)
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.
Good idea! However, I think only the latter two are returned by this.translate
- the addition here is for when description
is a single ReactElement
.
Code 👍 |
I'm moving it to Ready to Merge. |
Agreed, it's too much copy for centered. Let's keep it left-aligned at all screen sizes. |
3f07ce2
to
1d82714
Compare
👍 I added a commit to align the text in |
1d82714
to
8a3e52c
Compare
`selectedSite` can be a boolean.
8a3e52c
to
410ca8e
Compare
I updated 8a3e52c so that the button isn't left aligned: If you're good with this change then this LGTM 👍 |
Checkout: Thank You: Update `DomainMappingDetails` with new copy
Requires patch D1216-code
Testing
/domains/add/mapping/:site
.Testing instructions for a mapped domain for which we can link to the registrar's site are available with the patch.