-
Notifications
You must be signed in to change notification settings - Fork 882
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
Add dashboard wincher connect #20107
Add dashboard wincher connect #20107
Conversation
b6ffbfc
to
b4ee40d
Compare
-moz-filter: blur(2px); | ||
-o-filter: blur(2px); | ||
-ms-filter: blur(2px); | ||
filter: blur(2px); |
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.
IMO we should have a bit more blur here. Like 4-5px
{ isLoggedIn && data && ! isEmpty( data ) && ! isEmpty( data.results ) && <Fragment> | ||
<TableExplanation /> | ||
{ data && ! isEmpty( data ) && ! isEmpty( data.results ) && <Fragment> | ||
<TableExplanation isLoggedIn={ isLoggedIn } /> | ||
|
||
<WincherSEOPerformanceTableWrapper> | ||
<table className="yoast yoast-table"> |
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 think we ought to disable pointer events and user select on the table (not wrapper) if it's blurred:
pointer-events: none;
user-select: none;
b4ee40d
to
4514836
Compare
Hi @KaisZaoualiWincher I have several questions:
|
Hi @oksanayoast!
|
|
Hey @KaisZaoualiWincher 👋 thanks for addressing the first two items on the list above, we forgot to specify that it was meant as a reminder for us! 🙂 |
@KaisZaoualiWincher can you come up with a suggestion, on how we can show the user, that they can toggle the Wincher integration "off", in our "integration settings". We should tell the users where they can deactivate it. Something like this CC: @uxkai @manuelaugustin |
But the integration isn't active at this point, right? |
@jonoalderson As I understand it, the Wincher integration is active (enabled on the 'Integrations' page), but the user is not currently logged in or connected to Wincher. |
Ah, catching up; all good! :) |
d2d7936
to
5361f37
Compare
The Wincher performance report is moved to its own widget on the dashboard:
|
Hey @KaisZaoualiWincher 👋 in the error management could you please also take into account the case the user goes offline? For example, if I now turn the network off and click the |
Hi @pls78 👋 |
@KaisZaoualiWincher please see our "Storybook": https://ui-library.yoast.com/?path=/docs/1-elements-alert--variants#variants There we have different variants of "Alerts" that we use in our App, and if it is an error, we use the "error alert". |
Hello @KaisZaoualiWincher! As @BobBreukhoven said, we take care of error states by catching them and showing an alert 👍 |
Hi @BobBreukhoven and @pls78! Thank you for the link. I will add an error alert to handle the network disconnection error. |
Hi @pls78! Network errors should be handled now: |
Hi @KaisZaoualiWincher, would it be possible to decrease the margin below the error alert slightly, so it matches with the margin below "Connect with Wincher to get started."? 😄 |
Should be fixed, for all the user message alerts inside the Wincher performance report in the dashboard. |
}; | ||
|
||
WincherSEOPerformanceTable.propTypes = { | ||
isBlurred: 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.
isBlurred: PropTypes.object, | |
isBlurred: PropTypes.bool, |
|
||
Cell.propTypes = { | ||
isBlurred: PropTypes.bool, | ||
children: 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.
children: PropTypes.object, | |
children: PropTypes.oneOfType([ | |
PropTypes.string, | |
PropTypes.number, | |
PropTypes.object | |
]), |
Hi @KaisZaoualiWincher 👋 Can you take a look at the errors in the screenshot provided by @vraja-pro ? 🙏 |
Hi @pls78 👋 Errors should be fixed. Hi @vraja-pro 👋 Thank you for the good catches. It's strange that no error is thrown for me, and I couldn't even reproduce it. Anyway, it should be fixed by now. |
Context
Display the Wincher performance report component on the dashboard even for not logged-in users, and add a reconnect button and fake table data.
Summary
This PR can be summarized in the following changelog entry:
Test instructions
Test instructions for the acceptance test before the PR gets merged
This PR can be acceptance tested by following these steps:
Relevant test scenarios
Test instructions for QA when the code is in the RC
Impact check
This PR affects the following parts of the plugin, which may require extra testing:
UI changes
Other environments
[shopify-seo]
, added test instructions for Shopify and attached theShopify
label to this PR.Documentation
Quality assurance
Innovation
innovation
label and noted the work hours.Fixes #