<commit_before><h2 mat-dialog-title [innerHTML]="title"></h2>
<div *ngIf="(bookmarks$ | async) as bookmarks" class="mt-2">
  <mat-accordion>
    <mat-expansion-panel *ngFor="let bookmark of bookmarks">
      <mat-expansion-panel-header>
        <div class="p-3">
          <h5 class="card-title">
            <a href="{{bookmark.location}}" target="_blank" [innerHtml]="bookmark.name"
            >{{bookmark.name}}</a>
            <sup class="external-link-hint"><i class="fas fa-external-link-alt"></i></sup>
          </h5>
          <h6 class="card-subtitle mb-2 text-muted url-under-title">
            {{bookmark.location}}
          </h6>
        </div>
      </mat-expansion-panel-header>

      <ng-template matExpansionPanelContent>
        <app-bookmark-text [bookmark]="bookmark"></app-bookmark-text><commit_msg>fix(fe): display only first 150 chars of url in history popup<commit_after><h2 mat-dialog-title [innerHTML]="title"></h2>
<div *ngIf="(bookmarks$ | async) as bookmarks" class="mt-2">
  <mat-accordion>
    <mat-expansion-panel *ngFor="let bookmark of bookmarks">
      <mat-expansion-panel-header>
        <div class="p-3">
          <h5 class="card-title">
            <a href="{{bookmark.location}}" target="_blank" [innerHtml]="bookmark.name"
            >{{bookmark.name}}</a>
            <sup class="external-link-hint"><i class="fas fa-external-link-alt"></i></sup>
          </h5>
          <h6 class="card-subtitle mb-2 text-muted url-under-title">
            {{bookmark.location | slice:0:150}}
          </h6>
        </div>
      </mat-expansion-panel-header>

      <ng-template matExpansionPanelContent>
        <app-bookmark-text [bookmark]="bookmark"></app-bookmark-text>
{'fraction_non_alphanumeric': 0.18128654970760233, 'fraction_numerical': 0.014619883040935672, 'mean_word_length': 2.7439824945295404, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '6036450', 'n_tokens_mistral': 574, 'n_tokens_neox': 558, 'n_words': 96}