octobox/octobox

View on GitHub
app/views/shared/_search_prefixes.html.erb

Summary

Maintainability
Test Coverage
<table class="table">
  <tbody>
    <tr>
      <td>
        <code>repo:octobox/octobox</code>
      </td>
      <td>Only search notifications from the octobox/octobox repository.</td>
    </tr>
    <tr>
      <td>
        <code>owner:microsoft</code>
      </td>
      <td>Only search notifications from repos in the microsoft organisation.</td>
    </tr>
    <tr>
      <td>
        <code>type:pull_request</code>
      </td>
      <td>
        Only search pull requests. Also accepts:
        <code>issue</code>,
        <code>release</code>,
        <code>commit</code>,
        <code>repository_invitation</code>
        and <code>repository_vulnerability_alert</code>.
      </td>
    </tr>
    <tr>
      <td>
        <code>number:123</code>
      </td>
      <td>Filter by notifications from issues and/or pull requests with the number '123'.</td>
    </tr>
    <tr>
      <td>
        <code>reason:mention</code>
      </td>
      <td>
        Filter by reason the notification was triggered. Also accepts:
        <code>comment</code>,
        <code>author</code>,
        <code>state_change</code>,
        <code>assign</code>,
        <code>subscribed</code>,
        <code>team_mention</code>,
        <code>security_alert</code>.
      </td>
    </tr>
    <tr>
      <td>
        <code>starred:true</code>
      </td>
      <td>Search notifications that you've starred. Also accepts false for the inverse.</td>
    </tr>
    <tr>
      <td>
        <code>archived:true</code>
      </td>
      <td>Search notifications that you've archived. Also accepts false for the inverse.</td>
    </tr>
    <tr>
      <td>
        <code>inbox:true</code>
      </td>
      <td>Search notifications in your inbox. Also accepts false for the inverse.</td>
    </tr>
    <tr>
      <td>
        <code>unread:true</code>
      </td>
      <td>Search unread notifications.  Also accepts false for the inverse.</td>
    </tr>
    <tr>
      <td>
        <code>muted:true</code>
      </td>
      <td>Search muted notifications.  Also accepts false for the inverse.</td>
    </tr>
    <tr>
      <td>
        <code>sort:updated</code>
      </td>
      <td>Sort notifications by <code>updated</code>, <code>read</code> or <code>subject</code>.</td>
    </tr>
    <tr>
      <td>
        <code>order:asc</code>
      </td>
      <td>Sort notifications in ascending (<code>asc</code>) or descending (<code>desc</code>) order. Use with <code>sort</code>.</td>
    </tr>
    <tr>
      <td>
        <code>state:open</code>
      </td>
      <td>
        Filter by notifications from issues or pull requests that are open.
        Also accepts <code>closed</code> and <code>merged</code>.
      </td>
    </tr>
    <tr>
      <td>
        <code>label:bug</code>
      </td>
      <td>Filter by notifications from issues or pull requests with the label of '<code>bug</code>'.</td>
    </tr>
    <tr>
      <td>
        <code>author:andrew</code>
      </td>
      <td>Filter by notifications from issue or pull requests that were created by '<code>andrew</code>'.</td>
    </tr>
    <tr>
      <td>
        <code>status:success</code>
      </td>
      <td>
        Filter by notifications from pull requests where checks status is '<code>success</code>'.
        Also accepts <code>failure</code>, <code>pending</code> and <code>error</code>.
      </td>
    </tr>
    <tr>
      <td>
        <code>unlabelled:true</code>
      </td>
      <td>Search notifications that don't have any labels.</td>
    </tr>
    <tr>
      <td>
        <code>bot:true</code>
      </td>
      <td>Search notifications generated by GitHub apps or bot users (name ends in '<code>-bot</code>').</td>
    </tr>
    <tr>
      <td>
        <code>private:true</code>
      </td>
      <td>Search notifications from private repositories. Also accepts false for the inverse.</td>
    </tr>
    <tr>
      <td>
        <code>assignee:andrew</code>
      </td>
      <td>Filter by notifications from issue or pull requests that are assigned to '<code>andrew</code>'.</td>
    </tr>
    <tr>
      <td>
        <code>locked:true</code>
      </td>
      <td>Search for lock conversations. Also accepts false for the inverse.</td>
    </tr>
    <tr>
      <td>
        <code>draft:true</code>
      </td>
      <td>Search for only draft pull requests. Also accepts false for the inverse.</td>
    </tr>
  </tbody>
</table>