From d2a2fe04b6d429ffde8080386594a467dc7ecb1b Mon Sep 17 00:00:00 2001 From: Rajyavardhan Singh Date: Thu, 23 Oct 2025 13:13:24 +0530 Subject: [PATCH] feat: add custom character generator to custom text modal - Add new "custom generator" button to custom text modal - Create generator modal with character input and presets - Support min/max word length and word count configuration - Include presets for alphas, numbers, symbols, bigrams, trigrams - Add code-specific patterns for programming practice Closes #6941 Amp-Thread-ID: https://ampcode.com/threads/T-2ab40b2e-c27d-4959-91ed-6e0fd0964a90 Co-authored-by: Amp --- frontend/src/html/popups.html | 77 +++++++ frontend/src/styles/popups.scss | 92 +++++++++ frontend/src/ts/modals/custom-generator.ts | 227 +++++++++++++++++++++ frontend/src/ts/modals/custom-text.ts | 8 + 4 files changed, 404 insertions(+) create mode 100644 frontend/src/ts/modals/custom-generator.ts diff --git a/frontend/src/html/popups.html b/frontend/src/html/popups.html index d74cd8989..0c1781f5b 100644 --- a/frontend/src/html/popups.html +++ b/frontend/src/html/popups.html @@ -495,6 +495,10 @@ words filter +
+ + custom generator +
+