<commit_before><div class="row robot-space">
  <div>
    <div class="row flex-items-xs-between rightPos">
      <div class="flex-xs-middle option-left">
      </div>
      <div class="flex-xs-middle option-right">
        <hbr-filter [withDivider]="true" filterPlaceholder='{{"SYSTEM_ROBOT.SEARCH_BY_NAME" | translate}}'></hbr-filter>
        <span class="refresh-btn" (click)="refresh()">
          <clr-icon shape="refresh"></clr-icon>
        </span>
      </div>
    </div>
  </div>
  <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
    <clr-dg-action-bar>
      <button [disabled]="!hasRobotCreatePermission" [clrLoading]="addBtnState" class="btn  btn-secondary" (click)="openNewRobotModal(false)">
        <span>
          <clr-icon shape="plus" size="16"></clr-icon>&nbsp;{{'ROBOT_ACCOUNT.NEW_ROBOT_ACCOUNT'
                | translate }}
        </span>
      </button>
      <clr-dropdown [clrCloseMenuOnItemClick]="false" class="btn
        btn-link" clrDropdownTrigger>
        <span>{{'MEMBER.ACTION' | translate}}<clr-icon shape="caret
            down"></clr-icon></span>
        <clr-dropdown-menu *clrIfOpen>
          <button [disabled]="!hasRobotReadPermission || !(selectedRows && selectedRows.length === 1) || !selectedRows[0].editable" clrDropdownItem (click)="openTokenModal()">
            <clr-icon shape="details" size="16"></clr-icon>&nbsp;
            <span id="system-robot-token">{{"SYSTEM_ROBOT.VIEW_SECRET" | translate}}</span>
          </button>
          <button [disabled]="!hasRobotUpdatePermission || !(selectedRows && selectedRows.length === 1) || !selectedRows[0].editable" clrDropdownItem (click)="openNewRobotModal(true)">
            <clr-icon shape="edit" size="16"></clr-icon>&nbsp;
            <span id="system-robot-edit">{{'BUTTON.EDIT' | translate}}</span>
          </button>
          <button *ngIf="selectedRows && selectedRows.length === 1 && selectedRows[0].disable" type="button" class="btn  btn-secondary"
                  (click)="disableOrEnable()"
                  [disabled]="!hasRobotUpdatePermission ||!(selectedRows && selectedRows.length === 1 && selectedRows[0].disable)">
            <clr-icon size="16" shape="success-standard"></clr-icon>&nbsp;
            <span id="distribution-enable">{{'WEBHOOK.ENABLED_BUTTON' | translate}}</span>
          </button>
          <button *ngIf="!(selectedRows && selectedRows.length === 1 && selectedRows[0].disable)"
                  type="button"
                  class="btn btn-secondary"
                  (click)="disableOrEnable()"
                  [disabled]="!hasRobotUpdatePermission ||!(selectedRows && selectedRows.length === 1 && !selectedRows[0].disable)">
            <clr-icon size="16" shape="ban"></clr-icon>&nbsp;
            <span id="distribution-disable">{{'WEBHOOK.DISABLED_BUTTON' | translate}}</span>
          </button>
          <div class="dropdown-divider"></div><commit_msg>Fix developer permission issue for robot account (#14005)<commit_after><div class="row robot-space">
  <div>
    <div class="row flex-items-xs-between rightPos">
      <div class="flex-xs-middle option-left">
      </div>
      <div class="flex-xs-middle option-right">
        <hbr-filter [withDivider]="true" filterPlaceholder='{{"SYSTEM_ROBOT.SEARCH_BY_NAME" | translate}}'></hbr-filter>
        <span class="refresh-btn" (click)="refresh()">
          <clr-icon shape="refresh"></clr-icon>
        </span>
      </div>
    </div>
  </div>
  <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
    <clr-dg-action-bar>
      <button [disabled]="!hasRobotCreatePermission" [clrLoading]="addBtnState" class="btn  btn-secondary" (click)="openNewRobotModal(false)">
        <span>
          <clr-icon shape="plus" size="16"></clr-icon>&nbsp;{{'ROBOT_ACCOUNT.NEW_ROBOT_ACCOUNT'
                | translate }}
        </span>
      </button>
      <clr-dropdown [clrCloseMenuOnItemClick]="false" class="btn
        btn-link" clrDropdownTrigger>
        <span>{{'MEMBER.ACTION' | translate}}<clr-icon shape="caret
            down"></clr-icon></span>
        <clr-dropdown-menu *clrIfOpen>
          <button [disabled]="!hasRobotUpdatePermission || !(selectedRows && selectedRows.length === 1) || !selectedRows[0].editable" clrDropdownItem (click)="openTokenModal()">
            <clr-icon shape="details" size="16"></clr-icon>&nbsp;
            <span id="system-robot-token">{{"SYSTEM_ROBOT.VIEW_SECRET" | translate}}</span>
          </button>
          <button [disabled]="!hasRobotUpdatePermission || !(selectedRows && selectedRows.length === 1) || !selectedRows[0].editable" clrDropdownItem (click)="openNewRobotModal(true)">
            <clr-icon shape="edit" size="16"></clr-icon>&nbsp;
            <span id="system-robot-edit">{{'BUTTON.EDIT' | translate}}</span>
          </button>
          <button *ngIf="selectedRows && selectedRows.length === 1 && selectedRows[0].disable" type="button" class="btn  btn-secondary"
                  (click)="disableOrEnable()"
                  [disabled]="!hasRobotUpdatePermission ||!(selectedRows && selectedRows.length === 1 && selectedRows[0].disable)">
            <clr-icon size="16" shape="success-standard"></clr-icon>&nbsp;
            <span id="distribution-enable">{{'WEBHOOK.ENABLED_BUTTON' | translate}}</span>
          </button>
          <button *ngIf="!(selectedRows && selectedRows.length === 1 && selectedRows[0].disable)"
                  type="button"
                  class="btn btn-secondary"
                  (click)="disableOrEnable()"
                  [disabled]="!hasRobotUpdatePermission ||!(selectedRows && selectedRows.length === 1 && !selectedRows[0].disable)">
            <clr-icon size="16" shape="ban"></clr-icon>&nbsp;
            <span id="distribution-disable">{{'WEBHOOK.DISABLED_BUTTON' | translate}}</span>
          </button>
          <div class="dropdown-divider"></div>
{'fraction_non_alphanumeric': 0.18248299319727893, 'fraction_numerical': 0.011054421768707483, 'mean_word_length': 3.0391483516483517, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, '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': '6648509', 'n_tokens_mistral': 1872, 'n_tokens_neox': 1800, 'n_words': 270}