Skip to content

feat: make QuickHelp prompts and welcome message configurable

Jérôme Revillard requested to merge feat/configurable-quickhelp-prompts into main

QuickHelp prompts moved from hardcoded i18n to configurable JSON locale maps. Both Vue and Flutter. No rebuild needed to customize per deployment.

Changes

  • resolveConfigText() utility (JS + Dart) for locale-aware config resolution
  • ChatBotComponent.vue reads prompts from config locale maps, fallback to i18n
  • chatbot_component.dart same architecture
  • QuickHelp buttons reload on locale change
  • Removed 274 keys from 14 Vue locales, 392 keys from 14 Flutter locales
  • Config updated with locale maps for all prompt text

Tests

  • 48 suites, 1167 Vue tests pass
  • 9 new configResolver unit tests
  • Flutter analyze clean
  • ESLint clean

Merge request reports

Loading