Project

General

Profile

Bug #30656

Empty run distribution chart in the dashboard

Added by Avi Sharvit about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Dashboard
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

When having more than one distribution widget on the dashboard, only the last one is getting rendered.
This happens because we mount the component on `div#run_distribution` that has multiple instances.
https://github.com/theforeman/foreman/blob/develop/app/views/dashboard/_distribution_widget.html.erb#L9

Associated revisions

Revision f81c0b02 (diff)
Added by Avi Sharvit about 1 year ago

Fixes #30595,#30656 - support rendering multiple distribution widgets

migrate the distribution_widget to use react_component.

History

#1 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7907 added

#2 Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases 2.3.0 added

#3 Updated by Avi Sharvit about 1 year ago

  • Status changed from Ready For Testing to Closed

#4 Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/theforeman/foreman/pull/7975 added

Also available in: Atom PDF