From 43c2f3dc318af130073ef71e90a03c4790880c8a Mon Sep 17 00:00:00 2001 From: Richard BAYET Date: Thu, 16 Jan 2025 21:55:36 +0100 Subject: [PATCH] [Core] Reworked group and fields descriptions --- .../etc/adminhtml/system.xml | 25 +++++++++++-------- src/module-elasticsuite-core/etc/config.xml | 3 ++- .../adminhtml/web/css/source/_module.less | 4 +++ 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/src/module-elasticsuite-core/etc/adminhtml/system.xml b/src/module-elasticsuite-core/etc/adminhtml/system.xml index 4d879db9a..87377882b 100644 --- a/src/module-elasticsuite-core/etc/adminhtml/system.xml +++ b/src/module-elasticsuite-core/etc/adminhtml/system.xml @@ -183,43 +183,48 @@ + + + For instance, if a user types "comp" in the search box and the suggested popular search terms are "computer", "peach computer", "computer for kids", then categories and products matching either one of those three search terms will be shown and the original "comp" search term is discarded.
On the other hand, if no popular search term is found, then Elasticsuite will try finding products and categories matching only "comp", which might not provide any results unless some attributes have built-in autocompletion capability (by using the "standard_edge_ngram" as their search analyzer).
The settings below provide you with the ability to have more control over that "extension" mechanism: whether to disable it entirely, limit its extend, forcing the original search term to always be requested, etc.]]>
+ Smile\ElasticsuiteCore\Block\Adminhtml\System\Config\Comment +
Magento\Config\Model\Config\Source\Yesno - + - + Magento\Config\Model\Config\Source\Yesno 1 - + - + Magento\Config\Model\Config\Source\Yesno 1 - + - - integer validate-greater-than-zero + + required integer validate-greater-than-zero 1 1 - + - + Magento\Config\Model\Config\Source\Yesno 1 - +
diff --git a/src/module-elasticsuite-core/etc/config.xml b/src/module-elasticsuite-core/etc/config.xml index 7a50397f7..a26a31e15 100644 --- a/src/module-elasticsuite-core/etc/config.xml +++ b/src/module-elasticsuite-core/etc/config.xml @@ -55,9 +55,10 @@ 1 + 0 0 + 5 0 - 0 diff --git a/src/module-elasticsuite-core/view/adminhtml/web/css/source/_module.less b/src/module-elasticsuite-core/view/adminhtml/web/css/source/_module.less index 620cca5bd..7d986c1b6 100644 --- a/src/module-elasticsuite-core/view/adminhtml/web/css/source/_module.less +++ b/src/module-elasticsuite-core/view/adminhtml/web/css/source/_module.less @@ -31,6 +31,10 @@ fieldset.radioset-tooltip { border-width: 1px 0; margin: @indent__l 0; padding: @indent__m; + + #row_smile_elasticsuite_autocomplete_settings_advanced_info & { + margin-top: 0; + } } &.config-comment-title {