<commit_before><div id="omnibar-wrapper" class="swiper-no-swiping" ng-controller="ItemsController">
  <form id="{{heading}}-omnibar" ng-init="setOmnibarPlaceholder(omnibarFeature, heading)" role="form" name="{{heading}}-addOmniItem" ng-submit="saveOmnibarText(omnibarText)">
    <div class="form-group">
      <div ng-class="(omnibarVisible && 'omnibar-visible') || (!omnibarVisible && 'omnibar-hidden')">
        <input type="text" id="{{omnibarFeature + heading}}OmnibarInput" class="simple-input form-control omnibar-input" ng-model="omnibarText.title" dynamic-placeholder="{{omnibarPlaceholders[omnibarFeature + heading]}}" ng-click="clickOmnibar(omnibarFeature, heading)" ng-keydown="omnibarKeyDown($event)" maxlength="128" required>
      </div>
      <div ng-show="omnibarHasText()" class="right-button-wrapper">
        <button id="omnibarX" class="button" type="button" ng-click="omnibarText.title=''"><span class="icon-x"></span>
        </button>
      </div>
    </div>
  </form>
  <div ng-if="omnibarVisible" class="omnibar-actions omnibar-animation">
    <ul class="button-row">
      <li class="button-container left-of-four border-right">
        <button type="button" class="normal-button" ng-click="clickOmnibarPlus(omnibarText)" ng-disabled="!omnibarHasText()">
          <span class="button-text">inbox</span>
        </button>
      </li>
      <li class="button-container center-of-four">
        <button type="button" class="default-button" ng-click="saveAsTask(omnibarText)" ng-disabled="!omnibarHasText()">
          <span class="button-text">task</span>
        </button>
      </li>
      <li class="button-container center-of-four">
        <button type="button" class="default-button" ng-click="saveAsNote(omnibarText)" ng-disabled="!omnibarHasText()">
          <span class="button-text">note</span>
        </button>
      </li>
      <li class="button-container right-of-four">
        <button type="button" class="default-button" ng-click="clearOmnibar(heading)">
          <span class="button-text">cancel</span>
        </button>
      </li>
    </ul>
  </div>
  <div ng-if="omnibarVisible" id="omnibar-results" class="swiper-no-swiping" ng-style="{height: getOmnibarSearchResultsHeight()}" data-snap-ignore="true" >
    <div ng-if="!omnibarHasText()" id="filtered-items-placeholder" ng-style="{width: getColumnWidth()}" ng-click="clearOmnibar(heading)">&nbsp;</div>
    <div ng-if="isSearchActive()" id="filtered-items-container">
      <div ng-show="filteredItems.length" class="filtered-items">
        <h3 ><a href ng-click="gotoInbox()">inbox</a></h3>
        <div class="inner-page-content-container" accordion>
          <div ng-repeat="item in filteredItems = (items | filter:{title:searchText.delayed}) | orderBy:'modified':true">
            <div accordion-title="item" edit-item="editItem(item)" edit-item-title="editItemTitle(item)" toggle-complete="false"></div>
            <div ng-if="isOpen(item)" class="accordion-body" editable-field-container="auto">
              <div ng-include="'static/app/main/itemActions.html'"></div>
            </div>
          </div>
        </div>
      </div>
      <div ng-show="filteredTasks.length" class="filtered-items" ng-controller="TasksController">
        <h3><a href ng-click="gotoTasks()">tasks</a></h3>
        <div class="inner-page-content-container" accordion>
          <div ng-repeat="task in filteredTasks = (tasks | filter:{title:searchText.delayed})">
            <div accordion-title="task" edit-item="editTask(task)" edit-item-title="editTaskTitle(task)" has-complete="true" toggle-complete="taskChecked(task)"></div>
            <div ng-if="isOpen(task)" class="accordion-body" editable-field-container="auto">
              <div class="accordion-inner" ng-include="'static/app/tasks/taskActions.html'"></div>
            </div>
          </div>
        </div>
      </div>
      <div ng-show="filteredNotes.length" class="filtered-items" ng-controller="NotesController">
        <h3><a href ng-click="gotoNotes()">notes</a></h3>
        <div class="inner-page-content-container" accordion>
          <div ng-repeat="note in filteredNotes = (notes | filter:{title:searchText.delayed})">
            <div accordion-title="note" edit-item="editNote(task)" edit-item-title="editNoteTitle(note)" has-complete="false" toggle-complete></div>
            <div ng-if="isOpen(note)" class="accordion-body" editable-field-container="auto">
              <div class="accordion-inner" ng-include="'static/app/notes/noteActions.html'"></div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div><commit_msg>Fixed note editing not opening from omnibar search results<commit_after><div id="omnibar-wrapper" class="swiper-no-swiping" ng-controller="ItemsController">
  <form id="{{heading}}-omnibar" ng-init="setOmnibarPlaceholder(omnibarFeature, heading)" role="form" name="{{heading}}-addOmniItem" ng-submit="saveOmnibarText(omnibarText)">
    <div class="form-group">
      <div ng-class="(omnibarVisible && 'omnibar-visible') || (!omnibarVisible && 'omnibar-hidden')">
        <input type="text" id="{{omnibarFeature + heading}}OmnibarInput" class="simple-input form-control omnibar-input" ng-model="omnibarText.title" dynamic-placeholder="{{omnibarPlaceholders[omnibarFeature + heading]}}" ng-click="clickOmnibar(omnibarFeature, heading)" ng-keydown="omnibarKeyDown($event)" maxlength="128" required>
      </div>
      <div ng-show="omnibarHasText()" class="right-button-wrapper">
        <button id="omnibarX" class="button" type="button" ng-click="omnibarText.title=''"><span class="icon-x"></span>
        </button>
      </div>
    </div>
  </form>
  <div ng-if="omnibarVisible" class="omnibar-actions omnibar-animation">
    <ul class="button-row">
      <li class="button-container left-of-four border-right">
        <button type="button" class="normal-button" ng-click="clickOmnibarPlus(omnibarText)" ng-disabled="!omnibarHasText()">
          <span class="button-text">inbox</span>
        </button>
      </li>
      <li class="button-container center-of-four">
        <button type="button" class="default-button" ng-click="saveAsTask(omnibarText)" ng-disabled="!omnibarHasText()">
          <span class="button-text">task</span>
        </button>
      </li>
      <li class="button-container center-of-four">
        <button type="button" class="default-button" ng-click="saveAsNote(omnibarText)" ng-disabled="!omnibarHasText()">
          <span class="button-text">note</span>
        </button>
      </li>
      <li class="button-container right-of-four">
        <button type="button" class="default-button" ng-click="clearOmnibar(heading)">
          <span class="button-text">cancel</span>
        </button>
      </li>
    </ul>
  </div>
  <div ng-if="omnibarVisible" id="omnibar-results" class="swiper-no-swiping" ng-style="{height: getOmnibarSearchResultsHeight()}" data-snap-ignore="true" >
    <div ng-if="!omnibarHasText()" id="filtered-items-placeholder" ng-style="{width: getColumnWidth()}" ng-click="clearOmnibar(heading)">&nbsp;</div>
    <div ng-if="isSearchActive()" id="filtered-items-container">
      <div ng-show="filteredItems.length" class="filtered-items">
        <h3 ><a href ng-click="gotoInbox()">inbox</a></h3>
        <div class="inner-page-content-container" accordion>
          <div ng-repeat="item in filteredItems = (items | filter:{title:searchText.delayed}) | orderBy:'modified':true">
            <div accordion-title="item" edit-item="editItem(item)" edit-item-title="editItemTitle(item)" toggle-complete="false"></div>
            <div ng-if="isOpen(item)" class="accordion-body" editable-field-container="auto">
              <div ng-include="'static/app/main/itemActions.html'"></div>
            </div>
          </div>
        </div>
      </div>
      <div ng-show="filteredTasks.length" class="filtered-items" ng-controller="TasksController">
        <h3><a href ng-click="gotoTasks()">tasks</a></h3>
        <div class="inner-page-content-container" accordion>
          <div ng-repeat="task in filteredTasks = (tasks | filter:{title:searchText.delayed})">
            <div accordion-title="task" edit-item="editTask(task)" edit-item-title="editTaskTitle(task)" has-complete="true" toggle-complete="taskChecked(task)"></div>
            <div ng-if="isOpen(task)" class="accordion-body" editable-field-container="auto">
              <div class="accordion-inner" ng-include="'static/app/tasks/taskActions.html'"></div>
            </div>
          </div>
        </div>
      </div>
      <div ng-show="filteredNotes.length" class="filtered-items" ng-controller="NotesController">
        <h3><a href ng-click="gotoNotes()">notes</a></h3>
        <div class="inner-page-content-container" accordion>
          <div ng-repeat="note in filteredNotes = (notes | filter:{title:searchText.delayed})">
            <div accordion-title="note" edit-item="editNote(note)" edit-item-title="editNoteTitle(note)" has-complete="false" toggle-complete></div>
            <div ng-if="isOpen(note)" class="accordion-body" editable-field-container="auto">
              <div class="accordion-inner" ng-include="'static/app/notes/noteActions.html'"></div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
{'fraction_non_alphanumeric': 0.184314987662268, 'fraction_numerical': 0.0019311232700354038, 'mean_word_length': 3.7057041898031295, 'pattern_counts': {'":': 0, '<': 197, '<?xml version=': 0, '>': 197, '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': '6199936', 'n_tokens_mistral': 3073, 'n_tokens_neox': 2993, 'n_words': 447}