-
Notifications
You must be signed in to change notification settings - Fork 80
Improve bulk device group assignment #6379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…s, alerts, and related UI elements
… handle content overflow in Accordion and list selected devices
- Add "Remove" button for individual devices with disable condition - Emit `selection-removed` event when devices are removed - Improve DataTable row key handling and integrate dialog state
- Add ref to DataTable for programmatic row toggle - Watch and sync `checkedDevices` with dialog state - Add `removeFromSelection` method and bind it to `selection-removed` event
…oup" - Refactor computed properties for application ownership, single-device assignment, and disabling primary actions. - Simplify device group fetching logic with application parameter. - Remove redundant validation methods and integrate ownership checks directly into computed properties. - Enhance UI logic with conditional rendering and alignment tweaks.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6379 +/- ##
=======================================
Coverage 76.22% 76.22%
=======================================
Files 393 393
Lines 19788 19789 +1
Branches 4743 4744 +1
=======================================
+ Hits 15084 15085 +1
Misses 4704 4704
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…lection - Move "Add Device to Group" dialog to `device-group-management` folder. - Create new "Remove Device From Group" dialog. - Replace inline device selection UI with reusable `DeviceList` component. - Simplify UI and state handling for group management dialogs.
hardillb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, but with the comment about expanding the list if there are problems.
Will let @cstns merge
|
I created a follow up task: #6430 for it |

Description
This PR improves the bulk device group assignment user experience by extending the "Add to Group" and "Remove from Group" dialogs to include a collapsible list of selected devices, allowing users to review and modify their selection before confirming.
Key Changes:
DevicesBrowser.vuebulk-device-group-assignment.mp4
Related Issue(s)
closes #6164
Checklist
flowforge.yml?FlowFuse/helmto update ConfigMap TemplateFlowFuse/CloudProjectto update values for Staging/ProductionLabels
area:migrationlabel