pdf-quiz-generator/frontend/src
Daniel 3c7931a350
Some checks failed
Tests / backend (push) Failing after 4s
Tests / frontend (push) Failing after 27s
Tests / e2e (push) Failing after 36s
feat: find an article and drop its link, from wherever you are writing
The picker already existed and did the right thing — search by title,
expand an article to pick one section, click to get `[[264|Croup]]` or
`[[264#workup|the workup]]` on the clipboard. It was wired into exactly
one place: the article editor. Everywhere else, linking still meant
opening the library in another tab and reading the id out of the address
bar.

It is on the markdown toolbar now, so every field that has one gets it:
a question's stem, its explanation, and each option's reasoning — seven
buttons on the question editor, which is most of the places a
cross-reference is actually written. The marker lands at the caret
rather than at the end, and still goes to the clipboard, so it works the
same whether you insert it or paste it elsewhere.

The card editor has its own button, because its two faces are plain
textareas with no toolbar. It remembers which face the caret was last
in — a marker belongs where somebody was typing, not always on the back.

Lazily loaded: it carries a search box and a request, and most edits
link nothing.

Verified on the live question editor: search "croup" returns four
articles and clicking one appends the marker to the stem.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TqXevQJhxFrM7jJg82cgZN
2026-09-13 14:45:45 +02:00
..
api feat: authorize tutor context and protect uploaded media 2026-09-07 15:04:00 +02:00
components feat: find an article and drop its link, from wherever you are writing 2026-09-13 14:45:45 +02:00
context fix: Reading cannot edit, and the menu button reaches the menu everywhere 2026-09-13 04:36:44 +02:00
hooks fix: drawers that close, sources that are sources, and a model that does not haggle 2026-09-12 23:34:24 +02:00
pages feat: find an article and drop its link, from wherever you are writing 2026-09-13 14:45:45 +02:00
test
utils fix: Tidy says Tidy, and takes the shake out when pressed 2026-09-13 04:50:19 +02:00
App.jsx feat: no account creation here — the provider makes accounts 2026-09-13 14:37:10 +02:00
App.test.jsx fix: a page you cannot open says so; a section row fits its card 2026-09-12 01:21:20 +02:00
index.css feat: no account creation here — the provider makes accounts 2026-09-13 14:37:10 +02:00
main.jsx