scratchfoundation / scratchfoundation/scratch-blocks

Consider using an ellipsis to truncate long blocks category names

Open
#1,880 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs-discussion needs-triage
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:

screen shot 2019-01-29 at 4 53 46 pm

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.