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 · 6 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

@BioTurboNick
Copy link
Contributor

BioTurboNick commented Dec 16, 2024

Yeah... I'm using Pluto in a professional context, and these are kind of embarrassing. I'm glad I'm still on v0.19.x at the moment...

@pankgeorg
Copy link
Collaborator

and these are kind of embarrassing

This is not our intent at all. I've been in the business, client facing world and I can relate with the feeling. We are investigating Pluto-themed approaches, I'll keep you posted.

@3f6a
Copy link

3f6a commented Dec 19, 2024

@pankgeorg Thank you. Could there be a setting that can turn these messages on or off ? Perhaps an argument that we can toggle in the call to initiate the Pluto server, Pluto.run(...).

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

Successfully merging a pull request may close this issue.

5 participants