# Aviator's Chrome Extension

[<mark style="color:blue;">Aviator's Chrome Extension</mark>](https://chrome.google.com/webstore/detail/aviator-chrome-extension/inoabloekooadaolcncfmpgafkgbgnif) offers a few capabilities:

* MergeQueue - You can enqueue / dequeue your pull-request from GitHub, monitor the status and review the stack.
* AttentionSet - Track all the PRs that require your attention. On the GitHub page for the PR, you can also toggle the attention.

## Installation

Install from [<mark style="color:blue;">Chrome Web Store</mark>](https://chrome.google.com/webstore/detail/aviator-chrome-extension/inoabloekooadaolcncfmpgafkgbgnif). After the installation, open your pull-request, and you can find a log-in button instead of the GitHub merge button.

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FJEotJiYZdw93gUD6GLWW%2Fimage.png?alt=media&#x26;token=8144c150-3f18-43e8-854c-7568470a7fdb" alt="" width="375"><figcaption></figcaption></figure>

Click the login button, and you'll redirected to the Aviator login page. If you are already logged in, it should automatically get back to the original PR page.

{% hint style="info" %}
The browser extension is also supported on Arc.
{% endhint %}

### Pinning the extension

Once installed, you can optionally pin the Chrome extension. This way, whenever there's a PR that require your attention, it will show you a red badge within your browser.

### Connecting with GitHub

To enable the AttentionSet in Chrome Extension, you need to connect your Aviator user with GitHub user. You can find that configuration in Settings > Personal > Integrations , or [follow this link](https://app.aviator.co/settings/personal/integrations).

## How to use

### AttentionSet

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FXi0WiBJN6COEX7CLKyfF%2FScreenshot%202024-10-10%20at%205.01.07%E2%80%AFPM.png?alt=media&#x26;token=ed88c752-5bf8-4e1e-962b-0a371a6687b6" alt="" width="563"><figcaption></figcaption></figure>

The extension shows you the list of PRs that require your attention. These may be PRs that require a review from you, or the PRs authored by you that are waiting for your action after a response from the reviewer.

* If you pin the extension to Chrome, it will show the number of PRs that require your attention as a badge.
* On clicking the icon, it expands a popup view that lists those PRs
* Any PR that is approved and ready to merge shows up with a green bar.
* On the PR details page, you can also view and toggle the Attention for the GitHub users from the right side menu.

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FRvZJOaMCpTWHjRgUF37M%2FScreenshot%202024-10-10%20at%209.01.43%E2%80%AFPM.png?alt=media&#x26;token=be08b72d-ab0a-4ca3-812f-7500f7a6ee4f" alt="" width="334"><figcaption></figcaption></figure>

### MergeQueue

If the repository is configured with Aviator MergeQueue, it shows a button to enqueue a pull request. This will work properly with stacked PRs as well.

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FVMiNYt0UShHmWiRw0hwC%2FScreen%20Shot%202023-11-07%20at%203.22.42%20PM.png?alt=media&#x26;token=f3bcce4f-f85a-4fb6-93a9-787a67d84ec6" alt="" width="563"><figcaption><p>Enqueue an open PR</p></figcaption></figure>

Once the PR has entered the queue, the extension will show information about the bot pull request, and a timeline of the PR's activity. If the queue is currently paused, the extension will notify the user, regardless of the PR's status.

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FG1Sb3iWvouRLZMLNDLLq%2FScreen%20Shot%202023-11-03%20at%205.03.32%20PM.png?alt=media&#x26;token=c70f9a8d-574a-4290-87d5-4e24cafd48ab" alt="" width="563"><figcaption><p>PR in the merge queue</p></figcaption></figure>

The extension will show updated information if the PR is blocked.

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FbFRmnxB1pIQdMmCixpCv%2FScreen%20Shot%202023-11-07%20at%203.31.41%20PM.png?alt=media&#x26;token=54c0f97d-9b7f-4a3c-b529-57abffdd2bc0" alt="" width="563"><figcaption><p>Blocked PR</p></figcaption></figure>

If you need, there is an option to show the original GitHub merge button.

### Use with Aviator MergeQueue on-prem

You can open the extension option page from the extension menu.

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FILGPf4UdBbMYc0GGcXLM%2Fimage.png?alt=media&#x26;token=500c6489-6aab-4cd8-9956-07768e4a1bca" alt="" width="563"><figcaption></figcaption></figure>

You can specify your on-prem Aviator deployment URL.

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FzKfwyN7bF1Ynqt0Mxe5p%2Fimage.png?alt=media&#x26;token=743640e3-86eb-41a6-a0e5-8c7e46c26e73" alt="" width="375"><figcaption></figcaption></figure>
