Skip to content

Commit ca5fdac

Browse files
committed
Point update notification to version-specific VS Code release notes anchor
- 'open changelog' should open at the current tag version, e.g. https://github.com/CodeWebChat/CWC/releases#release-[version]-vscode ├── apps │ └── editor │ ├── package.json │ ├── package.nls.json │ └── src │ ├── commands │ │ ├── install-specific-version-command.ts │ │ └── open-url-command.ts │ ├── extension.ts │ └── views │ └── prompt │ ├── backend │ │ └── utils │ │ └── check-for-updates.ts │ └── frontend │ ├── Home │ │ └── Home.tsx │ ├── hooks │ │ └── use-prompt │ │ └── use-prompt.ts │ └── i18n │ └── translations │ └── home.ts └── packages └── ui └── src └── components └── editor └── prompt-view └── UpdateAvailable └── UpdateAvailable.tsx
1 parent c7d1ee0 commit ca5fdac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/editor/src/views/prompt/frontend/Home

‎apps/editor/src/views/prompt/frontend/Home/Home.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export const Home: React.FC<Props> = (props) => {
192192
e.stopPropagation()
193193
post_message(props.vscode, {
194194
command: 'OPEN_WEBSITE',
195-
url: 'https://github.com/CodeWebChat/CWC/releases'
195+
url: `https://github.com/CodeWebChat/CWC/releases#release-${props.update_info.latest_version}-vscode`
196196
})
197197
}}
198198
>

0 commit comments

Comments
 (0)