Repository navigation
Commit c2a7e13
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.ts1 parent ed110dc commit c2a7e13
26 files changed
Lines changed: 420 additions & 12 deletions
File tree
- apps/editor
- src
- commands
- i18n/translations/commands
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
| 581 | + | |
581 | 582 | | |
582 | 583 | | |
583 | 584 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
440 | 445 | | |
441 | 446 | | |
442 | 447 | | |
| |||
802 | 807 | | |
803 | 808 | | |
804 | 809 | | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
805 | 815 | | |
806 | 816 | | |
807 | 817 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
0 commit comments