Skip to content

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
conwnet committed Mar 6, 2021
2 parents d6ca5fd + b0c1857 commit b62e8cd
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 14 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,14 @@ $ yarn build

The continued development and maintenance of GitHub1s is made possible by these generous sponsors:

<br />
<a href="https://vercel.com/?utm_source=vscode-github1s&utm_campaign=oss">
<img src="https://raw.githubusercontent.com/conwnet/github1s/master/resources/images/vercel-logo.svg">
</a>
<br /><br />
<table><tbody><tr>
<td><a href="https://vercel.com/?utm_source=vscode-github1s&utm_campaign=oss">
<img height="40px" src="https://raw.githubusercontent.com/conwnet/github1s/master/resources/images/sourcegraph-logo.svg">
</a></td>
<td><a href="https://vercel.com/?utm_source=vscode-github1s&utm_campaign=oss">
<img height="40px" src="https://raw.githubusercontent.com/conwnet/github1s/master/resources/images/vercel-logo.svg">
</a></td>
</tr></tbody></table>

## Third-party Related Projects

Expand Down
13 changes: 5 additions & 8 deletions extensions/github1s/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import {
GitHub1sFileSystemProvider,
GitHub1sFileSearchProvider,
// GitHub1sTextSearchProvider,
GitHub1sTextSearchProvider,
GitHub1sSubmoduleDecorationProvider,
} from '@/providers';
import { showSponsors } from '@/sponsors';
Expand All @@ -40,13 +40,10 @@ export function activate(context: vscode.ExtensionContext) {
GitHub1sFileSearchProvider.scheme,
new GitHub1sFileSearchProvider(fsProvider)
),
// TODO: The Code Search ability is powered by Sourcegraph
// We are actively in touch with the Sourcegraph Team
// It will be enabled if we get their permission
// vscode.workspace.registerTextSearchProvider(
// GitHub1sTextSearchProvider.scheme,
// new GitHub1sTextSearchProvider()
// ),
vscode.workspace.registerTextSearchProvider(
GitHub1sTextSearchProvider.scheme,
new GitHub1sTextSearchProvider()
),
vscode.window.registerFileDecorationProvider(
new GitHub1sSubmoduleDecorationProvider(fsProvider)
)
Expand Down
5 changes: 5 additions & 0 deletions extensions/github1s/src/sponsors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ const sponsors = [
link: 'https://vercel.com/?utm_source=vscode-github1s&utm_campaign=oss',
description: 'Develop. Preview. Ship.',
},
{
name: 'Sourcegraph',
link: 'https://sourcegraph.com',
description: 'Universal code search',
},
];

export const showSponsors = () => {
Expand Down
66 changes: 66 additions & 0 deletions resources/images/sourcegraph-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion resources/images/vercel-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/vs/workbench/contrib/url/browser/trustedDomains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ const github1sDefaultTrustedDomains = [
'*.microsoft.com',
'*.github1s.com',
'*.vercel.com',
'*.sourcegraph.com',
];

export function readStaticTrustedDomains(
Expand Down

1 comment on commit b62e8cd

@vercel
Copy link

@vercel vercel bot commented on b62e8cd Mar 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.