Skip to content

add webview to install new JDK - #803

Merged
Yan Zhang (Eskibear) merged 4 commits into
mainfrom
webview-install-jdk
Nov 10, 2021
Merged

Yan Zhang (Eskibear) merged 4 commits into
mainfrom
webview-install-jdk

Conversation

@Eskibear

Copy link
Copy Markdown
Member

For this webview, there are some differences in implementation:

  • use webview-ui-toolkit for consistent styling with vscode core.
  • use inline html referencing a bundled .js file (a index.js instead of index.html)

@Eskibear

Copy link
Copy Markdown
Member Author

Demo:

install-jdk-webview.mp4

@Eskibear Yan Zhang (Eskibear) added this to the 0.19.0 milestone Nov 10, 2021
Comment thread src/install-jdk/asset/app/hooks.ts Resolved
Comment thread src/install-jdk/asset/App.tsx Resolved
Comment thread src/install-jdk/index.ts Resolved
@jdneo

Copy link
Copy Markdown
Member

I got error Error: Webview is disposed when

  1. Open runtime page
  2. Open download page
  3. Close download page
  4. Close runtime page

Comment thread src/install-jdk/constants.ts Resolved
Signed-off-by: Yan Zhang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants