chain-studio/lib
flemming-it 98a6414eaa
Some checks failed
Security / Security check (push) Failing after 1s
fix(store): localised docs, debounced typing, explicit-submit always AI
Three Stefan-found bugs in one pass:

1. Documentation rendered in English even when Studio was set
   to German. _loadDocs now passes Localizations.localeOf(...)
   to fetchModuleDocs(); the hub tries README.de.md before
   README.md when locale='de'.

2. 'Keine Treffer' flickered on every keystroke. _onAskTyping
   used to call _runSearch synchronously per character — a
   short 2-3-letter substring matched nothing, so the empty-
   state showed for a frame, then the next character revealed
   results. Add a 250ms typing debounce (Timer + cancel on
   dispose) so the search only re-runs once typing pauses.

3. Submit button did substring search even when System-AI was
   enabled — the _looksLikeQuestion heuristic only routed
   4+-word / question-mark queries through the LLM. The user
   reasonably expected an explicit submit (with the AI-icon
   showing on the button) to actually use AI. New behaviour:
   when system-AI is enabled, the submit button always calls
   _runAiQuery; live-typing keeps substring filtering. The
   heuristic helper was removed (now unused).

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-05-24 22:07:40 +02:00
..
data fix(store): localised docs, debounced typing, explicit-submit always AI 2026-05-24 22:07:40 +02:00
l10n feat(studio): contextual "Add registry token" CTA on install auth wall (v0.46.0) 2026-05-09 19:32:13 +02:00
pages fix(store): localised docs, debounced typing, explicit-submit always AI 2026-05-24 22:07:40 +02:00
theme fix(studio): doctor i18n + light-mode AppBar contrast (v0.33.1) 2026-05-08 13:43:17 +02:00
widgets feat(studio): hub maintenance panel with reset action (v0.45.0) 2026-05-09 18:52:19 +02:00
main.dart feat(studio): operator QoL — flow runnability, audit grouping, batch approvals, welcome celebration (v0.42.0) 2026-05-09 11:24:57 +02:00