-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Provide a cleaner error message when attempting to remove a TemplateVM currently in use by other VMs #4763
Provide a cleaner error message when attempting to remove a TemplateVM currently in use by other VMs #4763
Comments
Oops, just noticed the message buried in there about extant VMs using this template. I'll convert this to a minor UX enhancement to make the error message just say that without all the other noise. |
Instead of parser.error, something better could be used here. Maybe warning messages in red color. And maybe it should warn user to use qvm-template or qvm-template-gui next time. I will work on this. |
@andrewdavidwong I just pushed a PR to fix this minor issue. Below is the output of p.s.: I also recommend removing the
|
It still seems somewhat easy to miss because there are multiple lines of text both before and after, but it's better than before. (I'm not a fan of using multiple exclamation points in a row. Urgency is not a substitute for explanation, and it seems a bit unprofessional to me.)
The command-line interface is also a user interface and can have user experience problems just like any other user interface. |
The lines before and after the messages are regretfully from dnf interface and could not be suppressed and/or changed further.
Yes. You are right. I changed them to a sinle exclamation point. |
Qubes OS version:
R4.0
Affected component(s):
qvm-template-postprocess
?In case it's relevant, these were installed by
qubesctl state.sls qvm.anon-whonix
.Related issues:
The text was updated successfully, but these errors were encountered: