-
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
Site Settings: separate reconnection and disconnection components in the JP Disconnect Flow. #17962
Conversation
const textShareWhy = | ||
translate( ' Would you mind sharing why you want to' + 'disconnect ' ) + | ||
`${ siteSlug }` + | ||
translate( ' from WordPress.com ' ); |
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.
Hi! I've found a possible matching string that has already been translated 24 times:
translate( 'Updates from WordPress.com' )
ES Score: 9
See 2 additional suggestions in the PR translation status page
Help me improve these suggestions: react with 👎 if the suggestion doesn't make any sense, or with 👍 if it's a particularly good one (even if not implemented).
5f50bb1
to
7df6641
Compare
const textShareWhy = | ||
translate( ' Would you mind sharing why you want to disconnect ' ) + | ||
`${ siteSlug }` + | ||
translate( ' from WordPress.com ' ); |
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.
Hi! I've found a possible matching string that has already been translated 24 times:
translate( 'Updates from WordPress.com' )
ES Score: 9
See 2 additional suggestions in the PR translation status page
Help me improve these suggestions: react with 👎 if the suggestion doesn't make any sense, or with 👍 if it's a particularly good one (even if not implemented).
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.
Split translatable string is fixed.
932e36a
to
a100c29
Compare
<Card> | ||
<h1> | ||
{' '} | ||
{ translate( 'Disconnection' ) }{' '} |
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.
Hi! I've found a possible matching string that has already been translated 34 times:
translate( 'Disconnecting' )
ES Score: 11
See 2 additional suggestions in the PR translation status page
Help me improve these suggestions: react with 👎 if the suggestion doesn't make any sense, or with 👍 if it's a particularly good one (even if not implemented).
<Card> | ||
<h3> | ||
{' '} | ||
{ translate( 'Reconnection' ) }{' '} |
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.
Hi! I've found a possible matching string that has already been translated 22 times:
translate( 'Reconnecting…' )
ES Score: 13
See 2 additional suggestions in the PR translation status page
Help me improve these suggestions: react with 👎 if the suggestion doesn't make any sense, or with 👍 if it's a particularly good one (even if not implemented).
a100c29
to
33ebcb3
Compare
2d3b434
to
98c88d2
Compare
33ebcb3
to
1fa5e6f
Compare
Here's an updated mock that includes the dropdown changes of #17696 but, more important, introduces reconnect and live chat options below the survey. cc @rickybanister and @folletto for review. |
Looks good to me :) Just two small bits on the actions outside the box:
Maybe...
|
I used more of a clickable card for the 'chat with us' option here: Not sure if that's the right way to go, but felt more 'clickable' I like having these as alternative options though! |
53db3c5
to
29edd47
Compare
bcc19df
to
bcace66
Compare
e2ace66
to
5d59c4f
Compare
dd86f83
to
8ab75bd
Compare
bcace66
to
3a7d664
Compare
This adds an extra reason for the disconnection from WP, which is common to all Plans: temporary disconnection to troubleshoot potential problems.
@keoshi as per my last comment, could we try separating your reconnect question to be a label, and then the link as a sort of borderless clickable card (for both the reconnect option and the contact support)? So basically
|
I think that's nice. The only feedback I'd have is that you kind of created a new pattern with the bold text in the card as a 'title' instead of using the |
Not sure what the difference is, is it the bold? These are just mocks, I might not have the existing styles in here.
|
Makes sense, as long as we use the sectionHeader component when we build it we're good. |
56b9118
to
13ad12a
Compare
Add a button to get help (either via HappyChat, or the contact form). Implement the mockup found at #17962 (comment). Note that I've opted to stick with that mockup instead of #17962 (comment), since it's more consistent with prior art, such as #18397. This PR uses `jetpack-connect/happychat-button`, to which it adds an `onClick` prop in order to be able to pass the tracking event to it. It unifies some styling that was previously scattered across three different selectors, which ensures that the styling also works for this PR without having to add a fourth selector. (Bonus points for verifying that the styling still works for the other instances -- see testing instructions for #18397.) It also fixes the `state/analytics` README which I consulted while writing this PR 🙂 Discussion about functionality (what each button is supposed to do) is at #17962 (comment).
…ttic#18968) Add a button to get help (either via HappyChat, or the contact form). Implement the mockup found at Automattic#17962 (comment). Note that I've opted to stick with that mockup instead of Automattic#17962 (comment), since it's more consistent with prior art, such as Automattic#18397. This PR uses `jetpack-connect/happychat-button`, to which it adds an `onClick` prop in order to be able to pass the tracking event to it. It unifies some styling that was previously scattered across three different selectors, which ensures that the styling also works for this PR without having to add a fourth selector. (Bonus points for verifying that the styling still works for the other instances -- see testing instructions for Automattic#18397.) It also fixes the `state/analytics` README which I consulted while writing this PR 🙂 Discussion about functionality (what each button is supposed to do) is at Automattic#17962 (comment).
Add Troubleshooting survey option to the Jetpack Disconnect UX.
Depends on: #17696
View:
/settings/disconnect-site/:site
, where:site
is a Jetpack or non-Atomic site.For other sites the Flow redirects automatically to
/settings/general:site
.To test:
https://calypso.live/?branch=update/site-settings-site-survey-separate-reconnection
Verify that the options are visible as shown below and, upon selection, redirect to an empty placeholder follow-up Card.
Visuals:
![screen shot 2017-09-30 at 10 46 06](https://user-images.githubusercontent.com/13561163/31044874-e6d2dcba-a5cf-11e7-8259-c445313b1a75.png)