Merge ~caleb-ellis/maas:grouping-improvements into maas:master
Status: | Merged |
---|---|
Approved by: | Caleb Ellis |
Approved revision: | b48f6a6f3c309d4747d88412b4adbd24d280fab6 |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~caleb-ellis/maas:grouping-improvements |
Merge into: | maas:master |
Diff against target: |
459 lines (+261/-20) 5 files modified
src/maasserver/static/js/angular/directives/machines_table.js (+70/-11) src/maasserver/static/js/angular/directives/tests/test_machines_table.js (+128/-0) src/maasserver/static/partials/machines-table.html (+27/-6) src/maasserver/static/scss/_base_forms.scss (+1/-1) src/maasserver/static/scss/_tables.scss (+35/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Anthony Dillon | Approve | ||
Review via email: mp+366459@code.launchpad.net |
This proposal supersedes a proposal from 2019-04-24.
Commit message
Make machine groups selectable, collapsible and display count
Description of the change
## Done
- Added checkboxes to group headings, which when clicked either selects all unselected machines in a group, or unselects all machines in a group.
- Groups are now collapsible/
- Groups now have a count of the number of machines and the number of selected machines in that group
- Note there is currently a bug when using the "update your selection" link when action can't be performed on all machines, which has been present since the first grouping MP. This will get fixed as part of https:/
## QA
- Check that selecting a group selects all machines in that group and makes the background of the group white
- Check that unselecting a single machine in a group will cause the group checkbox to become unchecked
- Check that you can expand and collapse groups
- Check that the count underneath the group label is correct
- Check that the ungrouped list still looks and works correctly
## Screenshot
https:/
LGTM +1