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

"Motivational words for errors" are being displayed for all errors #3062

Open
AshlinHarris opened this issue Oct 15, 2024 · 3 comments
Open

Comments

@AshlinHarris
Copy link

#3040 mentions that motivational words wil be displayed at a low frequency, but I'm seeing them for 100% of error messages.

Could you please add a toggle switch to disable all motivational words? My team prepares Pluto notebooks for users who are not programmers or Julia users, so if an error occurs, they could be confused by the humor or the link to the Julia Discourse

@pankgeorg
Copy link
Collaborator

There is always the low tech solution of adding this cell:

html"""<style>.dont-panic{ display: none }</style>"""

@3f6a
Copy link

3f6a commented Oct 22, 2024

I would rather suggest to disable these "motivational" messages by default. They are not useful.

@ederag
Copy link

ederag commented Oct 29, 2024

Overall, the new error presentation feels much clearer, thanks !

But here is the story of my encounter with "Keep calm, you got this!":
I was calm, as the errors were expected and easy to fix.
But seeing the computer telling me how to behave ("keep calm"),
and saying something I knew already ("you got this")
did not cheer me up (which was the intent I suppose),
but rather broke my concentration
(where is it coming from, why on some errors only, ... ?)

And after some use I still find those "Motivational words for errors" at best distracting (not entertaining 😉)
(especially as they appear randomly, changing, and prominent).

By the way, I quickly searched for this issue last week, to no avail,
so to help people searching for the message itself,
here is the list of messages (found in frontend/components/ErrorMessage.js):

"Don't panic!",
"Keep calm, you got this!",
"You got this!",
"Silly computer!",
"Silly computer!",
"beep boop CRASH 🤖",
"computer bad, you GREAT!",
"Probably not your fault!",
"Try asking on Julia Discourse!",
"uhmmmmmm??!",
"Maybe time for a break? ☕️",
"Everything is going to be okay!",
"Computers are hard!",
"C'est la vie !",
"¯\\_(ツ)_/¯",
"Oh no! 🙀",
"this suckz 💣",
"Be patient :)"

Final note, about the "link to Julia Discourse":
the few lines below explain why suddenly a discourse page appears sometimes.
But normally when a click might link elsewhere, the link does (or should) appear in status bar. Here it is silent.

Tested with Pluto-0.20.3

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

4 participants