Skip to content

Add dashboard feature flag and Symfony dashboard hooks to 9.2.0 upgrade - #1875

Draft
mattgoud wants to merge 2 commits into
PrestaShop:devfrom
mattgoud:add/dashboard-feature-flag-hooks
Draft

Add dashboard feature flag and Symfony dashboard hooks to 9.2.0 upgrade#1875
mattgoud wants to merge 2 commits into
PrestaShop:devfrom
mattgoud:add/dashboard-feature-flag-hooks

Conversation

@mattgoud

Copy link
Copy Markdown
Contributor

Description

Adds the upgrade entries for the migrated (Symfony) Dashboard page to upgrade/sql/9.2.0.sql, so shops upgrading to 9.2.0 get the same data that a fresh 9.2.0 install gets from the core install fixtures.

Grouped next to the existing feature-flag insert:

  • dashboard feature flag (beta, disabled by default)
  • the five new dashboard hooks: displayAdminDashboardZoneOne, displayAdminDashboardZoneTwo, displayAdminDashboardZoneThree, displayAdminDashboardTop, displayAdminDashboardToolbar (idempotent via ON DUPLICATE KEY UPDATE)

Why draft

The core PR is not merged yet and a release process is ongoing. Keeping this in draft until the core PR lands / the release window is clear.

Related

Adds the upgrade entries matching PrestaShop/PrestaShop#42077 so shops upgrading
to 9.2.0 get the 'dashboard' beta feature flag and the five new dashboard hooks
(displayAdminDashboardZoneOne/Two/Three, displayAdminDashboardTop,
displayAdminDashboardToolbar), consistent with the install fixtures.
Mirror the new full-width bottom dashboard hook (PrestaShop/PrestaShop#42077) in the
upgrade data so upgraded shops get it too.
@sonarqubecloud

Copy link
Copy Markdown

@Quetzacoalt91

Copy link
Copy Markdown
Member

Hi @mattgoud, can you move your changes in a new file 9.3.0.sql? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Ready for review

Development

Successfully merging this pull request may close these issues.

3 participants