-
Notifications
You must be signed in to change notification settings - Fork 34
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
Begginer issues with /intro - wording, UX, ((fn)) error ... #206
Comments
I appreciate your feedback. Next time it may be better to split separate concerns into separate tickets, so they can be tracked individually. As it is we may need to close this before all points are resolved. |
this just made me realize that we updated the keybindings without updating our guide - the binding for evaluating an entire cell is now just
This may well be a recent regression, I updated Maria to the latest ClojureScript versions and haven't thoroughly tested error messages. |
re: function error message - I spoke too soon; the problem is that our pattern-matching for error messages isn't matching |
I'm interested to try and contribute. Which of these points are to be converted to their own issues? I'm interested to:
|
Issue:
Maria is awesome! I have just tried the intro with a beginner and we run into a few issues that perhaps could be improved. Perhaps some of these could be turned into issues of their own?
(1) "Parens" is an unknown expression to normal people so I would add the bold part to this text:
(2) UX: Parens are way too light-colored and hard to see, which makes it also difficult to separate individual sub-expressions. Darker color would be better. (Especially if the reader has weak sight.)
(3) Perhaps start with Shift-Ctrl-Enter and only introduce Ctrl-Enter later - it is easy to misplace the cursor and become confused as to why you get just
25
instead of a circle. This is only explained later in the tutorial. Alternatively, check the result of the evaluation against what the tutorial does expect and provide a helpful message if they don't, such as(when (input code is as expected and output != shape) (message "Why are you not seeing a shape? You have likely placed your cursor inside the expression and evaluated only a part of it. Place it after the closing
)and evaluate it again.")
(4) Error message for
((shape 20))
is not friendly - "shapes.core.circle.call(...).call is not a function"(5)
(doc layer)
uses so far unexplained&
in[& shapes]
- perhaps it should be explained?(6) Under "Shapes and Colors" this is unclear and confusing (it certainly confused me):
It would be better to actually provide the empty line for the code there, perhaps with a blinking cursor where the user is expected to start typing
Let me know if I can help in any way!
Environment:
URL to a gist replicating the issue (if possible/relevant)
The text was updated successfully, but these errors were encountered: