src/module-elasticsuite-tracker/view/adminhtml/layout/adminhtml_dashboard_index.xml
<?xml version="1.0"?>
<!--
/**
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Smile ElasticSuite to newer
* versions in the future.
*
* @category Smile
* @package Smile\ElasticsuiteTracker
* @author Pierre Gauthier <pierre.gauthier@smile.fr>
* @copyright 2021 Smile
* @license Open Software License ("OSL") v. 3.0
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<uiComponent name="elasticsuite_telemetry_notification">
<visibilityCondition name="can_view_elasticsuite_notification" className="Smile\ElasticsuiteTracker\Model\Condition\CanViewNotification">
<arguments>
<argument name="notification_code" xsi:type="string">elasticsuite_telemetry</argument>
</arguments>
</visibilityCondition>
</uiComponent>
<block name="elasticsuite_notification" template="Smile_ElasticsuiteTracker::notification.phtml">
<arguments>
<argument name="notification" xsi:type="object">Smile\ElasticsuiteTracker\ViewModel\Notification</argument>
</arguments>
</block>
<uiComponent name="elasticsuite_hs_notification">
<visibilityCondition name="can_view_elasticsuite_notification" className="Smile\ElasticsuiteTracker\Model\Condition\CanViewNotification">
<arguments>
<argument name="notification_code" xsi:type="string">elasticsuite_hs</argument>
</arguments>
</visibilityCondition>
</uiComponent>
<block name="elasticsuite_hs" template="Smile_ElasticsuiteTracker::notification.phtml">
<arguments>
<argument name="notification" xsi:type="object">Smile\ElasticsuiteTracker\ViewModel\Hs</argument>
</arguments>
</block>
</referenceContainer>
</body>
</page>