<commit_before><form {{action "onSave" on="submit"}}>

  <div class="dataset-deprecation-toggle__toggle-header">

    <p class="dataset-deprecation-toggle__toggle-header__label">
      Is this dataset deprecated?
    </p>

    {{input
      id="dataset-is-deprecated"
      type="checkbox"
      title="Is this dataset deprecated?"
      class="toggle-switch toggle-switch--light"
      checked=(readonly deprecatedAlias)
      change=(action "toggleDeprecatedStatus")
    }}
    <label for="dataset-is-deprecated" class="toggle-button">
    </label>

  </div>

  {{#if deprecatedAlias}}

    {{medium-content-editable
      value=deprecationNoteAlias
      options=editorOptions
      class="comment-new__content"}}

    <h4 class="dataset-deprecation-header">When should this dataset be decommissioned?</h4>

    {{#power-calendar
      selected=selectedDate
      center=centeredDate
      class="dataset-deprecation-toggle__decommission-calendar"
      onSelect=(action "onDecommissionDateChange" value="date")
      onCenterChange=(action (mut centeredDate) value="date") as |calendar|}}

      <nav class="ember-power-calendar-nav">

        <button
          type="button"
          class="ember-power-calendar-nav-control"
          onclick={{action calendar.actions.moveCenter -1 'month'}}>
          &lt;
        </button>
        <div class="ember-power-calendar-nav-title">
          {{moment-format calendar.center 'MMMM YYYY'}}
        </div>
        <button
          type="button"
          class="ember-power-calendar-nav-control"
          onclick={{action calendar.actions.moveCenter 1 'month'}}>
          &gt;
        </button>
      </nav>

      {{calendar.days minDate=minSelectableDecommissionDate}}

    {{/power-calendar}}

    <p class="decommission-date {{unless decommissionDate 'decommission-date--required'}}">
      {{#unless decommissionDate}}
          Please specify a date when this dataset will be decommissioned
      {{/unless}}

      <strong>
        {{if decommissionDate (concat 'Will be decommissioned on ' (moment-format decommissionDate 'MMMM DD YYYY')) ''}}
      </strong>
    </p>

  {{/if}}

  <div class="dataset-deprecation-toggle__actions">
    <button
      type="submit"
      disabled={{not (and isDirty decommissionDate)}}
      class="nacho-button--large nacho-button--secondary">
      Update Deprecation Status
    </button>
  </div>
</form><commit_msg>fix disable scenario for deprecation status update<commit_after><form {{action "onSave" on="submit"}}>

  <div class="dataset-deprecation-toggle__toggle-header">

    <p class="dataset-deprecation-toggle__toggle-header__label">
      Is this dataset deprecated?
    </p>

    {{input
      id="dataset-is-deprecated"
      type="checkbox"
      title="Is this dataset deprecated?"
      class="toggle-switch toggle-switch--light"
      checked=(readonly deprecatedAlias)
      change=(action "toggleDeprecatedStatus")
    }}
    <label for="dataset-is-deprecated" class="toggle-button">
    </label>

  </div>

  {{#if deprecatedAlias}}

    {{medium-content-editable
      value=deprecationNoteAlias
      options=editorOptions
      class="comment-new__content"}}

    <h4 class="dataset-deprecation-header">When should this dataset be decommissioned?</h4>

    {{#power-calendar
      selected=selectedDate
      center=centeredDate
      class="dataset-deprecation-toggle__decommission-calendar"
      onSelect=(action "onDecommissionDateChange" value="date")
      onCenterChange=(action (mut centeredDate) value="date") as |calendar|}}

      <nav class="ember-power-calendar-nav">

        <button
          type="button"
          class="ember-power-calendar-nav-control"
          onclick={{action calendar.actions.moveCenter -1 'month'}}>
          &lt;
        </button>
        <div class="ember-power-calendar-nav-title">
          {{moment-format calendar.center 'MMMM YYYY'}}
        </div>
        <button
          type="button"
          class="ember-power-calendar-nav-control"
          onclick={{action calendar.actions.moveCenter 1 'month'}}>
          &gt;
        </button>
      </nav>

      {{calendar.days minDate=minSelectableDecommissionDate}}

    {{/power-calendar}}

    <p class="decommission-date {{unless decommissionDate 'decommission-date--required'}}">
      {{#unless decommissionDate}}
          Please specify a date when this dataset will be decommissioned
      {{/unless}}

      <strong>
        {{if decommissionDate (concat 'Will be decommissioned on ' (moment-format decommissionDate 'MMMM DD YYYY')) ''}}
      </strong>
    </p>

  {{/if}}

  <div class="dataset-deprecation-toggle__actions">
    <button
      type="submit"
      disabled={{and deprecatedAlias (not decommissionDate)}}
      class="nacho-button--large nacho-button--secondary">
      Update Deprecation Status
    </button>
  </div>
</form>
{'fraction_non_alphanumeric': 0.13461933100759285, 'fraction_numerical': 0.0016416991586291811, 'mean_word_length': 2.9529602595296027, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '5395050', 'n_tokens_mistral': 1444, 'n_tokens_neox': 1385, 'n_words': 281}