-
Notifications
You must be signed in to change notification settings - Fork 2
Editing Edu Data Copy
Nick Briz edited this page Jun 8, 2026
·
1 revision
You can use the copy editor to browse and update the educational descriptions shown in the netitor's edu-info panel.
Using the editor:
- Pick a JSON file from the first dropdown (e.g.
HTML / attributes), then navigate entries with the second dropdown or the◄ ►arrow buttons (keyboard← →also works when not focused in a field) - When editing descriptions, you generally only need to edit
htmldirectly, because editing thehtmlfield automatically syncs a plain-text version into thetextfield - Click get 3 suggestions to ask Claude for beginner-friendly rewrites (requires an Anthropic API key, saved once in the header field)
- Click save locally to persist an edit in your browser's IndexedDB, a ✓ appears next to the entry in the dropdown and the status badge updates
- ↺ undo/revert removes that entry's local save and restores the original; ✕ clear local saves wipes all saved edits for the current file at once (with a confirmation prompt)
Getting changes back into the repo:
- When you're happy with a batch of edits, click ⬇ download json, this merges all locally-saved edits for that file over the original and downloads the result
- Replace the corresponding file in
src/edu-data/with the downloaded version - Then (as with all changes):
- run
npm run build(or keepnpm run watchrunning while you work) - test your changes by opening index.html locally and double-clicking tokens in the editor to trigger the edu-info panel
- if everything looks good, submit a PR
- run