-
Notifications
You must be signed in to change notification settings - Fork 295
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
Unified Dashboard: Register existing widgets in new Content area #4078
Comments
@johnPhillips, sending this ticket back to you to make adjustments discussed in #4079 |
Thanks, @johnPhillips. IB ✔️ |
QA: I confirmed that.
Things I noticed that needs clarification:
Waiting for clarification. |
Thanks, @kuasha420, but this is out-of-scope for this ticket since this ticket is intended to add widgets to new areas only.
I believe this issue will be addressed in a separate ticket.
This one will be fixed with #4226. |
@eugene-manuilov thanks for clarifying. This it good to go then. QA - ✔️ |
Feature Description
The widgets that should appear in the Content area (created in #4031):
mainDashboardContentPrimary
area:DashboardPopularKeywordsWidget
)DashboardIdeasWidget
)ModulePopularPagesWidget
)entityDashboardContentPrimary
area:Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
These widgets should be registered to the following areas and appear on the Main Dashboard and Entity Dashboard respectively, in this order:
mainDashboardContentPrimary
area:DashboardPopularKeywordsWidget
)DashboardIdeasWidget
)ModulePopularPagesWidget
)entityDashboardContentPrimary
area:Implementation Brief
Inside
assets/js/modules/search-console/index.js
:AREA_MAIN_DASHBOARD_CONTENT_PRIMARY
andAREA_ENTITY_DASHBOARD_CONTENT_PRIMARY
fromassets/js/googlesitekit/widgets/default-areas.js
widgetsAPI.registerWidget
for theDashboardPopularKeywordsWidget
:AREA_MAIN_DASHBOARD_CONTENT_PRIMARY
andAREA_ENTITY_DASHBOARD_CONTENT_PRIMARY
to the array passed as the last argument.WIDGET_WIDTHS.HALF
andWIDGET_WIDTHS.FULL
to the array passed tooptions.width
(the options object is the second argument)Inside
assets/js/modules/idea-hub/index.js
:AREA_MAIN_DASHBOARD_CONTENT_PRIMARY
fromassets/js/googlesitekit/widgets/default-areas.js
widgetsAPI.registerWidget
for theDashboardIdeasWidget
:AREA_MAIN_DASHBOARD_CONTENT_PRIMARY
to the array passed as the last argument.WIDGET_WIDTHS.HALF
to the array passed tooptions.width
Inside
assets/js/modules/analytics/index.js
:AREA_MAIN_DASHBOARD_CONTENT_PRIMARY
fromassets/js/googlesitekit/widgets/default-areas.js
widgetsAPI.registerWidget
for theModulePopularPagesWidget
:AREA_MAIN_DASHBOARD_CONTENT_PRIMARY
to the array passed as the last argument.WIDGET_WIDTHS.FULL
to the array passed tooptions.width
Test Coverage
QA Brief
DashboardPopularKeywordsWidget
,DashboardIdeasWidget
, andModulePopularPagesWidget
widgets have new areas added.Changelog entry
The text was updated successfully, but these errors were encountered: