Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#110 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
55/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
javascript
Domínio
frontend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
JavaScript
Estrelas
58
Forks
15
Merge médio
16h 53min
PRs com merge (30d)
14

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de TMHSDigital/Free-Game-Dev-Assets

Todas as issues de TMHSDigital/Free-Game-Dev-Assets

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.