admin 214f8a2019 feat: object label per object + {obj:UUID} sentence placeholders
- Annotate: per-object single label input (M2M via db_objects_db_words), auto-save on blur, remove picture-level word section
- Generate: object chips insert {obj:UUID} at cursor position in question/statement textarea
- Live preview resolves {obj:UUID} → actual object label
- PairsList display also resolves placeholders
- Remove F/A/B word chip system from pair form (replaced by object placeholders)
- Backend: POST /api/directus/db-objects/<id>/words replaces existing word with single label

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-10 13:04:37 +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%