WorldconVotingSystems / WorldconVotingSystems/nomnom

Allow environments to customize the text for showing/hiding entries within a section

Open
#421 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
17
Forks
15
Avg merge
11m
Merged PRs (30d)
1

Description

Right now, the button for showing the downloads within a category says "Show all downloads" and the button for hiding them again says "Show only main download".

Environments may want to customize that text, depending on how they're using the subcategories. But the only way to do so is to copy and edit all of hugopacket/index.html and hugopacket/bits/section.html, which are complex files and can diverge from the nomnom versions quickly.

Make a cleaner mechanism for environments to customize those text strings.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by comparing hugopacket/index.html and hugopacket/bits/section.html with the corresponding nomnom templates, focusing on where the show and hide button text is defined. Trace how environment-specific customization is currently handled. Done means an environment can change both strings without copying and maintaining the complex templates.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.