<?xml version="1.0" encoding="UTF-8"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
    <system>
        <section id="mst_dashboard" translate="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
            <label>Advanced Dashboard</label>
            <tab>mirasvit</tab>
            <resource>Mirasvit_Dashboard::dashboard_settings</resource>
            <group id="general" translate="label" type="text" sortOrder="10" showInDefault="1">
                <label>General settings</label>

                <field id="board_order" translate="label comment" type="select" sortOrder="10" showInDefault="1">
                    <label>Sort boards by</label>
                    <source_model>Mirasvit\Dashboard\Model\Config\Source\SortFieldSource</source_model>
                    <comment><![CDATA[Defines how boards are organized in boards dropdown<br/>Note: Boards' sort orders have higher priority so boards will be sorted by boards' sort orders (ASC) and then by this field.]]></comment>
                </field>

                <field id="board_dir" translate="label comment" type="select" sortOrder="20" showInDefault="1">
                    <label>Sort direction</label>
                    <source_model>Mirasvit\Dashboard\Model\Config\Source\SortDirectionSource</source_model>
                    <comment>Defines sort direction of boards according to "Sort boards by"</comment>
                </field>
            </group>
        </section>
    </system>
</config>
