<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2026, Jiri Eischmann <jiri@eischmann.cz> and the meshy contributors -->
<!-- SPDX-License-Identifier: GPL-3.0-or-later -->
<interface>
  <requires lib="gtk" version="4.0"/>
  <requires lib="libadwaita" version="1.0"/>
  <object class="GtkBox" id="sidebar_box">
    <property name="orientation">vertical</property>
    <property name="spacing">8</property>
    <property name="margin-start">12</property>
    <property name="margin-end">12</property>
    <property name="margin-top">8</property>
    <child>
      <object class="AdwPreferencesGroup" id="filter_group">
        <child>
          <object class="AdwSwitchRow" id="users_row">
            <property name="title" translatable="yes">Users</property>
            <property name="active">true</property>
            <child type="prefix">
              <object class="GtkImage">
                <property name="icon-name">avatar-default-symbolic</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwSwitchRow" id="repeaters_row">
            <property name="title" translatable="yes">Repeaters</property>
            <property name="active">true</property>
            <child type="prefix">
              <object class="GtkImage">
                <property name="icon-name">repeater-symbolic</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwSwitchRow" id="rooms_row">
            <property name="title" translatable="yes">Rooms</property>
            <property name="active">true</property>
            <child type="prefix">
              <object class="GtkImage">
                <property name="icon-name">user-home-symbolic</property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="AdwSwitchRow" id="sensors_row">
            <property name="title" translatable="yes">Sensors</property>
            <property name="active">true</property>
            <child type="prefix">
              <object class="GtkImage">
                <property name="icon-name">weather-clear-symbolic</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="AdwPreferencesGroup" id="disc_group">
        <child>
          <object class="AdwSwitchRow" id="disc_row">
            <property name="title" translatable="yes">Discovered Nodes</property>
            <child type="prefix">
              <object class="GtkImage">
                <property name="icon-name">edit-find-symbolic</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkLabel" id="status_label">
        <property name="margin-top">4</property>
        <property name="margin-bottom">2</property>
        <style>
          <class name="dim-label"/>
          <class name="caption"/>
        </style>
      </object>
    </child>
  </object>
</interface>
