<commit_before><template>

  <Block
    :allLinkText="coachString('viewAllAction')"
    :allLinkRoute="$router.getRoute('HomeActivityPage')"
    :showAllLink="notifications.length > 0"
  >

    <KLabeledIcon slot="title" :label="$tr('classActivityLabel')" />

    <ContentIcon slot="icon" :kind="ContentNodeKinds.ACTIVITY" />

    <p v-if="notifications.length === 0">
      {{ $tr('noActivityLabel') }}
    </p>

    <transition-group name="list">
      <BlockItem
        v-for="notification in notifications"
        :key="notification.groupCode + '_' + notification.lastId"
      >
        <NotificationCard
          :notification="notification"
          :lastQuery="lastQuery"
        />
      </BlockItem>
    </transition-group>
  </Block>

</template>


<script>

  import { mapGetters } from 'vuex';<commit_msg>Use Vue 3 slot syntax<commit_after><template>

  <Block
    :allLinkText="coachString('viewAllAction')"
    :allLinkRoute="$router.getRoute('HomeActivityPage')"
    :showAllLink="notifications.length > 0"
  >

    <template #title>
      <KLabeledIcon :label="$tr('classActivityLabel')" />
    </template>

    <template #icon>
      <ContentIcon :kind="ContentNodeKinds.ACTIVITY" />
    </template>

    <p v-if="notifications.length === 0">
      {{ $tr('noActivityLabel') }}
    </p>

    <transition-group name="list">
      <BlockItem
        v-for="notification in notifications"
        :key="notification.groupCode + '_' + notification.lastId"
      >
        <NotificationCard
          :notification="notification"
          :lastQuery="lastQuery"
        />
      </BlockItem>
    </transition-group>
  </Block>

</template>


<script>

  import { mapGetters } from 'vuex';
{'fraction_non_alphanumeric': 0.15826494724501758, 'fraction_numerical': 0.0029308323563892145, 'mean_word_length': 3.0164705882352942, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3751940', 'n_tokens_mistral': 543, 'n_tokens_neox': 521, 'n_words': 81}