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

Confirmation dialog before exiting active roast #225

Closed
mgerstgrasser opened this issue Jul 5, 2018 · 1 comment
Closed

Confirmation dialog before exiting active roast #225

mgerstgrasser opened this issue Jul 5, 2018 · 1 comment

Comments

@mgerstgrasser
Copy link

Expected Behavior

While in the middle of an active roast, especially with PID control turned on, Artisan should display a confirmation dialog before exiting this roast, for instance after CMD-N or CMD-Q is pressed.

Actual Behavior

Artisan immediately and irrevocably stops the active roast. When CMD-N is pressed, for instance, Artisan will ask to save the logged roast, but there is no way to go back and continue the active roast. This can easily happen on accident. For instance, a user might intend to open a new window in a different program, not realising that Artisan has keyboard focus.

Steps to Reproduce the Problem

  1. Start a new roast, optionally turn on PID control.
  2. Press CMD-N.

Specifications

  • Artisan Version: 1.3.1
  • Artisan Build (number in brackets shown in the about box): 1
  • Platform (Mac/Windows/Linux + OS version): Mac OS 10.13.5
  • Connected devices or roasting machine: Arduino + TC4
MAKOMO added a commit that referenced this issue Jul 7, 2018
@MAKOMO
Copy link
Member

MAKOMO commented Jul 7, 2018

CMD-Q opens a popup confirmation dialog if at least 3 readings have been logged and CHARGE is set. The behavior of CMD-N was restricted for the next version to only perform if CHARGE and DROP was already set. A save confirmation dialog is issued in this case if autosave is not active.

@MAKOMO MAKOMO closed this as completed Jul 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants