Stack pages: add every pick to the shortlist in one click
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
- 82/100
- Loại issue
- Tính năng
- Độ 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
Đọc site/public/stack.js và site/lib/stack-page.mjs để xem các lựa chọn trong stack được hiển thị như thế nào, sau đó kiểm tra phần lưu trữ danh sách rút gọn và listener storage trong site/public/shortlist.js. Chạy npm test và kiểm tra xem một lần nhấp có thêm mọi lựa chọn mà không bị trùng lặp, báo số lượng đã thêm và cho phép các tab khác cập nhật hay không.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
A stack is a curated starter kit, but its page only offers copy-credit buttons. Getting the kit into the shortlist, where the CREDITS export lives, means opening each entry one at a time.
Where
site/public/stack.js:1-26(copy buttons only)site/lib/stack-page.mjs(no shortlist hook)site/public/shortlist.js:12-21(storage),:171(storage listener)
Impact
Jam and solo developers following a stack get the whole kit and its attribution file in one step.
Suggested fix
Add an "Add all to shortlist" button that merges the stack's entry ids into the shortlist storage key (dedupe), shows a status line, and relies on the existing storage listener to refresh other tabs.
Acceptance criteria
- One click adds every stack pick to the shortlist without duplicates
- Status message confirms how many were added
Getting started
- Relevant files:
site/public/stack.js,site/lib/stack-page.mjs - Run the tests:
npm test; the full local gate isnpm run check(Node 22+, no install step) - Related docs:
CONTRIBUTING.md,site/README.md
Related: #110
Filed by repo-audit/full-audit at 4adb944. Severity: medium. Effort: S. audit-key: enhancement|site/public/stack.js|addStackToShortlist
- Ngôn ngữ chính
- JavaScript
- Star
- 58
- Fork
- 15
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Không có Dockerfile hay 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 TMHSDigital/Free-Game-Dev-Assets
-
documentation good first issue priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
TMHSDigital/Free-Game-Dev-Assets#270 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation priority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
TMHSDigital/Free-Game-Dev-Assets#269 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue priority: low tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
TMHSDigital/Free-Game-Dev-Assets#267 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue priority: low tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
TMHSDigital/Free-Game-Dev-Assets#266 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: low tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
TMHSDigital/Free-Game-Dev-Assets#265 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của TMHSDigital/Free-Game-Dev-Assets
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
microsoft/TypeScript#65370 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
metrics priority: medium
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
LearningCircuit/local-deep-research#8336 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ace bug yaml
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
svelte: whitespace-only edit leaves an empty todo, edits not trimmed, filter not restored on reloadĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
agentic-workflows
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
githubnext/gh-cao#20316 ·
Maintainer thường phản hồi trong vòng 1 ngày