[Bug] Taxonomy page: a long tag name joined with underscores or without spaces does not wrap and overflows the tag list
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- css, typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 10
- Fork
- 33
- Merge trung bình
- 2 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 17
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của openedx/openedx-core
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
openedx/openedx-core#831 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
openedx/openedx-core#827 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Competency Management page: long competency names and Competency ID badges overflow the tree and the course panelCó thể đã có người làm @AShatsila đã nhận 2 ngày trước. Đang mở
openedx/openedx-core#868 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] The pagination buttons on the Competency Management page sit directly on the top borderCó thể đã có người làm @AShatsila đã nhận 6 ngày trước. Đang mở
openedx/openedx-core#859 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Tag import: parent_id isn't re-validated when it matches the pre-import parentCó thể đã có người làm @ufedaseyeuconsultant đã nhận 6 ngày trước. Đang mở
openedx/openedx-core#858 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của openedx/openedx-core
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
common-workflow-language/cwl-utils#477 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add dependabotĐang mởfeat
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 72/100
open-nudge/opentemplate#204 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
github-stale-ci-pr-closer: KV state is double-wrapped, never persists, and hits the depth-32 limitCó thể đã có người làm @VascoSch92 đã nhận hôm nay. Đang mởpriority:medium ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
OpenHands/extensions#781 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
curriculum documentation quality
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
githubnext/gh-aw-workshop#4638 ·
Maintainer thường phản hồi trong vòng 1 ngày