-
Notifications
You must be signed in to change notification settings - Fork 907
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 Organic Sessions widget #22073
Add Organic Sessions widget #22073
Conversation
Pull Request Test Coverage Report for Build 62731220764544d87392c8a83cf17b2eb8246908Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
A merge conflict has been detected for the proposed code changes in this PR. Please resolve the conflict by either rebasing the PR or merging in changes from the base branch. |
fix title fix title remove console.log
change the skeleton and chart size
In there is no daily data there wouldn't be change data.
gradient size
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.
CR 🚧 some questions and feedback
*/ | ||
const getOrganicSessionsDaily = useCallback( ( options ) => { | ||
return remoteDataProvider.fetchJson( | ||
dataProvider.getEndpoint( "timeBasedSeoMetrics" ), |
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.
We might want to also define all endpoints as a constant somewhere since we have quite a few random strings all over the place
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 will leave this be for now. Mostly because I'm not sure where this should live (static method in data provider? constant file? 🤷 ).
The options are documented through the Endpoint
type.
Remove internal space instead
Should show 0 without a difference if we receive invalid input Not show a difference when: * there is no actual difference * dividing by zero
A merge conflict has been detected for the proposed code changes in this PR. Please resolve the conflict by either rebasing the PR or merging in changes from the base branch. |
Add more internal documentation
…ment-organic-sessions-graph # Conflicts: # packages/js/src/dashboard/index.js # packages/js/src/dashboard/services/widget-factory.js # packages/js/src/general/initialize.js # packages/js/tests/dashboard/__mocks__/data-provider.js # packages/js/tests/dashboard/services/widget-factory.test.js
…ment-organic-sessions-graph # Conflicts: # packages/js/src/dashboard/widgets/top-queries-widget.js
Co-authored-by: Vraja Das <[email protected]>
CR & AC ✅ |
Context
Summary
This PR can be summarized in the following changelog entry:
Relevant technical choices:
0
, so the current sessions number will not have an ugly NaN on screenTest instructions
Test instructions for the acceptance test before the PR gets merged
This PR can be acceptance tested by following these steps:
offline
. Change the tab toAlert center
and go back to the Dashboard.Relevant test scenarios
Test instructions for QA when the code is in the RC
QA can test this PR by following these steps:
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.Fixes https://github.com/Yoast/reserved-tasks/issues/411