Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

ux: shortlist should show what the set owes, and offer a "Copy link to this view" and a filtered export

Đang mở
#110 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/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

Start with site/public/shortlist.js to see how the panel renders and exports, then read site/lib/owes.mjs and its use in stack-page.mjs for the obligations output. Check site/public/app.js for URL filter state and exports.mjs for CSV cell neutralisation. Done when the shortlist shows obligations, offers a copyable filtered view link, and downloads current results as CSV and JSON.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement priority: medium

Why it matters
The shortlist (#47) is the closest thing the site has to a planning tool, but its panel only offers downloads. The site already computes obligations for stacks ("what the whole set owes") in site/lib/owes.mjs; running the same function over the shortlist turns it into "credits you must show, notices you must keep, files you must check per item" before a developer commits to a set. Separately, filter state lives in the URL, but nobody reads the address bar on a phone; a "Copy link" button next to the result count makes a filtered view shareable, and a "Download these as CSV" uses the same client data (catalog.csv exists but is unfiltered).

Evidence

  • site/public/shortlist.js (136 lines) renders the panel and the CREDITS export only.
  • site/lib/owes.mjs computes obligations for stack pages (stack-page.mjs).
  • site/public/app.js:137 serialises filter state to the URL already.

Suggested approach

  1. In the shortlist panel, render owes(entries) output under the list (reuse the stack page markup and CSS).
  2. Add a "Copy link" button beside the live result count using navigator.clipboard with a fallback.
  3. Add "Export results (CSV / JSON)" generating from the current filtered array with the same cell neutralisation as exports.mjs (reuse the function; it is pure).

Done when
The shortlist panel lists obligations for the chosen entries, a filtered view can be copied as a link in one tap, and the current results can be downloaded.

Ngôn ngữ chính
JavaScript
Star
58
Fork
15
Merge trung bình
18 giờ 42 phút
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TMHSDigital/Free-Game-Dev-Assets

Tất cả issue của TMHSDigital/Free-Game-Dev-Assets

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.