Skip to content

feat(new tool): Random Line Picker#393

Merged
sharevb merged 2 commits intosharevb:chore/all-my-stuffsfrom
drakhart:feat/randon-line-picker
May 10, 2026
Merged

feat(new tool): Random Line Picker#393
sharevb merged 2 commits intosharevb:chore/all-my-stuffsfrom
drakhart:feat/randon-line-picker

Conversation

@drakhart
Copy link
Copy Markdown

@drakhart drakhart commented May 9, 2026

Summary

Adds a new Random Line Picker tool to pick one or more random lines from user-provided text. It's a handy utility for quickly selecting random items (winners, samples, shuffled lists) inside the app.

Options

Number of lines to pick: Minimum 1. When repeats are disabled the value is clamped to the number of available lines.
Allow repeated lines: When ON, the same line can be picked multiple times; when OFF, picks are unique.
Add line numbers: When ON, each picked line is prefixed with "1. ", "2. ", etc.

Extras

  • Added unit and basic e2e tests.
  • Added translation strings for all available languages, created with GPT-5 Mini.

Screenshot

image

Test results

Unit:
image

E2E:
image

@sharevb sharevb merged commit 89975dc into sharevb:chore/all-my-stuffs May 10, 2026
5 of 6 checks passed
@sharevb
Copy link
Copy Markdown
Owner

sharevb commented May 10, 2026

Hi @drakhart thanks for this PR now merged

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.

2 participants