<commit_before><button onclick={{action "toggleVisibility"}}>
  {{yield}}
</button>

{{#if renderNotifications}}
  <ol class="notifications">
    {{#each topNotifications as |notification|}}
      <li class="{{if notification.important 'important'}}">
        <span class="message">
          {{notification.message}}
        </span>
        <span class="date">
          {{notification.creationDate}}
        </span>
      </li>
    {{else}}
      <li class="empty">
        <span>
          {{noNotificationsText}}
        </span>
      </li>
    {{/each}}
  </ol>
{{/if}}
<commit_msg>Give class to unseen notifications<commit_after><button onclick={{action "toggleVisibility"}}>
  {{yield}}
</button>

{{#if renderNotifications}}
  <ol class="notifications">
    {{#each topNotifications as |notification|}}
      <li class="{{if notification.important 'important'}}
                 {{unless notification.seen 'new'}}">
        <span class="message">
          {{notification.message}}
        </span>
        <span class="date">
          {{notification.creationDate}}
        </span>
      </li>
    {{else}}
      <li class="empty">
        <span>
          {{noNotificationsText}}
        </span>
      </li>
    {{/each}}
  </ol>
{{/if}}

{'fraction_non_alphanumeric': 0.18364073777064957, 'fraction_numerical': 0.0, 'mean_word_length': 2.4285714285714284, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '1078131', 'n_tokens_mistral': 368, 'n_tokens_neox': 361, 'n_words': 79}