Skip to content

Releases: Panolix/TeacherPro

TeacherPro v2.3.0

Choose a tag to compare

@github-actions github-actions released this 21 Sep 17:24

TeacherPro v2.3.0 – Fresh AI Model Catalog

Changed

🧠 Updated local AI model catalog

The downloadable model list now features current generations instead of older
2024/early-2025 models. Every entry runs locally via Ollama and is sized for
real hardware — from 8 GB RAM laptops up to a 24 GB VRAM GPU (RTX 4090 class).

Small (8 GB RAM)

  • Granite 4.2 3B
  • Qwen 3.5 4B
  • Granite 4.2 8B
  • LFM 2.5 8B
  • Ministral 3 8B

Medium (16 GB RAM / 12 GB VRAM)

  • Qwen 3.5 9B — still the recommended default
  • Gemma 4 E2B
  • Gemma 4 12B
  • Ministral 3 14B
  • Gemma 4 E4B
  • GPT-OSS 20B

Large (24 GB VRAM)

  • Qwen 3.6 27B
  • Qwen 3.8 27B
  • Gemma 4 26B
  • Gemma 4 31B
  • Qwen 3.6 35B

Thinking-mode support was extended to the new Qwen 3.6/3.8, Gemma 4 12B/31B and
GPT-OSS models.

🗑️ Removed outdated models

Llama 3.1 8B, Llama 3.2 3B, DeepSeek R1 8B/14B, Mistral Nemo 12B,
Mistral Small 3.1 24B and Qwen 3.5 27B have been removed in favour of the
current models above. The bge-m3 embedding model is unchanged.

Removed

  • Unused legacy modelCatalog translation strings in src/i18n/de.ts and en.ts.

Files Changed

  • src/ai/modelCatalog.ts – refreshed model catalog and thinking-model list
  • src/i18n/de.ts, src/i18n/en.ts – removed unused model catalog strings
  • CHANGELOG.md – v2.3.0 entry

TeacherPro v2.2.4

Choose a tag to compare

@github-actions github-actions released this 21 Sep 08:35

TeacherPro v2.2.4 – Security & UI Update

Added

🎨 Unified hover and press feedback for all buttons

Every button in the app — editor side rail, sidebar, top bar, calendar, dialogs
and AI chat — now uses the same subtle interaction: a slight lift on hover and a
soft press squash on click. Primary buttons brighten on hover, destructive
buttons stay red.

↔️ Drag table column borders with the mouse

Hovering a column border in the lesson table editor now shows the familiar
left-right resize cursor. While dragging, an accent line marks the active column
boundary.

Fixed

🔒 Security hardening

  • Print and open commands validate paths and no longer pass them as part of a
    shell/AppleScript string
  • Subject DB commands validate subject/grade/topic/filename and block path
    traversal
  • App filesystem access is limited to the vault and the temp directory
    (runtime grants including canonical paths)
  • Content Security Policy for the production app (with a separate dev CSP)
  • Sanitized preview rendering (highlight colours, headings)
  • GGUF import uses secure temp files instead of a predictable path

🐛 Fixed dead hover effects

Font size picker, planned-date calendar, AI chat database selector, week
navigation, the Today button, and the add/delete buttons in the calendar had
invisible hover states; they now respond like the rest of the app.

Files Changed

  • src-tauri/src/lib.rs, src-tauri/src/subject_db/mod.rs – security hardening
  • src-tauri/capabilities/default.json, src-tauri/tauri.conf.json – scopes, CSP
  • src/components/* – unified hover/press feedback, table resize cursor
  • src/index.css – shared interaction rules

TeacherPro v2.2.3

Choose a tag to compare

@github-actions github-actions released this 28 Jun 19:43

TeacherPro v2.2.3 – Cross-Device Vault Portability

Added

🔄 Geräteübergreifende Vault-Portabilität

Settings wie Lehrername, Fächer (mit Farben), Sprache, Sidebar-Zustand und
UI-Präferenzen werden jetzt beim ersten Öffnen eines Vaults auf einem neuen
Gerät aus der .teacherpro/ui-settings.backup.json gelesen und nicht mehr mit
Defaultwerten überschrieben.

KI-Modell, Provider und AI-Runtime-Einstellungen bleiben gerätespezifisch –
jedes Gerät behält seine eigenen Defaults.

Fixed

🐛 Settings-Overwrite-Bug in openVault

Beim Öffnen eines Vaults auf einem neuen Gerät (bzw. nach einer Neuinstallation)
wurde die Backup-Datei im Vault (.teacherpro/ui-settings.backup.json) mit leeren
Defaults überschrieben. Dadurch gingen alle portablen Einstellungen verloren.

Neues Verhalten: Die App liest zuerst die existierende Backup-Datei im Vault,
übernimmt die portablen Settings (Lehrername, Fächer, Sprache, UI-Zustand) und
lässt KI-Einstellungen auf dem neuen Gerät bei den Werkseinstellungen.

Files Changed

  • src/store.ts – openVault() merged jetzt portable Settings aus
    Vault-Backup, ohne AI-Konfiguration zu überschreiben

TeacherPro v2.2.2

Choose a tag to compare

@github-actions github-actions released this 27 Jun 10:37

TeacherPro v2.2.2 – Hotfix: Model Detection

Fixed

🐛 Alle KI-Modelle werden jetzt korrekt erkannt

Die Modell-Namensnormalisierung in parse_ollama_models entfernt nur noch
das :latest-Suffix statt alle Tags. Dadurch werden Modelle mit Doppelpunkt
in der ID (z. B. qwen3.5:9b) nicht mehr fälschlich als qwen3.5 verkürzt
und erscheinen wieder mit grünem Haken und „Standard"-Schaltfläche.

Files Changed

  • src-tauri/src/lib.rs – strip_suffix(":latest") statt split(':').next()

TeacherPro v2.2.1

Choose a tag to compare

@github-actions github-actions released this 27 Jun 10:20

TeacherPro v2.2.1 – Bugfix Release

Fixed

🐛 KI-Chat: HTML-Entities werden jetzt korrekt dargestellt

→, &, < und andere HTML-Entities aus KI-Antworten
werden nun korrekt als tatsächliche Zeichen angezeigt (z. B. →, &, <).

🐛 Embedding-Modell (bge-m3) wird korrekt erkannt

Wenn Ollama das Modell mit :latest-Tag listet, wird es jetzt trotzdem als
installiert erkannt – der grüne Haken und „Standard" erscheinen wie erwartet.

🐛 „Aktualisieren"-Button flackert nicht mehr

Der Refresh-Button in den KI-Einstellungen läuft nicht mehr in einer
Endlosschleife. Die syncInstalledModels-Funktion ist stabil, sodass der
Effekt nur bei Bedarf feuert (insbesondere unter macOS behoben).

Files Changed

  • src/components/Editor.tsx – HTML-Entity-Dekodierung in AiMarkdown
  • src-tauri/src/lib.rs – Tag-Stripping in parse_ollama_models
  • src/components/SettingsModal.tsx – useCallback für syncInstalledModels

TeacherPro v2.2.0

Choose a tag to compare

@github-actions github-actions released this 26 Jun 15:23

TeacherPro v2.2.0 – Knowledge Database & RAG

New Features

📚 Wissensdatenbank (Knowledge Database)

  • Subject-based vector database for teaching materials (PDFs)
  • Create subjects, grade levels, and topics directly in the app UI
  • Import PDFs via native file dialog → automatic text extraction + chunking
  • Embedding via bge-m3 (multilingual, 100+ languages, 1024-dim vectors)
  • Cosine-similarity search across all embedded chunks

🤖 AI Chat with RAG

  • Retrieval-Augmented Generation: AI chat automatically searches the knowledge database when a subject/topic is selected
  • Hierarchical database selector in chat panel (collapsible tree)
  • Retrieved content is injected as structured context into the AI prompt
  • Native Chat Messages API (ai_generate_chat) → proper message arrays instead of concatenated strings
  • Token Context Bar: Visual indicator showing lesson/history/RAG/system token usage
  • Dynamic num_ctx / num_predict adjustment when RAG or thinking mode is active

📄 PDF Processing

  • Digital PDF text extraction (via pdf-extract, pure Rust, cross-platform)
  • Scanned PDF OCR fallback (via system tesseract + pdftoppm if installed)
  • Intelligent chunking with UTF-8 safety, paragraph-aware splits, configurable overlap

🎨 UI Improvements

  • SubjectDbManager: Full tree UI for managing database folders and files
  • ChatContextBar: Token budget visualization with color-coded segments
  • AiMarkdown: Now renders markdown tables as HTML <table> elements
  • Custom dropdown: Dark-mode-safe database selector replaces native <select>
  • Delete individual files: Remove specific PDFs from the database
  • Progress events during import/embedding pipeline

Technical Improvements

  • Refactored Rust backend with subject_db module (pdf, chunk, embed, store)
  • All database operations async via Tauri commands
  • Fully cross-platform: Windows, macOS, Linux
  • Ollama embeddings (bge-m3) run on Apple Silicon, NVIDIA CUDA, AMD ROCm
  • Auto-pull of embedding model on first use

Breaking Changes

  • Minimum Ollama version: 0.5+ (for /api/embed endpoint)
  • bge-m3 model (~2.2 GB) required for embedding; auto-pulled on first import

Files Changed

  • 12 modified files, 12 new files (including tests)
  • Core Rust: subject_db/ module (5 files), lib.rs
  • Core Frontend: Editor.tsx, store.ts, ChatContextBar.tsx, SubjectDbManager.tsx, SettingsModal.tsx
  • i18n: de.ts, en.ts (full translations)

TeacherPro v2.1.2

Choose a tag to compare

@github-actions github-actions released this 25 Jun 20:31

TeacherPro v2.1.2

Fixed

  • Ollama GPU-Erkennung auf Windows: OLLAMA_LLM_LIBRARY wird nicht mehr explizit gesetzt — Ollama auto-detect findet CUDA jetzt korrekt (RTX 4090 u. a.).
  • Ollama-Prozesse bleiben erhalten: Der Windows-Dienst/die Tray-App wird beim App-Start nicht mehr gekillt. CPU-Fallback bei eigenem Start entfällt.
  • Robustere GPU-Erkennung: nvidia-smi wird jetzt auch in Standard-NVIDIA-Pfaden gesucht; Fallback auf CUDA-Backend-Ordner falls nvidia-smi nicht im PATH liegt.

Changed

  • Ollama-Shutdown unter Windows: Nur der eigene Child-Prozess wird beendet — der Windows-Dienst bleibt unangetastet.

TeacherPro v2.1.1

Choose a tag to compare

@github-actions github-actions released this 25 Jun 19:00

See CHANGELOG.md and the bundled assets for this release.

TeacherPro v2.1.0

Choose a tag to compare

@github-actions github-actions released this 25 Jun 12:50

TeacherPro v2.1.0 – Deutsche Lokalisierung & Methodenbank-Update

🌍 Deutsche Lokalisierung (i18n)

  • Komplette Übersetzung aller UI-Komponenten – Editor, Sidebar, Kalender, Mindmap, Einstellungen, Statusleiste, Kontextmenüs, Dialoge
  • Sprachumschalter in den Einstellungen (Erscheinungsbild → Sprache) zwischen Deutsch und Englisch
  • Sprache wird dauerhaft gespeichert und bleibt nach Neustart erhalten
  • Kalender & Datum – Wochentage und Monatsnamen jetzt auf Deutsch (via date-fns locale)
  • Standardtitel neuer Dokumente ist jetzt "Neue Stunde" (deutsch) bzw. "New Lesson Plan" (englisch)
  • KI-Prompts – Alle System-Prompts (Chat, Rewrite, Translate) auf Deutsch
  • Methodenbank-Panel – Suchfilter, Kategorien und Detailansicht auf Deutsch

📚 Methodenbank-Überarbeitung

  • 28 seltene/exotische Einträge entfernt – PBL-Phasen, Workshop-Phasen, Agile Scrum, Philosophical Chairs, Escape Room, PechaKucha u. a.
  • 11 neue Methoden hinzugefügt, typisch fürs deutsche Referendariat:
    • Kugellager / Speed Dating, Platzdeckchen/Placemat, Kartenabfrage, Ampelabfrage
    • Lerntagebuch, Portfolioarbeit, Wochenplanarbeit, Tandemarbeit
    • Freiarbeit, Lernzirkel/Stationenlernen, Lerntempoduett
  • 3 neue Phasen: Hausaufgabenbesprechung, Ergebnissicherung/Tafelbild, Wiederholung/Übungsphase
  • Deutsche Version der Methodenbank (method-bank.de.json) mit vollständig übersetzten Inhalten
  • Slash-Menü (/) zeigt jetzt bis zu 30 Vorschläge an (vorher nur 7)
  • Zeitvorschläge via / in der Zeitspalte (5-60 Minuten in 5er-Schritten)

⚡ KI-Verbesserungen

  • Modellkatalog aktualisiert: Qwen 3.5 9B als neues Standard-Modell (256K Kontext, 201 Sprachen)
  • Veraltete Modelle entfernt: Qwen 3 8B/14B, Phi 4, Gemma 4 31B
  • Neue Modelle hinzugefügt: Qwen 3.5 4B/9B/27B, Qwen 3.6 27B, TranslateGemma
  • Ollama wird jetzt immer geschlossen wenn TeacherPro beendet wird (alle Plattformen)
  • Diagnostik-Sektion aus den KI-Einstellungen entfernt (kein Einfrieren mehr beim Tab-Wechsel)
  • Kein automatischer Start von Ollama beim Öffnen der KI-Einstellungen

🐛 Fehlerbehebungen

  • "Neue Stunde" statt "New Lesson Plan" beim Anlegen neuer Dokumente
  • Kalender zeigt "Stunde · 15. Jun" statt "calendar.defaultlessontitle"
  • "Sozialform" wird nicht mehr abgeschnitten (Spaltenbreite 100→140px)
  • Sprach-Buttons in Einstellungen jetzt lesbar (tp-action-btn statt Kreisen)
  • /-Slash-Menü zeigt jetzt alle Methodenbank-Einträge, nicht nur die ersten 7

🔧 Technisches

  • TypeScript-Check (tsc --noEmit) läuft fehlerfrei
  • Vite-Build und Tauri-Build erfolgreich getestet (Windows)
  • i18n-Infrastruktur mit de.ts/en.ts, useTranslation-Hook, persistierter Sprache
  • date-fns locale (de) für deutsche Datumsformatierung

TeacherPro v2.0.8

Choose a tag to compare

@github-actions github-actions released this 27 Apr 11:01

See CHANGELOG.md and the bundled assets for this release.