Expand snippet pool with more code and add lore/flavor text
All checks were successful
Docker / build-and-push (push) Successful in 37s

8 more entries (16 total, up from 8): three more code snippets across
delve-term/stash/goonk for variety, plus five real lore/flavor text
fragments -- two from adventure's Chronicle of the Keepers (English)
and three from djupet's event log (Swedish, on purpose -- genuinely
different character set, and it's real shipped content, not filler).

Added a `type` field (code/lore) to every entry for future use (could
filter by type later) and updated the header/help-modal copy to stop
saying "code" exclusively now that it isn't.

Verified via simulated typing: a full Swedish snippet (öäå included)
types and finishes correctly with 100% accuracy, and a lore snippet
renders and completes the same as any code one.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Fredrik Johansson
2026-07-15 14:33:54 +02:00
parent 4192a05a78
commit 0828ef473d
6 changed files with 1151 additions and 5 deletions

View File

@@ -31,7 +31,16 @@ want them pleasant to type.
## Local development
Any static file server works, e.g.:
Run with npm:
```bash
npm install
npm run dev
```
This serves the app on `http://localhost:8850`.
Any static file server still works, e.g.:
```bash
python3 -m http.server 8850