lubien / lubien/sorteios

Separate "current prize" from the others

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

Nobody has claimed this yet.

good first issue
Dominant language
Elixir
Stars
56
Forks
18
PR merge metrics
No merged PRs in 30d

Description

image

Our current "current prize" logic is that it will always pick the first unclaimed prize. The UX here is not very clear!

There should be something like this:

## h2: Current prize

[show next prize here]

## Next prizes

[show everything else here]

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 locating the current-prize logic and the page or LiveView that renders the prize list. Separate the next unclaimed prize from the remaining prizes in the display, following the requested Current prize and Next prizes sections; done when the first appears alone and all others appear below it.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.