Skip to content

PoC: feed the migrated Symfony dashboard with real sales data - #82

Draft
nicosomb wants to merge 2 commits into
devfrom
feature/41971-zone-two-poc
Draft

PoC: feed the migrated Symfony dashboard with real sales data#82
nicosomb wants to merge 2 commits into
devfrom
feature/41971-zone-two-poc

Conversation

@nicosomb

Copy link
Copy Markdown
Contributor
Questions Answers
Description? Adds hookDisplayAdminDashboardZoneTwo(), the modern counterpart of hookDashboardZoneTwo(), so this module also feeds the migrated (Symfony) Back Office Dashboard. Reuses the existing getData()/refineData() computation as-is and serializes the sales trend as a plain Chart.js config, following the contract from PrestaShop/PrestaShop#42431. Legacy hooks are untouched — the module still works unmodified on the legacy dashboard. Version bumped 2.1.3 → 2.2.0 (minor, backward compatible with 8.2.0+).
Type? new feature
BC breaks? no
Deprecations? no
Fixed ticket? Fixes PrestaShop/PrestaShop#41971.
How to test? 1. On a shop with PrestaShop/PrestaShop#42431 and the dashboard feature flag enabled, install/reset this module. 2. Open the BO Dashboard: a sales-trend line chart renders in Zone Two, colored via the core PrestaShop palette.

Draft PoC for the #41971 spike — a minor release, deliberately kept compatible with older PrestaShop versions alongside 9.3.

@nicosomb
nicosomb force-pushed the feature/41971-zone-two-poc branch from a1cfc0b to db4e776 Compare August 27, 2026 12:49
@ps-jarvis

ps-jarvis commented Aug 27, 2026

Copy link
Copy Markdown

This pull request seems to contain new translation strings. I have summarized them below to ease up review:

  • Admin.Global
    • Sales trend

(Note: this is an automated message, but answering it will reach a real human)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dashboard Migration - Dynamic data refacto

2 participants