Skip to content
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

Greedy writing mode #951

Open
alexandrosm opened this issue Dec 6, 2016 · 13 comments
Open

Greedy writing mode #951

alexandrosm opened this issue Dec 6, 2016 · 13 comments

Comments

@alexandrosm
Copy link
Contributor

Would there be a way to put Etcher into a mode that will have it automatically write an image, with no additional interaction, to any removable media it detects? This would make writing multiple cards much easier, by just waiting for the OK and then inserting another, until done, with no etcher-clicking required.

This is another Hard Etcher motivated feature.

@jviotti
Copy link
Contributor

jviotti commented Dec 6, 2016

This is what we've done for the "headless Etcher" hack at the summit, so we have a clear idea about what it takes already. We have everything needed technical wise, so I'll mark this issue as "pending design" so we can start discussing how this would work UX-wise.

/cc @konmouz

@lurch
Copy link
Contributor

lurch commented Dec 7, 2016

I think having it automatically write to any removable drive it detects sounds far too risky! 😨
(I suspect it'll be far too easy for a user to use this feature, switch to another application but leave Etcher running in the background, and then plug in their USB harddrive...)

I guess if you're using an SD card-reader, it might be "safe" to select that as the drive in Etcher, and then have Etcher write the selected image to the drive every time it detects that you've (removed and then) inserted an SD card. (which obviously only works for those SD card-readers where the whole device doesn't disappear when you remove the SD card. If the SD card-reader device disappears, we can't know that the next time a removable device reappears if it's the same SD card-reader and not a USB harddrive (unless we start getting down to the USB VID/PID level...))

@alexandrosm
Copy link
Contributor Author

The definition of the target is certainly sth to think about

@konmouz
Copy link

konmouz commented Dec 7, 2016

Sounds risky indeed but also very effective.

@alexandrosm
Copy link
Contributor Author

alexandrosm commented Dec 7, 2016 via email

@jviotti
Copy link
Contributor

jviotti commented Dec 7, 2016

A small notification says that we're about to write to that drive kinda mitigates that risk IMO.

@lurch
Copy link
Contributor

lurch commented Dec 7, 2016

How do you define a "blank" card? All new SD cards that I've seen come pre-formatted as FAT32 / exFAT.

I guess if we're going to show a countdown-alert, then we'd need to ensure that Etcher jumps to the foreground and doesn't just display the countdown in the background ;)

@jviotti
Copy link
Contributor

jviotti commented Dec 7, 2016

How do you define a "blank" card? All new SD cards that I've seen come pre-formatted as FAT32 / exFAT.

Yeah, cards without file-system are rare. In the case of FAT, we can use something like https://github.com/natevw/fatfs to actually see the files inside.

@konmouz
Copy link

konmouz commented Dec 7, 2016

If we go through the flow of displaying a notification modal, then we can have a confirmation CTA. It is kind of an extra step but can help to avoid trouble. Plug the new drive, get a modal in foreground with 'proceed' and 'abort' CTA.

@lurch
Copy link
Contributor

lurch commented Dec 7, 2016

The first post in this thread says "with no etcher-clicking required" ;-)

@jviotti
Copy link
Contributor

jviotti commented Dec 7, 2016

If we go through the flow of displaying a notification modal, then we can have a confirmation CTA. It is kind of an extra step but can help to avoid trouble. Plug the new drive, get a modal in foreground with 'proceed' and 'abort' CTA.

We can show a small modal with confirmation/cancel icons in the form of a notification (like OS X does), but still default to just write if there user doesn't says anything in X amount of seconds, so we get the best of both worlds.

@konmouz
Copy link

konmouz commented Dec 7, 2016

Agreed

@jviotti jviotti modified the milestones: Backlog, Experience Dec 7, 2016
@lurch
Copy link
Contributor

lurch commented Dec 7, 2016

...and that would also allow impatient users to click 'Continue' if they don't want to wait for the timeout to expire ;-)

@jviotti jviotti modified the milestones: Experience, Backlog Mar 17, 2017
@lurch lurch modified the milestones: Backlog, Hardware Etcher Feb 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants