admin 2595b8d32e feat: individual word link_to (F/A/B), edit form word management, fix picture-based suggestions
- Words in pair form now linkable individually per word (Frage/Aussage/Beide toggle)
- Edit form includes full word management: view existing words with link indicator, remove/restore, add new words with link_to selector
- Fix word suggestions: load from picture words (db_words_db_pictures) instead of object words (always empty)
- Backend PATCH /api/directus/db-pairs/<id> handles words_add with link_to and words_remove with junction IDs
- Level range 1-100 throughout

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-10 12:20:21 +02:00
2026-04-23 22:10:45 +02:00
2026-04-23 22:10:45 +02:00
2026-04-23 22:10:45 +02:00
2026-04-23 22:10:45 +02:00

Bild-Ausschnitt-Tool

Kurzes Web-Tool, um ein lokales Bild aus dem Ordner pictures im Browser anzuzeigen, einen Rechteck-Ausschnitt mit der Maus zu wählen und den Ausschnitt in objects_image zu speichern.

Installation

  1. In den Projektordner wechseln:
cd /Users/tim/SynologyDrive/LanguageParent/content_mentor
  1. (Optional, empfohlen) Virtuelle Umgebung anlegen/aktivieren und Abhängigkeiten installieren:
python -m venv .venv
source .venv/bin/activate  # macOS / Linux
pip install -r requirements.txt
  1. Lege deine Quellbilder in den Ordner pictures neben dieser Datei.

Starten

python app.py

Dann im Browser aufrufen:

http://localhost:5000

Den Port kannst du in app.py im app.run(...)-Aufruf anpassen und später per Nginx/Reverse-Proxy von außen erreichbar machen.

Description
No description provided
Readme 1.2 MiB
Languages
TypeScript 48.3%
Python 21%
CSS 14.3%
JavaScript 12.5%
HTML 3.4%
Other 0.5%