Skip to content

feat(reroll): add reroll button to pick another random film - #62

Merged
Nacchofer31 merged 11 commits into
masterfrom
feature/reroll-button
Jul 20, 2026
Merged

feat(reroll): add reroll button to pick another random film#62
Nacchofer31 merged 11 commits into
masterfrom
feature/reroll-button

Conversation

@Nacchofer31

Copy link
Copy Markdown
Owner

Summary

Adds a reroll button below the film poster that lets users pick a different random movie from the cached result set without re-fetching.

Changes

  • UI: New RerollButton composable (pill shape, green accent, shuffle icon) matching the pen design
  • Action: OnRerollClicked wired through RandomFilmAction
  • ViewModel: Caches Set<Film> from getRandomMovies, picks a random film on reroll via extractResultMovie
  • Repository: getRandomMoviegetRandomMovies returning Set<Film>, new extractResultMovie method
  • i18n: reroll string added across 13 locales (en, es, gl, ca, pt, fr, de, it, ru, ar, hi, zh, ja)
  • Design: Migrated icon_fonticon format and updated stroke definitions in randomboxd.pen

Commits

  • feat(reroll): add reroll button UI with i18n
  • feat(reroll): add reroll logic in ViewModel
  • style(design): migrate icon format in pen file

Add RerollButton composable matching pen design (pill shape, green accent, shuffle icon). Wire OnRerollClicked action and localize string across 13 locales.
Rename getRandomMovie to getRandomMovies returning Set<Film> for caching. Add extractResultMovie to repository. ViewModel caches results and picks a random film on reroll.
Migrate icon_font to icon type, update stroke definitions, and add reroll button design element.
@Nacchofer31 Nacchofer31 self-assigned this Jul 18, 2026
@codecov

codecov Bot commented Jul 18, 2026

Copy link
Copy Markdown

@Nacchofer31
Nacchofer31 merged commit 53df5f1 into master Jul 20, 2026
6 of 7 checks passed
@Nacchofer31
Nacchofer31 deleted the feature/reroll-button branch July 20, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant