[Bug] Taxonomy page: a long tag name joined with underscores or without spaces does not wrap and overflows the tag list
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- css, typescript
- Domain
- frontend
Research direction
The tag name cell is rendered in src/taxonomy/tag-list/tagColumns.tsx, where a span sits inside a d-flex align-items-center gap-2 span. The issue names this file, but it was filed on openedx-core while the code is in frontend-app-authoring, so confirm the repository first. Import the attached CSV at a 1366 px width and check whether long underscore or unspaced names wrap. Done when they wrap inside the column without overlapping the menu button or the details panel, and without a page scrollbar.
Written by the indexing model from the issue text.
Description
Environment: Master Sandbox, https://apps.master.openedx.io/
Steps to reproduce
- Download the taxonomy export file QA758 Closed Taxonomy 13.10 (1).csv.
- In Studio, go to Taxonomies and import the file as a new taxonomy with Tags taxonomy type.
- Open the imported taxonomy. It contains two 235-character tags made of the same 20 words: one joined with underscores (Competency_Framework_Assessment_..._Strategic_Technical) and one joined with hyphens (Competency-Framework-Assessment-...-Strategic-Technical). The other tags in the file come from other test scenarios. The two names that start with 255 A characters overflow too, because they contain no separator at all, which is not a realistic case.
Actual result
- The hyphen-joined name wraps at the hyphens and fits inside the Tag name column (7 lines at a column width of 358 px).
- The underscore-joined name and name without spaces stay on a single line about 1,650 px wide. It overlaps the tag's action menu button (⋮) and runs underneath the Taxonomy details panel.
- At a 1366 px window width, the underscore-joined name and name without spaces also adds a horizontal scrollbar to the whole page (page width 1696 px, visible width 1351 px).
Expected result
A long tag name wraps inside the Tag name column regardless of which separator it uses, so that it does not overlap the action menu button or the Taxonomy details panel, and does not cause horizontal page scrolling. Names that use underscores are realistic in imported frameworks, where tags often mirror snake_case codes or identifiers.
Technical notes
- The tag name is rendered in
src/taxonomy/tag-list/tagColumns.tsxas a<span>inside<span className="d-flex align-items-center gap-2">. This markup was introduced in frontend-app-authoring PR #2872. - The table cell already has
overflow-wrap: break-word, but the text does not break. A likely cause is that the inner<span>is a flex item, and a flex item defaults tomin-width: auto, so it cannot shrink below the width of its longest unbreakable word. Browsers treat a hyphen as a line-break opportunity, but not an underscore. Addingmin-width: 0to that<span>, or usingoverflow-wrap: anywhere, would probably fix it. This cause has not been confirmed in code. - The issue was found during QA of #758, but it is not caused by #758, which changes no frontend code.
- Dominant language
- Python
- Stars
- 10
- Forks
- 33
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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 openedx/openedx-core
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
openedx/openedx-core#831 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
openedx/openedx-core#827 ·
Maintainers usually reply within 1 day
-
Implement devstack-only support for viewing Assets in the content libraries UI [Optional] [FC-0138]Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
openedx/openedx-core#891 ·
Maintainers usually reply within 1 day
-
Implement shared assets in openedx_content [FC-0138]Possibly taken @bradenmacdonald claimed this 1 day ago. Open
openedx/openedx-core#890 · 1 assignee ·
Maintainers usually reply within 1 day
-
[Bug] Competency Management page: the course panel doesn't match the competency tree's height and grows with its contentPossibly taken @AShatsila claimed this 5 days ago. Open
openedx/openedx-core#873 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in openedx/openedx-core
Similar issues
-
[Bug]: `hermes plugins update` clones an entire monorepo twice - `subdir` is resolved but dropped at both catalog-update call sitesPossibly taken @HootRock claimed this today. Opencomp/cli P2 type/perf
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NousResearch/hermes-agent#142417 · 2 comments ·
Maintainers usually reply within 1 day
-
bug enhancement python
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
DewaldOosthuizen/tech-cheat-sheets-and-notes#392 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
bug p2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Restore postgresql_vm_test_charm actions.yaml change (removed in canonical/postgresql-operator#2054)Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
canonical/postgresql-single-kernel-library#390 · 1 comment ·
Maintainers usually reply within 2 days