hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.26k stars 282 forks source link

Shorten error messages #5546

Closed ArtV11 closed 2 weeks ago

ArtV11 commented 1 month ago

This pull request is part of a larger project in which we are redesigning our error messages according to these guidelines.

In this PR, I have worked on the redesigning topic (iii) Keeping Them Short where we aim to keep our error messages concise and short while providing sufficient information about the issue and its cause. Given that people often do not read the entire error message, critical information will be presented at the beginning.

Addresses #5012

Felienne commented 2 weeks ago

Hi @jpelay!

One of the Cypress tests is failing on this one, could you take a look?

jpelay commented 2 weeks ago

One of the Cypress tests is failing on this one, could you take a look?

It's failing because the test is expecting the old error messages. I will update it and they should be ok!

mergify[bot] commented 2 weeks ago

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).

mergify[bot] commented 2 weeks ago

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).