Skip to content

Latest commit

 

History

History
48 lines (27 loc) · 2.85 KB

File metadata and controls

48 lines (27 loc) · 2.85 KB

HubSpot extension for Sourcegraph

⚠️ Deprecation notice

Sourcegraph extensions have been deprecated with the September 2022 Sourcegraph release. Learn more.

The repo and the docs below are kept to support older Sourcegraph versions.

Description

A Sourcegraph extension that enhances GitHub with better HubSpot integration.

🗃️ Source code

➕ Add to Sourcegraph

Status: beta

Usage

This extension currently only works on GitHub (and GitHub Enterprise), not on Sourcegraph or other code hosts.

  1. Install the Sourcegraph browser extension.
    • In the Sourcegraph browser extension options menu, click the gear (⚙️) and enable Experimental link previews and Experimental text field completion.
  2. Enable the HubSpot extension in the Sourcegraph extension registry (requires sign-in to Sourcegraph).
  3. Configure the HubSpot extension in Sourcegraph user settings: hubspot.apiKey.
  4. Visit any text area, comment, PR, or issue on GitHub and try the features below.

If using GitHub Enterprise, right-click on the Sourcegraph browser extension icon when you're on a GitHub Enterprise page and select Enable Sourcegraph on this domain.

Features

Autocompletion of HubSpot company names

Just start typing the name of a customer in your HubSpot contacts (like Acme Corporation) to complete it! Select a company to insert its HubSpot URL into the text area. It works just like GitHub's built-in autocompletion for issues, PRs, and users.

This makes it easy to denote which customers care about a specific issue. (If your repository is public, no fear: HubSpot company URLs don't contain the company's name, so your customer names won't be exposed.)

HubSpot company autocompletion

Link previews for HubSpot company URLs

For any HubSpot company link that appears on GitHub (in a comment, issue, PR, or rendered Markdown file), you'll see a preview with the company name and other stats (such as number of employees, location, etc.).

This makes it easy to see which customers care about a specific issue. The emoji link lets you see all other issues that the same company is mentioned in, which is also very useful (to answer "what are all the issues a specific customer cares about?").

HubSpot company link previews