Test & resolve final accordion markup pattern rewrite: CRMDashlet (pattern 2)
The accordion issue #60 has just one pattern left remaining, which appears in one part of CiviCRM, the dashboard. This is more complex than other accordions as the summary bar needs to be drag-and-drop, as well as have function buttons for refresh, close, and expand-to-modal.
There's a WIP PR for it here: https://github.com/civicrm/civicrm-core/pull/29613 – which has two outstanding issues:
- the expand-to-modal duplicates the title.
- the refresh js in
crmDashlet.component.js
needs to be updated
In addition, testing needs to confirm on several CMS the following still work:
-
drag, -
drop, -
expand fullscreen, -
expand/collapse accordion, -
refresh, -
remove dashlet -
inactive dashlet state (when clicking 'available dashlet')