ER: [Toolkit Page]: Fix "undefined" message shown when filter selects no guide or resource cards
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
- 82/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ệ
- javascript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Bắt đầu với toggleNoResultMsgIfNoMatch trong assets/js/toolkit.js và theo dõi cách sử dụng noResultMessageComponent trong assets/js/elements/noResultsMessageFilter.js. Kiểm tra cách current-projects.js sử dụng hàm dùng chung trước khi thực hiện thay đổi. Được xem là hoàn tất khi thông báo không có kết quả của toolkit hiển thị danh mục bộ lọc, chẳng hạn như "Tools: Github", thay vì "undefined: Github", mà không làm hỏng trang còn lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Emergent Requirement - Problem
On toolkit page, when applying filters to search for guide or resource cards, if no results match the selected criteria, the page displays the message "we couldn't find results for:" followed by the filter information. However, the filter label is missing and shows as undefined: Github instead of the expected category name like Tools: Github.
Issue you discovered this emergent requirement in
- #8558
Date discovered
9/30/2026
Did you have to do something temporarily
- YES
- NO
Who was involved
@Tomomi-K1
What happens if this is not addressed
When users apply filters that return no matching guide or resource cards, they see a confusing error message displaying undefined: Github instead of a clear filter label like Tools: Github. This creates a poor user experience. Without fixing this, users cannot effectively troubleshoot their searches or understand why no results appeared.
Resources
- pages/toolkit.html : Toolkit Page
- Function that handles showing no result message can be found on assets/js/toolkit.js: Function name is
toggleNoResultMsgIfNoMatch. toggleNoResultMsgIfNoMatchusesnoResultMessageComponentfunction from assets/js/elements/noResultsMessageFilter.js
Recommended Action Items
- Make a new issue
- Discuss with team
- Let a Team Lead know
Potential solutions [draft]
-
Update
filterNameSingularinsidenoResultMessageComponentfunction to properly handle cases with toolkit page but also need to double check with how this function is also used in current-projects.js and make sure it works for both. Or we could make separate function for each. -
refer to project Page for the error message:
example 1:
"undefined : Github"
should be:
"Tool: Github"
undefined should be replaced by singular category name. (example: technologies => Technology, Tools => Tool)
example 2:
"undefined: Project+Management"
should be:
"Practice: Project Management"
replace undefined with category singular name and replace + with space.
- Ngôn ngữ chính
- JavaScript
- Star
- 365
- Fork
- 873
- Merge trung bình
- 1 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- 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 hackforla/website
-
Complexity: Small ER Feature: Refactor CSS Issue Making: Level 2 P-Feature: Projects page ready for merge team role: front end size: 0.25pt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
good first issue P-Feature: Project Info and Page ready for merge team role: back end/devOps role: front end size: 0.25pt
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
-
good first issue P-Feature: Project Info and Page ready for merge team role: back end/devOps role: front end size: 0.25pt
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
-
good first issue P-Feature: Project Info and Page ready for merge team role: back end/devOps role: front end size: 0.25pt
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
good first issue P-Feature: Project Info and Page ready for merge team role: back end/devOps role: front end size: 0.25pt
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
Tất cả issue của hackforla/website
Issue tương tự
-
Site Suggestion: bullseyeĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Add toro4n to the data modeling toolsCó thể đã có người làm @henriklantzhedstrom-prog đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
neo4j/docs-getting-started#546 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 25 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
libnativeapi/nativeapi#21 ·
-
area: core complexity: easy impact: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
ueberdosis/tiptap#8668 ·
Maintainer thường phản hồi trong vòng 1 ngày