Repository navigation
0.13.0
·
3 commits
to master
since this release
Included commits: 0.12.0...0.13.0
Improvements
- Storefront Assistant suggested prompts are now configured for each locale: each suggested prompt setting is a JSON object with a list of prompts for each locale name, and the storefront shows the list of the current locale.
- Introduced
StorefrontAssistantSuggestedPromptsConstraint: Configuration Management rejects a suggested prompt value that is not a locale-keyed object, a locale that no store uses, or prompts that are not a list of text values. - The module defaults have
en_USandde_DEsuggested prompts.
Adjustments
- BC: replaced
AiCommerceConfig::getStorefrontAssistantSuggestedPromptValues()withAiCommerceConfig::getStorefrontAssistantSuggestedPrompts(), which takes the locale name. - BC: removed
StorefrontAssistantSuggestedPromptReaderInterface::getSuggestedPromptSections()and thesuggestedPromptSectionsparameter ofStorefrontAssistantWidget; the pipe text format and the titled prompt sections are no longer supported. - BC:
StorefrontAssistantSuggestedPromptReaderhas the new constructor argumentLocaleClientInterface. - A suggested prompt value saved in the old text format shows no prompts; save it again as JSON in the Back Office.