Fix incorrect widget area layout for new unified dashboard content area #4268
Labels
Good First Issue
Good first issue for new engineers
P1
Medium priority
Type: Bug
Something isn't working
Milestone
#4031 incorrectly defined the new widget areas
AREA_MAIN_DASHBOARD_CONTENT_PRIMARY
andAREA_ENTITY_DASHBOARD_CONTENT_PRIMARY
to use the "COMPOSITE" widget area style. This is incorrect, as these areas shouldn't render as a single box of multiple widgets, but the (more typical) grid of multiple boxes, one for each widget.Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
AREA_MAIN_DASHBOARD_CONTENT_PRIMARY
andAREA_ENTITY_DASHBOARD_CONTENT_PRIMARY
should be changed to use the "BOXES" style.Implementation Brief
site-kit-wp/assets/js/googlesitekit/widgets/register-defaults.js
Line 247 in 75f211e
site-kit-wp/assets/js/googlesitekit/widgets/register-defaults.js
Line 316 in 75f211e
WIDGET_AREA_STYLES.BOXES
.Test Coverage
QA Brief
unifiedDashboard
feature flag) and ensure the "primary" content area shows widgets in the "boxes" style, not combined. Eg. they should match the "after" screenshots below:Before
After
Changelog entry
The text was updated successfully, but these errors were encountered: