소스 검색

Adds workspaces icon

main
Eric Amodio 1 년 전
부모
커밋
444296988b
11개의 변경된 파일26개의 추가작업 그리고 11개의 파일을 삭제
  1. +2
    -1
      images/icons/template/mapping.json
  2. +1
    -0
      images/icons/workspaces-view.svg
  3. +8
    -1
      package.json
  4. +1
    -1
      src/webviews/apps/commitDetails/commitDetails.html
  5. +1
    -1
      src/webviews/apps/home/home.html
  6. +1
    -1
      src/webviews/apps/plus/focus/focus.html
  7. +1
    -1
      src/webviews/apps/plus/graph/graph.html
  8. +1
    -1
      src/webviews/apps/plus/timeline/timeline.html
  9. +3
    -0
      src/webviews/apps/shared/components/code-icon.ts
  10. +4
    -1
      src/webviews/apps/shared/glicons.scss
  11. +3
    -3
      src/webviews/apps/welcome/welcome.html

+ 2
- 1
images/icons/template/mapping.json 파일 보기

@ -36,5 +36,6 @@
"provider-gitea": 61729,
"provider-github": 61730,
"provider-gitlab": 61731,
"gitlens-inspect": 61732
"gitlens-inspect": 61732,
"workspaces-view": 61733
}

+ 1
- 0
images/icons/workspaces-view.svg 파일 보기

@ -0,0 +1 @@
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M11.685 17.25a5.25 5.25 0 1 0 0-10.5 5.25 5.25 0 0 0 0 10.5ZM20.264 8.593a3.669 3.669 0 1 0 0-7.337 3.669 3.669 0 0 0 0 7.337Z"/><path d="M1.293 12a10.395 10.395 0 0 1 19.624-4.78l1.086-.563a11.616 11.616 0 1 0 1.3 5.343c0-1.268-.203-2.67-.58-3.815 0 0-.26.237-.547.36a4.362 4.362 0 0 1-.615.204A10.395 10.395 0 1 1 1.293 12Z"/></svg>

+ 8
- 1
package.json 파일 보기

@ -7812,6 +7812,13 @@
"fontPath": "dist/glicons.woff2",
"fontCharacter": "\\f124"
}
},
"gitlens-workspaces-view": {
"description": "workspaces-view icon",
"default": {
"fontPath": "dist/glicons.woff2",
"fontCharacter": "\\f125"
}
}
},
"menus": {
@ -14187,7 +14194,7 @@
"name": "GitKraken Workspaces",
"when": "!gitlens:untrusted && !gitlens:hasVirtualFolders",
"contextualTitle": "GitLens",
"icon": "$(gitlens-worktrees-view)",
"icon": "$(gitlens-workspaces-view)",
"initialSize": 2,
"visibility": "visible"
},

+ 1
- 1
src/webviews/apps/commitDetails/commitDetails.html 파일 보기

@ -11,7 +11,7 @@
@font-face {
font-family: 'glicons';
font-display: block;
src: url('#{root}/dist/glicons.woff2?ab6c9110fb0444acd9ba719c4c55fa68') format('woff2');
src: url('#{root}/dist/glicons.woff2?8e33f5a80a91b05940d687a08305c156') format('woff2');
}
</style>
</head>

+ 1
- 1
src/webviews/apps/home/home.html 파일 보기

@ -11,7 +11,7 @@
@font-face {
font-family: 'glicons';
font-display: block;
src: url('#{root}/dist/glicons.woff2?ab6c9110fb0444acd9ba719c4c55fa68') format('woff2');
src: url('#{root}/dist/glicons.woff2?8e33f5a80a91b05940d687a08305c156') format('woff2');
}
</style>
</head>

+ 1
- 1
src/webviews/apps/plus/focus/focus.html 파일 보기

@ -11,7 +11,7 @@
@font-face {
font-family: 'glicons';
font-display: block;
src: url('#{root}/dist/glicons.woff2?ab6c9110fb0444acd9ba719c4c55fa68') format('woff2');
src: url('#{root}/dist/glicons.woff2?8e33f5a80a91b05940d687a08305c156') format('woff2');
}
:root {

+ 1
- 1
src/webviews/apps/plus/graph/graph.html 파일 보기

@ -11,7 +11,7 @@
@font-face {
font-family: 'glicons';
font-display: block;
src: url('#{root}/dist/glicons.woff2?ab6c9110fb0444acd9ba719c4c55fa68') format('woff2');
src: url('#{root}/dist/glicons.woff2?8e33f5a80a91b05940d687a08305c156') format('woff2');
}
</style>
<script type="application/javascript" nonce="#{cspNonce}">

+ 1
- 1
src/webviews/apps/plus/timeline/timeline.html 파일 보기

@ -11,7 +11,7 @@
@font-face {
font-family: 'glicons';
font-display: block;
src: url('#{root}/dist/glicons.woff2?ab6c9110fb0444acd9ba719c4c55fa68') format('woff2');
src: url('#{root}/dist/glicons.woff2?8e33f5a80a91b05940d687a08305c156') format('woff2');
}
</style>
</head>

+ 3
- 0
src/webviews/apps/shared/components/code-icon.ts 파일 보기

@ -1608,6 +1608,9 @@ export class CodeIcon extends LitElement {
:host([icon='gl-gitlens-inspect']):before {
content: '\\f124';
}
:host([icon='gl-workspaces-view']):before {
content: '\\f125';
}
@keyframes codicon-spin {
100% {

+ 4
- 1
src/webviews/apps/shared/glicons.scss 파일 보기

@ -6,7 +6,7 @@ Must be placed at the end of body in the HTML file of any webview that needs it
@font-face {
font-family: 'glicons';
font-display: block;
src: url("#{root}/dist/glicons.woff2?ab6c9110fb0444acd9ba719c4c55fa68") format("woff2");
src: url("#{root}/dist/glicons.woff2?8e33f5a80a91b05940d687a08305c156") format("woff2");
}
</style>
*/
@ -173,3 +173,6 @@ Must be placed at the end of body in the HTML file of any webview that needs it
.glicon-gitlens-inspect:before {
content: '\f124';
}
.glicon-workspaces-view:before {
content: '\f125';
}

+ 3
- 3
src/webviews/apps/welcome/welcome.html 파일 보기

@ -11,7 +11,7 @@
@font-face {
font-family: 'glicons';
font-display: block;
src: url('#{root}/dist/glicons.woff2?ab6c9110fb0444acd9ba719c4c55fa68') format('woff2');
src: url('#{root}/dist/glicons.woff2?8e33f5a80a91b05940d687a08305c156') format('woff2');
}
</style>
</head>
@ -224,7 +224,7 @@
data-requires="repo"
title="Show Workspaces view"
aria-label="Show Workspaces view"
><code-icon icon="gl-worktrees-view" size="20"></code-icon>Workspaces ☁️</a
><code-icon icon="gl-workspaces-view" size="20"></code-icon>Workspaces ☁️</a
>
</nav>
<p data-requires="norepo">
@ -448,7 +448,7 @@
data-requires="repo"
title="Show Workspaces view"
aria-label="Show Workspaces view"
><code-icon icon="gl-worktrees-view" size="20"></code-icon>Workspaces ☁️</a
><code-icon icon="gl-workspaces-view"></code-icon>Workspaces ☁️</a
>
<a
href="command:gitlens.showWorktreesView"

불러오는 중...
취소
저장