Skip to content

Commit a9feb1a

Browse files
authored
fix: icon display (#138)
1 parent 857c951 commit a9feb1a

File tree

3 files changed

+8710
-4
lines changed

3 files changed

+8710
-4
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Works on [Sourcegraph.com](https://sourcegraph.com), [self-hosted Sourcegraph in
1616

1717
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.
1818

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

2122
## Usage
2223

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

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

4344
## Roadmap
4445

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "code-ownership",
44
"publisher": "sourcegraph",
55
"description": "See code owners of the current file",
6-
"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>",
6+
"icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij4KPHRleHQgdGV4dC1hbmNob3I9InRvcCIgeT0iNDAiIGZvbnQtc2l6ZT0iMi41cmVtIj7wn5SQPC90ZXh0Pjwvc3ZnPg==",
77
"license": "Apache",
88
"repository": {
99
"type": "git",
@@ -44,7 +44,8 @@
4444
],
4545
"actionItem": {
4646
"label": "${get(context, `codeOwnership.file.${resource.uri}.label`)}",
47-
"description": "${get(context, `codeOwnership.file.${resource.uri}.description`)}"
47+
"description": "${get(context, `codeOwnership.file.${resource.uri}.description`)}",
48+
"iconURL": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij4KPHRleHQgdGV4dC1hbmNob3I9InRvcCIgeT0iNDAiIGZvbnQtc2l6ZT0iMi41cmVtIj7wn5SQPC90ZXh0Pjwvc3ZnPg=="
4849
}
4950
}
5051
],

0 commit comments

Comments
 (0)