Closed MarianRaphael closed 10 months ago
What happens if a Device in a Group in in DEV mode? Warning pop-up and automatic switch to fleet mode
Next iteration: https://github.com/FlowFuse/flowfuse/issues/3142
@MarianRaphael, @joepavitt , @Yndira-FlowForge
Firstly, My apologies if there are existing designs that I missed (I did look in the three linked issues)
Questions on design specifically around "Device Groups" that will soon block me - looking for direction please?
Device Count
pill Targeted Count
pill (the amount of devices with target snapshot set to that of the last pipeline deploy)Active Count
(the number of devices in the group that have the Active snapshot set to that of the last pipeline deploy)
- Device Group colour?
I had assumed the same at the "Device Icon". The blue we use as a link, purple is for the dev mode. Green/Yellow have traffic light connotations, so I'd say keep the same. Happy to be overruled by @Yndira-FlowForge though.
- What will we display in the stage?
I'd agree with your ideas here. Although a user is then inevitably going to want to see which devices haven't been deployed to yet, although I guess that's accessible by going to the Device Group page anyway?
- Should we have a stage AFTER a Device Group stage? Does it make sense?
Good question as it's not clear what the selected action could do. There are no Device Group scoped Snapshots or anything, so I'd say, for now, nothing can go after a Device Group in a Pipeline. Thoughts @MarianRaphael?
Should we have a stage AFTER a Device Group stage? Does it make sense?
To make it as simple as possible in this iteration, no
Although a user is then inevitably going to want to see which devices haven't been deployed to yet
I have a follow-up story for this need: https://github.com/FlowFuse/flowfuse/issues/3142 But I agree just a small notification with the different numbers is a good idea:
- Device Group colour?
I had assumed the same at the "Device Icon". The blue we use as a link, purple is for the dev mode. Green/Yellow have traffic light connotations, so I'd say keep the same. Happy to be overruled by @Yndira-FlowForge though.
@Yndira-FlowForge can you comment please?
IMHO, the device and device-group icons are so similar that habing the same colour makes it a little difficult to distinguish
RE: Device Group status info
This is what I ended up achieving:
This was discussed with Joe.
Although Joe knew what the numbers were, his instinct was to "add them up" and felt it was distracting / unclear.
After some discussion, Joe has asked that the "Target" and "Developer Mode" counts be removed.
This leaves us with this:
@joepavitt tagged for his thoughts (as discussed)
@Yndira-FlowForge for your thoughts alternative design direction
We should also have a tooltip on the "3" to detail this a little further.
The listing of the states beyond just "Active" is confusing as it still doesn't give the full picture. My reasoning for just showing Active is that's what the user cares about here, so put it front and centre. The others were distracting.
To investigate why, they would need to click on the Device Group, and then in the "Devices" view, we need to list target/Active snapshot as per the existing Devices Browser. I know this is a followup action though, and not part of 1st iteration here
We should also have a tooltip on the "3" to detail this a little further.
If the device count matches the active count, there will be no tootip
open to suggestions on wording
there will be no tootip
"All Devices running latest snapshot" in this case would be clearer.
open to suggestions on wording
Think as you have it is fine for now, but we change it to "Some devices not running latest Snapshot. View Device Group for more information" or something along those lines - maybe too wordy.
or something along those lines - maybe too wordy
After a nights sleep and going back n forth, I have stumbled on the following wording that feels more "related" to piplines (since the status badge is driven by the pipeline deployed targetSnapshotId) 🤞
nailed it @Steve-Mcl 👍
Staging verification: 20/12/2023
User Story
As a FlowFuse user, I want the ability to push a Snapshot through a DevOps Pipeline to a groups of devices, So that I can efficiently manage and update multiple devices simultaneously