rubyforgood / rubyforgood/Flaredown

Health Factors: Randomize "popular" tags section

Open
#312 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:feature-improvement
Dominant language
Ruby
Stars
50
Forks
21
Avg merge
6d 12h
Merged PRs (30d)
16

Description

Popular tags are causing two problems right now: they are taking up a lot of space and skewing the tag counts.

To solve this, let's randomize the "popular" tags section, and then hide it completely once the user has "recent" tags to use.

I believe that logic for randomizing already exists when the user opens any "add trackable" select component. It takes a random selection from the top 100 instances of the given trackable.

Contributor guide

Open the contributing guide

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 at the add trackable select component, where the issue says random selection from the top 100 already exists, and trace how the popular tags section is rendered. The work is done when popular tags are randomized and the section is hidden once recent tags are available; the payload names no specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, ruby
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.