Adds apollo inspector devtools to Google Chrome

Latest Version

Version
0.0.8
Update
May 18, 2024
Size
395KiB
Developer
Category
Users
125
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
See more

Apollo Inspector Extension

# Apollo Inspector

Apollo Inspector is a Chrome extension designed to facilitate debugging of GraphQL operations within the open-source GraphQL client, Apollo Client.

## Purpose

The tool is indispensable for diagnosing a multitude of issues that may arise during GraphQL operations within Apollo Client. It provides insights into various aspects of operations, aiding in efficient debugging and optimization efforts.

## What kind of issues can be debugged using the tool

1. Identification of unwanted operations triggered during the render phase.
2. Diagnosis of reasons behind multiple re-renders of the same watch query.
3. Resolution of issues stemming from conflicting queries.
4. Presentation of field names in case of missing field errors.
5. Detailed time information to assess query execution patterns, including adherence to the Waterfall model.
6. Detection of delays in data being written to the cache.
7. Insight into the causes of operation failures.

## Key Features

1. Comprehensive Tracking: Tracks all types of operations including Query, Mutation, Subscription, and more.
2. Detailed Information: Provides essential details for each operation, such as name, type, execution status, fetch policy, execution time, queuing time, and result size.
3. Filtering Options: Filters available for efficient operation list management based on type, results source, and status.
4. Affected Queries View: Clear visualization of operations responsible for re-rendering queries.
5. JSON Data Copy: Ability to copy operation data in JSON format.
6. Cache: Copy or evict apollo client cache.

## Usage Instructions

To enable the Apollo Inspector extension:

1. Single Apollo Client Instance: If your web app has a single instance of Apollo Client, attach it to the `__APOLLO_CLIENT__` variable on the window object.

2. Multiple Apollo Client Instances: If your web app has multiple instances of Apollo Client, create an array (ClientObject[]) containing all instances and attach it to the `__APOLLO_CLIENTS__` variable on the window object.

For comprehensive guidance on how to use the extension, refer to the [official documentation](https://github.com/jpsahoo14/apollo-inspector-ui/blob/main/extension/readme.md).
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Apollo Inspector", "description": "Adds apollo inspector devtools to Google Chrome", "version": "0.0.8", "content_scripts": [ { "js": [ "content-script.js" ], "matches": [ "" ], "run_at": "document_start" } ], "devtools_page": "devtools.html", "icons": { "16": "icon16.png", "32": "icon32.png", "48": "icon48.png", "128": "icon128.png" }, "web_accessible_resources": [ { "resources": [ "webpage.js" ], "matches": [ "" ] } ], "background": { "service_worker": "background.js" }}
Read more

How to download and manually install Apollo Inspector extension for Chrome

Looking for a way to install Apollo Inspector extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Apollo Inspector extensions manually, this article outlines two simple methods to effortlessly install Apollo Inspector extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Apollo Inspector extension and manually install through Drag &Drop

If you ever need to manually install a Apollo Inspector extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Apollo Inspector Extension by clicking the "Download CRX" button on the website.

Look for the Apollo Inspector extension you wish to install. Go to the website and download the Apollo Inspector extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Apollo Inspector extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Apollo Inspector extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Apollo Inspector extension for Chrome and install in Developer Mode

This is another method to install Apollo Inspector extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Apollo Inspector extension file

Select and download the Apollo Inspector extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Apollo Inspector extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Apollo Inspector extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Apollo Inspector extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Apollo Inspector extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

GraphQL DevTools Extension · Developer Tools 125 7 ★ 521KiB

icon

Apollo Tracing Extension · Developer Tools 125 2 ★ 97.43KiB

icon

Apollo Client Devtools Extension · Developer Tools 125 266 ★ 490KiB

icon

Querio - GraphQL and HTTP requests inspector Extension · Developer Tools 125 8 ★ 2.1MiB

icon

Apollo Lead Scraper by TaskAGI Extension · Productivity 125 2 ★ 16.95KiB

icon

GraphQL developer tools Extension · Developer Tools 125 24 ★ 98.19KiB

icon

Graphql-devtools Extension · Productivity 125 2 ★ 1.57MiB

icon

GitHub S&M Blocker Extension · Developer Tools 125 5 ★ 147KiB

icon

Lage Extension · Photos 125 4 ★ 184KiB

icon

writer.ai - Powered by ChatGPT Extension · Productivity 125 1 ★ 4.4MiB

icon

DealMatch - Facebook Marketplace Deal Finder Extension · Shopping 125 10 ★ 13.49KiB

icon

Wondrful: AI meeting summary and automation Extension · Social & Communication 125 0 ★ 241KiB

icon

Password Generator Extension · Productivity 125 0 ★ 107KiB

icon

GraphQL Network Inspector Extension · Developer Tools 125 123 ★ 8.34MiB

icon

GraphQL state Extension · Developer Tools 125 0 ★ 1.16MiB

icon

Social Media Analyzer Extension · Social & Communication 125 1 ★ 166KiB

icon

Manifest Viewer Extension · Productivity 125 1 ★ 217KiB

icon

Signadot Extension · Developer Tools 125 1 ★ 388KiB

icon

Graphql Query Generator Extension · Developer Tools 125 5 ★ 1.9MiB

icon

Live.VKvideo - Now Extension · Accessibility 125 14 ★ 40.09KiB

icon

Tiktok Finds Extension · Social & Communication 125 0 ★ 2.25MiB

icon

Bundlephobia Web Extension Extension · Developer Tools 125 1 ★ 14.74KiB

icon

Social Switch: Anonymous Instagram and TikTok Extension · Social & Communication 125 2 ★ 16.97KiB

icon

Fiverr Gig Favourite Exchange Sheep Extension · Productivity 125 3 ★ 1.32MiB