scratchfoundation / scratchfoundation/scratch-blocks
Consider using an ellipsis to truncate long blocks category names
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 1.6k
- Avg merge
- 4h 51m
- Merged PRs (30d)
- 12
Description
Expected Behavior
We should have a graceful way to handle long names of blocks categories that do not fit in the blocks category menu.
Actual Behavior
Currently, there is at least one case in which a blocks category name is truncated by the width of the blocks category menu. The name of "variables" in Slovenian (Slovenščina) is Spremenljivke. In the menu at the left, that word is truncated and the final "e" in the word is hidden:

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the blocks category menu and reproduce the truncation with the Slovenian “Spremenljivke” label. Check how long category names are displayed and confirm that the completed behavior shows an ellipsis while keeping the category menu usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100