Skip to content

Fix(Dashboard): Fix empty card for other plugins#285

Closed
stonebuzz wants to merge 1 commit into
mainfrom
fix_dashboard
Closed

Fix(Dashboard): Fix empty card for other plugins#285
stonebuzz wants to merge 1 commit into
mainfrom
fix_dashboard

Conversation

@stonebuzz

Copy link
Copy Markdown

Fix !44577

The way the Carbon plugin currently computes reports prevents other plugins from contributing their own report data.

The $cards variable is systematically reset with:

$cards = [];

However, this variable is actually passed as a parameter and may already contain cards computed by other plugins. Resetting it at this stage discards any previously generated data and prevents proper aggregation of dashboard cards across plugins.

The implementation should preserve the existing contents of $cards and append or merge the Dashboard plugin's cards instead of reinitializing the array.

@stonebuzz stonebuzz added the bug Something isn't working label Jun 17, 2026
@stonebuzz stonebuzz self-assigned this Jun 17, 2026
@stonebuzz stonebuzz requested a review from btry June 17, 2026 07:59
@btry

btry commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Already fixed in

#284

development should target support/* and develop branches.

@stonebuzz stonebuzz closed this Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants