OSD icon indicating copy to clipboard operation
OSD copied to clipboard

GUI for Disk Clear Prompt and for Disk Selection?

Open GraphicHealer opened this issue 9 months ago • 4 comments

It would be awesome for the entirety of interaction with Start-OSCloudGUI to be in a GUI.

Currently once you click start in the GUI, it closes, and the last few prompts are in Powershell, like picking the right disk.

It would be awesome if a pop-up box showed with info about the disk you are erasing and "OK" and "Cancel" buttons for you to confirm, or if there is more than one disk, it could give you a pop-up with a selection menu, giving you info about each disk and a choice about which to use, along with the standard "OK" and "Cancel" buttons.

Is this possible?

GraphicHealer avatar Apr 09 '25 20:04 GraphicHealer

To answer your question, yes it is possible. I think its a a good idea, but not life changing, and I'll explain why this hasn't been done yet, and why its not a priority now.

For starters, this will take hours to design, test, and implement. All of us working on OSDCloud have day jobs, and our time is short, so we have to measure things like this vs the expected benefit.

Second, selecting the disk is currently done during deployment, which only takes a second or two, which would have to be done anyway if we moved this to the GUI. So there is no real time savings that will be gained. Third, OSDCloud runs in GUI and CLI, with a 50/50 split, so the benefit would only be for those using OSDCloud GUI, not OSDCloud CLI.

Next, most devices only have a single disk. I'm not sure about the numbers, but my guess would be 5% or less of the devices that use OSDCloud have an issue of two disks, which is solved in the current process anyway.

Finally, the current prompt happens very early in the process, within the first minute or so, which keeps it from being missed.

So the ask here is essentially cosmetic, impacting < 2.5% of the devices that use OSDCloud at most, with no time saving benefit. This is not a paid product, so our development time costs to implement this won't be recovered in any way.

But it would look great, I'm sure. I'll keep this as an enhancement, and you're welcome to submit a PR if you want to spend a few hours on this with my thanks in advance.

OSDeploy avatar Apr 10 '25 03:04 OSDeploy

PS. You can always toggle the "Clear-Disk Confirm Prompt" in the GUI for a more "I'm Feeling Lucky" type of deployment, so the only time you should be prompted will be if you have multiple disks.

Image

OSDeploy avatar Apr 10 '25 03:04 OSDeploy

PS. You can always toggle the "Clear-Disk Confirm Prompt" in the GUI for a more "I'm Feeling Lucky" type of deployment, so the only time you should be prompted will be if you have multiple disks.

Image

Yeah, I considered doing that, but I'd rather be ABSOLUTELY sure that it is the correct drive. I didn't think it would be high-priority, I just put it in here so it's in your considerations, and doesn't get forgotten about. No rush, it works well as it is. It'd just be a little bit nicer if it was all GUI.

GraphicHealer avatar Apr 10 '25 17:04 GraphicHealer

Also, I have done a bit of Powershell, so I could possibly look into creating a PR, that is if I can find the time... 😁

GraphicHealer avatar Apr 10 '25 17:04 GraphicHealer