Skip to content

Commit c2a7e13

Browse files
committed
Add command to install a specific version of the extension
- create 'install specific version...' command. should query the tag endpoint (go through all pages) and list found *-vscode versions [Pasted text], upon selection should run the installation scripts with a sha flag, so they clone at the specific commit. - the quick pick with versions should be titled 'Versions' - the notification 'no versions found' shold be a warning to try again later (Something went wrong. Try again later.) (as should always have versions) - the listed versions should estimate their age for description based on the calVer. For 0 days, use 'today'. - in `apps/editor/src/commands/install-specific-version-command.ts` use also months for older versions. Each item should also have a link to release page, e.g. `https://github.com/CodeWebChat/CWC/releases/tag/2026.1103.351-vscode` - day ago, month ago etc should be translated - in `apps/editor/src/commands/install-specific-version-command.ts` translate [Fragment], add close button in top right corner, prevent closing by outside clicks - once clicked 'open release page' the item should become highlighted - for links in quick pick, should use 'globe', not 'link-external' ├── README.md ├── apps │ └── editor │ ├── package.json │ ├── package.nls.bg.json │ ├── package.nls.cs.json │ ├── package.nls.de.json │ ├── package.nls.es.json │ ├── package.nls.fr.json │ ├── package.nls.hu.json │ ├── package.nls.it.json │ ├── package.nls.ja.json │ ├── package.nls.json │ ├── package.nls.ko.json │ ├── package.nls.pl.json │ ├── package.nls.pt-br.json │ ├── package.nls.ru.json │ ├── package.nls.tr.json │ ├── package.nls.zh-cn.json │ ├── package.nls.zh-tw.json │ └── src │ ├── commands │ │ ├── check-for-updates-command.ts │ │ ├── history-command │ │ │ └── history-command.ts │ │ ├── index.ts │ │ └── install-specific-version-command.ts │ ├── extension.ts │ ├── i18n │ │ ├── index.ts │ │ └── translations │ │ ├── commands │ │ │ ├── check-for-updates-command.ts │ │ │ ├── index.ts │ │ │ └── install-specific-version-command.ts │ │ └── common.ts │ └── utils │ ├── check-for-updates.ts │ └── update-extension.ts ├── install.ps1 ├── install.sh └── packages └── ui ├── package.json └── src ├── components │ └── editor │ └── prompt-view │ ├── Responses │ │ └── Responses.tsx │ └── Tasks │ └── Tasks.tsx └── hooks └── use-dayjs-locale.ts
1 parent ed110dc commit c2a7e13

26 files changed

Lines changed: 420 additions & 12 deletions

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@ Respond with the audio transcription or the word INAUDIBLE, without explanations
578578

579579
- `CWC: Duplicate Workspace` - Copy the extension's state in a new window.
580580
- `CWC: Check for Updates` - Check for extension updates.
581+
- `CWC: Install Specific Version...` - Install a specific version of the extension.
581582

582583
## Building from source
583584

‎apps/editor/package.json‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,11 @@
437437
"command": "codeWebChat.checkForUpdates",
438438
"title": "%codeWebChat.checkForUpdates.title%",
439439
"category": "%codeWebChat.category%"
440+
},
441+
{
442+
"command": "codeWebChat.installSpecificVersion",
443+
"title": "%codeWebChat.installSpecificVersion.title%",
444+
"category": "%codeWebChat.category%"
440445
}
441446
],
442447
"submenus": [
@@ -802,6 +807,11 @@
802807
"command": "codeWebChat.checkForUpdates",
803808
"when": "view == promptView",
804809
"group": "2_more@1"
810+
},
811+
{
812+
"command": "codeWebChat.installSpecificVersion",
813+
"when": "view == promptView",
814+
"group": "2_more@2"
805815
}
806816
],
807817
"scm/title": [

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@
6060
"codeWebChat.selectParentFolder.title": "Избери родителска папка...",
6161
"codeWebChat.copyMergeCommitDetails.title": "Копиране на детайлите на обединените къмити",
6262
"codeWebChat.checkForUpdates.title": "Проверка за актуализации...",
63+
"codeWebChat.installSpecificVersion.title": "Инсталирай специфична версия...",
6364
"codeWebChat.category": "CWC"
6465
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@
6060
"codeWebChat.selectParentFolder.title": "Vybrat nadřazenou složku...",
6161
"codeWebChat.copyMergeCommitDetails.title": "Kopírovat podrobnosti sloučených commitů",
6262
"codeWebChat.checkForUpdates.title": "Zkontrolovat aktualizace...",
63+
"codeWebChat.installSpecificVersion.title": "Nainstalovat konkrétní verzi...",
6364
"codeWebChat.category": "CWC"
6465
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@
6060
"codeWebChat.selectParentFolder.title": "Übergeordneten Ordner auswählen...",
6161
"codeWebChat.copyMergeCommitDetails.title": "Details der zusammengefassten Commits kopieren",
6262
"codeWebChat.checkForUpdates.title": "Nach Updates suchen...",
63+
"codeWebChat.installSpecificVersion.title": "Bestimmte Version installieren...",
6364
"codeWebChat.category": "CWC"
6465
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@
6060
"codeWebChat.selectParentFolder.title": "Seleccionar carpeta principal...",
6161
"codeWebChat.copyMergeCommitDetails.title": "Copiar detalles de commits agrupados",
6262
"codeWebChat.checkForUpdates.title": "Buscar actualizaciones...",
63+
"codeWebChat.installSpecificVersion.title": "Instalar versión específica...",
6364
"codeWebChat.category": "CWC"
6465
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@
6060
"codeWebChat.selectParentFolder.title": "Sélectionner le dossier parent...",
6161
"codeWebChat.copyMergeCommitDetails.title": "Copier les détails des commits fusionnés",
6262
"codeWebChat.checkForUpdates.title": "Vérifier les mises à jour...",
63+
"codeWebChat.installSpecificVersion.title": "Installer une version spécifique...",
6364
"codeWebChat.category": "CWC"
6465
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@
6060
"codeWebChat.selectParentFolder.title": "Szülő mappa kiválasztása...",
6161
"codeWebChat.copyMergeCommitDetails.title": "Egyesített commit részletek másolása",
6262
"codeWebChat.checkForUpdates.title": "Frissítések keresése...",
63+
"codeWebChat.installSpecificVersion.title": "Konkrét verzió telepítése...",
6364
"codeWebChat.category": "CWC"
6465
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@
6060
"codeWebChat.selectParentFolder.title": "Seleziona cartella superiore...",
6161
"codeWebChat.copyMergeCommitDetails.title": "Copia i dettagli dei commit uniti",
6262
"codeWebChat.checkForUpdates.title": "Controlla aggiornamenti...",
63+
"codeWebChat.installSpecificVersion.title": "Installa versione specifica...",
6364
"codeWebChat.category": "CWC"
6465
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@
6060
"codeWebChat.selectParentFolder.title": "親フォルダーを選択...",
6161
"codeWebChat.copyMergeCommitDetails.title": "マージされたコミットの詳細をコピー",
6262
"codeWebChat.checkForUpdates.title": "更新を確認...",
63+
"codeWebChat.installSpecificVersion.title": "特定のバージョンをインストール...",
6364
"codeWebChat.category": "CWC"
6465
}

0 commit comments

Comments
 (0)