Skip to content

Commit

Permalink
fix: icon display (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
abeatrix authored Oct 22, 2021
1 parent 857c951 commit a9feb1a
Show file tree
Hide file tree
Showing 3 changed files with 8,710 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ Works on [Sourcegraph.com](https://sourcegraph.com), [self-hosted Sourcegraph in

Only [`CODEOWNERS` and `.github/CODEOWNERS` files](https://help.github.com/en/articles/about-code-owners) are supported right now. [File an issue](https://github.com/sourcegraph/sourcegraph-code-ownership/issues) if you want need support for another code ownership scheme.

![Screenshot](https://storage.googleapis.com/sourcegraph-assets/code-ownership-extension-0.png)
![image](https://user-images.githubusercontent.com/68532117/138493366-07ceb88f-3b8e-4f2b-8df7-cd6f5738ef1b.png)


## Usage

Expand All @@ -38,7 +39,7 @@ This extension adds the same features on your code host if you're using the [Sou
1. Visit any code file (on your code host) in a repository containing a `CODEOWNERS` or `.github/CODEOWNERS` file.
1. Look in the file header to see the current file's code owner(s).

![Screenshot on GitHub](https://storage.googleapis.com/sourcegraph-assets/code-ownership-extension-github-0.png)
![Screenshot on GitHub](https://user-images.githubusercontent.com/68532117/138493194-1f3769fb-404c-4a2c-9cbb-98684b5fac44.png)

## Roadmap

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "code-ownership",
"publisher": "sourcegraph",
"description": "See code owners of the current file",
"icon": "data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🔐</text></svg>",
"icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij4KPHRleHQgdGV4dC1hbmNob3I9InRvcCIgeT0iNDAiIGZvbnQtc2l6ZT0iMi41cmVtIj7wn5SQPC90ZXh0Pjwvc3ZnPg==",
"license": "Apache",
"repository": {
"type": "git",
Expand Down Expand Up @@ -44,7 +44,8 @@
],
"actionItem": {
"label": "${get(context, `codeOwnership.file.${resource.uri}.label`)}",
"description": "${get(context, `codeOwnership.file.${resource.uri}.description`)}"
"description": "${get(context, `codeOwnership.file.${resource.uri}.description`)}",
"iconURL": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij4KPHRleHQgdGV4dC1hbmNob3I9InRvcCIgeT0iNDAiIGZvbnQtc2l6ZT0iMi41cmVtIj7wn5SQPC90ZXh0Pjwvc3ZnPg=="
}
}
],
Expand Down
Loading

0 comments on commit a9feb1a

Please sign in to comment.