Alert: Thought is ellipsized when fewer than three characters are truncated
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- frontend
Research direction
Search the TypeScript code for the alert text and ellipsizing logic, then reproduce the drag-and-drop case with “Los Angeles, CA” and “A”. The change is done when values are ellipsized only if at least three characters would be truncated, and the alert shows the full original value for this case.
Written by the indexing model from the issue text.
Description
Steps to Reproduce
- A
- Los Angeles, CA
- Drag
Los Angeles, CAand drop it ontoA.
Current Behavior
The alert reads "Los Angeles, C..." moved to "A". A single character is truncated and replaced by a three-character ellipsis, so the ellipsized value (17 characters) is longer than the original (15).
Expected Behavior
A value is ellipsized only when at least three characters are truncated, so that ellipsizing never lengthens the value. Los Angeles, CA is shown in full: "Los Angeles, CA" moved to "A".
- Dominant language
- TypeScript
- Stars
- 356
- Forks
- 141
- Avg merge
- 23h 39m
- Merged PRs (30d)
- 283
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.
More from cybersemics/em
-
[Desktop] Empty thought is created when user hit `Enter` / `Return` on keyboard during search flow Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
cybersemics/em#5587 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
cybersemics/em#5403 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cybersemics/em#5366 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
cybersemics/em#5363 ·
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
cybersemics/em#5357 ·
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100