source-academy / frontend

Frontend of Source Academy, an online experiential environment for computational thinking (React, Redux, Saga, Blueprint)
https://sourceacademy.org
Apache License 2.0
103 stars 168 forks source link

CSE: Imported rune constants appear to be bound to strings; formating issues #2921

Closed martin-henz closed 5 months ago

martin-henz commented 5 months ago

Currently we have:

Screenshot 2024-04-10 at 9 15 35 AM

The environment shows "< RUNE >" instead of just . This makes it look like the value is a string.

Also note that the string "< RUNE >" exceeds the boundary of the frame box. This problem appears to be solved for real strings:

Screenshot 2024-04-10 at 9 15 51 AM
martin-henz commented 5 months ago

This is handled in the latest version.