Table of downloads is too long

Open Beginner friendly
#103 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
scala
Domain
frontend

Research direction

Start by locating the code that renders the download tables for standard games and variants, then check how the static site builds those pages. Show only the latest six months initially and add a client-side “expand all” control for the remaining downloads. Done means both tables remain usable, the information below them is easier to reach, and the site still works entirely as a static website.

Written by the indexing model from the issue text.

Description

The table of downloads on standard games and variants is too long to comfortably scrol, and there is useful information below each table.

I would suggest showing up to the last 6 months on landing and introducing an "expand all" button which shows all remaining downloads.

Constraint: The website must remain wholly static, so the expand all button should work entirely client-side.

Dominant language
Scala
Stars
124
Forks
44
Avg merge
9d 16h
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lichess-org/database

All issues in lichess-org/database

Similar issues

More Scala issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.