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
Display error message in status bar when execution failed #6918
Conversation
app/gui/src/ide.rs
Outdated
/// Text that shows up in the statusbar when backend reports a failed execution. | ||
pub const EXECUTION_FAILED_MESSAGE: &str = "Execution failed. Please try restarting IDE."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could also display the message received from the engine, making debugging user problems easier.
The question is if the messages are not too long.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Please report this problem at support@enso.org
" as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The message from the engine seems to be too long. I added the email address as suggested
|
|
|
@farmaazon |
I don't understand this inference. You need to restart Enso because execution is failing for some reason. What does it have to do with saving projects? Of course, it may happen if the engine is thoroughly broken, but this is not because of execution fail. |
QA report 🍌The message is displayed as it should. However, when playing with it, I realized there are some ways of improvement:
From the above points, I think we could change the second sentence to "Please try restarting project or IDE and..." or - if we would implement the point 3 - "Please try to re-execute graph, restart project or IDE..." |
Currently, the engine sends |
I adjusted the text on the label as suggested and created additional issues for improvements, @farmaazon please confirm if we can merge it now. |
It's a variation of 🟡 (not red, but also not entirely green). |
I know! It just made me laugh, that was a nice touch :D |
Pull Request Description
Closes #6859
2023-06-01.13-38-50.mp4
Latest state:
Important Notes
Is current message to the user correct? Do we need to say something more?Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
./run ide build
.