<template>
  <div class="clutter-tab">
    <div class="setting-section">
      <h3>{{ $t('settings.interface') }}</h3>
      <ul class="setting-list">
        <li>
          <BooleanSetting
            source="server-side"
            path="simple.alwaysShowSubjectInput"
          >
            {{ $t('settings.subject_input_always_show') }}
          </BooleanSetting>
        </li>
        <li>
          <BooleanSetting
            source="server-side"
            path="simple.minimalScopesMode"
          >
            {{ $t('settings.minimal_scopes_mode') }}
          </BooleanSetting>
        </li>
        <li>
          <BooleanSetting
            source="server-side"
            path="simple.hidePostStats"
          >
            {{ $t('settings.hide_post_stats') }}
          </BooleanSetting>
        </li>
        <li>
          <BooleanSetting
            path="simple.hideUserStats"
            source="server-side"
          >
            {{ $t('settings.hide_user_stats') }}
          </BooleanSetting>
        </li>
        <li>
          <BooleanSetting
            source="server-side"
            path="simple.hideBotIndication"
          >
            {{ $t('settings.hide_actor_type_indication') }}
          </BooleanSetting>
        </li>
        <li>
          <BooleanSetting
            source="server-side"
            path="simple.hideScrobbles"
          >
            {{ $t('settings.hide_scrobbles') }}
          </BooleanSetting>
          <ul class="setting-list suboptions">
            <li>
              <UnitSetting
                key="hideScrobblesAfter"
                source="server-side"
                path="simple.hideScrobblesAfter"
                :units="['m', 'h', 'd']"
                unit-set="time"
              >
                {{ $t('settings.hide_scrobbles_after') }}
              </UnitSetting>
            </li>
          </ul>
        </li>
      </ul>
      <h3>{{ $t('settings.attachments') }}</h3>
      <ul class="setting-list">
        <li>
          <IntegerSetting
            source="server-side"
            path="simple.maxThumbnails"
            :min="0"
          >
            {{ $t('settings.max_thumbnails') }}
          </IntegerSetting>
        </li>
        <li>
          <BooleanSetting
            source="server-side"
            path="simple.hideAttachments"
          >
            {{ $t('settings.hide_attachments_in_tl') }}
          </BooleanSetting>
        </li>
        <li>
          <BooleanSetting
            source="server-side"
            path="simple.hideAttachmentsInConv"
          >
            {{ $t('settings.hide_attachments_in_convo') }}
          </BooleanSetting>
        </li>
        <li>
          <BooleanSetting
            source="server-side"
            path="simple.userCardHidePersonalMarks"
          >
            {{ $t('settings.user_card_hide_personal_marks') }}
          </BooleanSetting>
        </li>
        <li v-if="instanceShoutboxPresent">
          <BooleanSetting
            source="server-side"
            path="simple.hideShoutbox"
          >
            {{ $t('settings.hide_shoutbox') }}
          </BooleanSetting>
        </li>
      </ul>
    </div>
  </div>
</template>

<script src="./clutter_tab.js"></script>
