-
Notifications
You must be signed in to change notification settings - Fork 66
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
Add bulk delete for devices browser #4219
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4219 +/- ##
==========================================
- Coverage 78.66% 78.16% -0.51%
==========================================
Files 286 287 +1
Lines 13161 13261 +100
Branches 2949 2965 +16
==========================================
+ Hits 10353 10365 +12
- Misses 2808 2896 +88
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@joepavitt this is now ready to switch out of draft - please pull and update your local branch and switch out of draft when you have had a moment to sort out the funky column sizing. |
@joepavitt if you havent already pulled this local ignore. I had this targeting main - I just re-targeted it as it was based off the API - you might want to pull local once more (sorry) |
How scalable is listing all of the devices in the dialog? What happens if they have 50 devices to delete? |
Yeah, I'd say just say "Are you sure you want to delete N devices" - no need to list them explicitly. |
I disagree. I explicitly want to spell out what is to be deleted to avoid ambiguity (e.g. when a filter is applied AFTER selection). I've been stung in other applications like this. However, Nick was right to point out scalability of large number of devices - currently this is what a user would see: However, with a simple parent div with max-height and auto scroll overflow, we can still show devices but in a contained manor. |
contained with a max-height auto scroll parent div in contain device delete list to sensible size then scroll |
@joepavitt In an effort to move this along, do you want me to investigate the funky sizing on the new checkbox column and the existing kebab menu column? |
Sorry Steve, this completely slipped off my radar. Will ping you on Slack |
closes #4218
Description
Demo
TODO:
Related Issue(s)
Checklist
flowforge.yml
?FlowFuse/helm
to update ConfigMap TemplateFlowFuse/CloudProject
to update values for Staging/ProductionLabels
area:migration
label