Skip to content

Commit a9f3195

Browse files
committed
Rename documentation command to visit website and remove redundant settings button and reddit icon
- create a new view "History" (it will be similar to settings - you should recreate 'Layout' component (copy 1:1). - unify 'settings button' into 'header action button', use for 'history' as well - move 'history', 'settings' actions from headers to toolbar (to the right of 'documentation' and 'open repository'). With these changes, remove now redundant 'header action button'. - because providers share structure, they should be bootstrapped - [Fragment] rename to 'panel.js', 'panel.css' - merge 'script name' 'style name' into name and don't use extension .js .css - always inject resources uri, remove redundant param - rename 'bootstrap_webview_html' to 'webview html' - remove 'history' view - remove 'reddit'
1 parent 0fd67f1 commit a9f3195

34 files changed

Lines changed: 108 additions & 287 deletions

‎apps/editor/package.json‎

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,9 @@
121121
"icon": "$(copy)"
122122
},
123123
{
124-
"command": "codeWebChat.documentation",
125-
"title": "%codeWebChat.documentation.title%",
126-
"category": "Code Web Chat",
127-
"icon": "$(book)"
124+
"command": "codeWebChat.visitWebsite",
125+
"title": "%codeWebChat.visitWebsite.title%",
126+
"category": "Code Web Chat"
128127
},
129128
{
130129
"command": "codeWebChat.openRepository",
@@ -283,7 +282,8 @@
283282
{
284283
"command": "codeWebChat.settings",
285284
"title": "%codeWebChat.settings.title%",
286-
"category": "Code Web Chat"
285+
"category": "Code Web Chat",
286+
"icon": "$(settings-gear)"
287287
},
288288
{
289289
"command": "codeWebChat.generateCommitMessage",
@@ -494,7 +494,7 @@
494494
"when": "false"
495495
},
496496
{
497-
"command": "codeWebChat.documentation",
497+
"command": "codeWebChat.visitWebsite",
498498
"when": "false"
499499
},
500500
{
@@ -653,14 +653,19 @@
653653
"group": "navigation@5"
654654
},
655655
{
656-
"command": "codeWebChat.documentation",
656+
"command": "codeWebChat.settings",
657657
"when": "view == codeWebChatView",
658658
"group": "navigation@1"
659659
},
660+
{
661+
"command": "codeWebChat.visitWebsite",
662+
"when": "view == codeWebChatView",
663+
"group": "1_more@1"
664+
},
660665
{
661666
"command": "codeWebChat.openRepository",
662667
"when": "view == codeWebChatView",
663-
"group": "navigation@2"
668+
"group": "1_more@2"
664669
}
665670
],
666671
"scm/title": [

‎apps/editor/package.nls.bg.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeWebChat.redoSelection.title": "Възстанови избора",
99
"codeWebChat.duplicateWorkspace.title": "Дублирай работното пространство",
1010
"codeWebChat.copyContextOpenEditors.title": "Копирай контекста на отворените редактори",
11-
"codeWebChat.documentation.title": "Документация",
11+
"codeWebChat.visitWebsite.title": "Посети уебсайта",
1212
"codeWebChat.openRepository.title": "Дай звезда в GitHub",
1313
"codeWebChat.checkAll.title": "Маркирай всичко",
1414
"codeWebChat.clearChecks.title": "Размаркирай всичко",

‎apps/editor/package.nls.cs.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeWebChat.redoSelection.title": "Znovu výběr",
99
"codeWebChat.duplicateWorkspace.title": "Duplikovat pracovní prostor",
1010
"codeWebChat.copyContextOpenEditors.title": "Kopírovat kontext otevřených editorů",
11-
"codeWebChat.documentation.title": "Dokumentace",
11+
"codeWebChat.visitWebsite.title": "Navštívit webovou stránku",
1212
"codeWebChat.openRepository.title": "Dát hvězdičku na GitHubu",
1313
"codeWebChat.checkAll.title": "Vybrat vše",
1414
"codeWebChat.clearChecks.title": "Zrušit výběr",

‎apps/editor/package.nls.de.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeWebChat.redoSelection.title": "Auswahl wiederherstellen",
99
"codeWebChat.duplicateWorkspace.title": "Arbeitsbereich duplizieren",
1010
"codeWebChat.copyContextOpenEditors.title": "Kontext geöffneter Editoren kopieren",
11-
"codeWebChat.documentation.title": "Dokumentation",
11+
"codeWebChat.visitWebsite.title": "Website besuchen",
1212
"codeWebChat.openRepository.title": "Auf GitHub mit Stern versehen",
1313
"codeWebChat.checkAll.title": "Alle auswählen",
1414
"codeWebChat.clearChecks.title": "Auswahl aufheben",

‎apps/editor/package.nls.es.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeWebChat.redoSelection.title": "Rehacer selección",
99
"codeWebChat.duplicateWorkspace.title": "Duplicar espacio de trabajo",
1010
"codeWebChat.copyContextOpenEditors.title": "Copiar contexto de editores abiertos",
11-
"codeWebChat.documentation.title": "Documentación",
11+
"codeWebChat.visitWebsite.title": "Visitar sitio web",
1212
"codeWebChat.openRepository.title": "Dar estrella en GitHub",
1313
"codeWebChat.checkAll.title": "Marcar todo",
1414
"codeWebChat.clearChecks.title": "Desmarcar todo",

‎apps/editor/package.nls.fr.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeWebChat.redoSelection.title": "Rétablir la sélection",
99
"codeWebChat.duplicateWorkspace.title": "Dupliquer l'espace de travail",
1010
"codeWebChat.copyContextOpenEditors.title": "Copier le contexte des éditeurs ouverts",
11-
"codeWebChat.documentation.title": "Documentation",
11+
"codeWebChat.visitWebsite.title": "Visiter le site web",
1212
"codeWebChat.openRepository.title": "Ajouter une étoile sur GitHub",
1313
"codeWebChat.checkAll.title": "Tout cocher",
1414
"codeWebChat.clearChecks.title": "Tout décocher",

‎apps/editor/package.nls.hu.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeWebChat.redoSelection.title": "Kiválasztás újraismétlése",
99
"codeWebChat.duplicateWorkspace.title": "Munkaterület duplikálása",
1010
"codeWebChat.copyContextOpenEditors.title": "Nyitott szerkesztők kontextusának másolása",
11-
"codeWebChat.documentation.title": "Dokumentáció",
11+
"codeWebChat.visitWebsite.title": "Weboldal felkeresése",
1212
"codeWebChat.openRepository.title": "Csillagozás a GitHubon",
1313
"codeWebChat.checkAll.title": "Összes kijelölése",
1414
"codeWebChat.clearChecks.title": "Kijelölések törlése",

‎apps/editor/package.nls.it.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeWebChat.redoSelection.title": "Ripeti selezione",
99
"codeWebChat.duplicateWorkspace.title": "Duplica area di lavoro",
1010
"codeWebChat.copyContextOpenEditors.title": "Copia contesto degli editor aperti",
11-
"codeWebChat.documentation.title": "Documentazione",
11+
"codeWebChat.visitWebsite.title": "Visita il sito web",
1212
"codeWebChat.openRepository.title": "Aggiungi una stella su GitHub",
1313
"codeWebChat.checkAll.title": "Seleziona tutto",
1414
"codeWebChat.clearChecks.title": "Deseleziona tutto",

‎apps/editor/package.nls.ja.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeWebChat.redoSelection.title": "選択をやり直す",
99
"codeWebChat.duplicateWorkspace.title": "ワークスペースを複製",
1010
"codeWebChat.copyContextOpenEditors.title": "開いているエディターのコンテキストをコピー",
11-
"codeWebChat.documentation.title": "ドキュメント",
11+
"codeWebChat.visitWebsite.title": "ウェブサイトにアクセス",
1212
"codeWebChat.openRepository.title": "GitHubでスターをつける",
1313
"codeWebChat.checkAll.title": "すべて選択",
1414
"codeWebChat.clearChecks.title": "選択をクリア",

‎apps/editor/package.nls.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeWebChat.redoSelection.title": "Redo Selection",
99
"codeWebChat.duplicateWorkspace.title": "Duplicate Workspace",
1010
"codeWebChat.copyContextOpenEditors.title": "Copy Context of Open Editors",
11-
"codeWebChat.documentation.title": "Documentation",
11+
"codeWebChat.visitWebsite.title": "Visit Website",
1212
"codeWebChat.openRepository.title": "Star on GitHub",
1313
"codeWebChat.checkAll.title": "Check All",
1414
"codeWebChat.clearChecks.title": "Clear Checks",

0 commit comments

Comments
 (0)