<commit_before><template>
  <div>
    <h3>
      <i class="icon fa fa-shopping-basket" aria-hidden="true"></i>
      {{ $t('PICKUPMANAGE.SERIES') }}
    </h3>

    <q-btn @click="createNewSeries">Create new</q-btn>

    <q-card>

      <q-item v-if="newSeries" >
        <pickup-series-edit :series="newSeries" @save="saveNewSeries" @cancel="cancelNewSeries"/>
      </q-item>

      <q-list class="pickups" separator no-border highlight sparse>
        <q-collapsible v-for="series in pickupSeries"
                       :key="series.id"
                       :label="series.rule.byDay.slice().sort(sortByDay).map(dayNameForKey).join(', ')"
                       :sublabel="$d(series.startDate, 'timeShort')"
                       icon="fa-calendar" sparse>

          <q-item><commit_msg>Move create button to header<commit_after><template>
  <div>
    <h3>
      <i class="icon fa fa-shopping-basket" aria-hidden="true"></i>
      {{ $t('PICKUPMANAGE.SERIES') }} <q-btn @click="createNewSeries">Create new</q-btn>
    </h3>

    <q-card>

      <q-item v-if="newSeries" >
        <pickup-series-edit :series="newSeries" @save="saveNewSeries" @cancel="cancelNewSeries"/>
      </q-item>

      <q-list class="pickups" separator no-border highlight sparse>
        <q-collapsible v-for="series in pickupSeries"
                       :key="series.id"
                       :label="series.rule.byDay.slice().sort(sortByDay).map(dayNameForKey).join(', ')"
                       :sublabel="$d(series.startDate, 'timeShort')"
                       icon="fa-calendar" sparse>

          <q-item>
{'fraction_non_alphanumeric': 0.1702127659574468, 'fraction_numerical': 0.0025031289111389237, 'mean_word_length': 2.2901234567901234, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '4918330', 'n_tokens_mistral': 537, 'n_tokens_neox': 517, 'n_words': 79}