WorldconVotingSystems / WorldconVotingSystems/nomnom
Allow environments to customize the text for showing/hiding entries within a section
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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