From 4d53258df9381c6c78511d8716bb789de20df279 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 10 Jun 2020 15:33:25 -0400 Subject: [PATCH] Adds view icons --- images/views/compare.svg | 3 ++ images/views/history.svg | 4 +++ images/views/repositories.svg | 5 +++ images/views/search.svg | 5 +++ package.json | 82 +++++++++++++++++++++++++++++-------------- 5 files changed, 73 insertions(+), 26 deletions(-) create mode 100644 images/views/compare.svg create mode 100644 images/views/history.svg create mode 100644 images/views/repositories.svg create mode 100644 images/views/search.svg diff --git a/images/views/compare.svg b/images/views/compare.svg new file mode 100644 index 0000000..88b8f90 --- /dev/null +++ b/images/views/compare.svg @@ -0,0 +1,3 @@ + + + diff --git a/images/views/history.svg b/images/views/history.svg new file mode 100644 index 0000000..e377c5e --- /dev/null +++ b/images/views/history.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/views/repositories.svg b/images/views/repositories.svg new file mode 100644 index 0000000..b64b464 --- /dev/null +++ b/images/views/repositories.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/images/views/search.svg b/images/views/search.svg new file mode 100644 index 0000000..8a1b067 --- /dev/null +++ b/images/views/search.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/package.json b/package.json index 2b1382c..993b43f 100644 --- a/package.json +++ b/package.json @@ -5820,81 +5820,111 @@ { "id": "gitlens.views.repositories:gitlens", "name": "Repositories", - "when": "config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == gitlens" + "when": "config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == gitlens", + "contextualTitle": "GitLens", + "icon": "images/views/repositories.svg" }, { "id": "gitlens.views.fileHistory:gitlens", "name": "File History", - "when": "config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == gitlens" + "when": "config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == gitlens", + "contextualTitle": "GitLens", + "icon": "images/views/history.svg" }, { "id": "gitlens.views.lineHistory:gitlens", "name": "Line History", - "when": "config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == gitlens" + "when": "config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == gitlens", + "contextualTitle": "GitLens", + "icon": "images/views/history.svg" }, { "id": "gitlens.views.compare:gitlens", - "name": "Compare", - "when": "config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == gitlens" + "name": "Compare Commits", + "when": "config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == gitlens", + "contextualTitle": "GitLens", + "icon": "images/views/compare.svg" }, { "id": "gitlens.views.search:gitlens", "name": "Search Commits", - "when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == gitlens" + "when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == gitlens", + "contextualTitle": "GitLens", + "icon": "images/views/search.svg" } ], "explorer": [ { "id": "gitlens.views.repositories:explorer", - "name": "GitLens: Repositories", - "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == explorer" + "name": "Repositories", + "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == explorer", + "contextualTitle": "GitLens", + "icon": "images/views/repositories.svg" }, { "id": "gitlens.views.fileHistory:explorer", - "name": "GitLens: File History", - "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == explorer" + "name": "File History", + "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == explorer", + "contextualTitle": "GitLens", + "icon": "images/views/history.svg" }, { "id": "gitlens.views.lineHistory:explorer", - "name": "GitLens: Line History", - "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == explorer" + "name": "Line History", + "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == explorer", + "contextualTitle": "GitLens", + "icon": "images/views/history.svg" }, { "id": "gitlens.views.compare:explorer", - "name": "GitLens: Compare", - "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == explorer" + "name": "Compare Commits", + "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == explorer", + "contextualTitle": "GitLens", + "icon": "images/views/compare.svg" }, { "id": "gitlens.views.search:explorer", - "name": "GitLens: Search Commits", - "when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == explorer" + "name": "Search Commits", + "when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == explorer", + "contextualTitle": "GitLens", + "icon": "images/views/search.svg" } ], "scm": [ { "id": "gitlens.views.repositories:scm", - "name": "GitLens: Repositories", - "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == scm" + "name": "Repositories", + "when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == scm", + "contextualTitle": "GitLens", + "icon": "images/views/repositories.svg" }, { "id": "gitlens.views.fileHistory:scm", - "name": "GitLens: File History", - "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == scm" + "name": "File History", + "when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == scm", + "contextualTitle": "GitLens", + "icon": "images/views/history.svg" }, { "id": "gitlens.views.lineHistory:scm", - "name": "GitLens: Line History", - "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == scm" + "name": "Line History", + "when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == scm", + "contextualTitle": "GitLens", + "icon": "images/views/history.svg" }, { "id": "gitlens.views.compare:scm", - "name": "GitLens: Compare", - "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == scm" + "name": "Compare Commits", + "when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == scm", + "contextualTitle": "GitLens", + "icon": "images/views/compare.svg" }, { "id": "gitlens.views.search:scm", - "name": "GitLens: Search Commits", - "when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == scm" + "name": "Search Commits", + "when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == scm", + "contextualTitle": "GitLens", + "icon": "images/views/search.svg" } ] }