Commit 7e08a15
refactor: Migrate webviews from React 16 + react-bootstrap to React 19 + @vscode-elements/elements (#1616)
* Migrate webviews from React 16 + react-bootstrap to React 19 + @vscode-elements/elements
- Upgrade React 16.14.0 to React 19.x with react-jsx transform
- Replace deprecated @vscode/webview-ui-toolkit with @vscode-elements/elements (Lit-based)
- Replace react-bootstrap components with native HTML + custom SCSS
- Add custom Bootstrap-equivalent utility classes in vscode.scss
- Add TypeScript declarations for vscode-elements web components
- Migrate all webview entry points to React 19 createRoot API
- Convert class components to functional components
- Update webpack config for React 19 compatibility
- Fix tas-client version compatibility (override to ~0.2.33)
* fix: derive AWT action at render time without mutating shared groups array
* fix: add fallback for --design-unit CSS variable
@vscode-elements/elements does not define --design-unit (was provided
by @vscode/webview-ui-toolkit). Add fallback value of 4 so spacing
utilities (mr-*, ml-*, pt-*, etc.) resolve correctly.
* fix(test-plans): use self-contained Maven fixture for resolve-unknown-type plan (#1617)
The plan previously pointed at redhat-developer/vscode-java's salut Maven fixture, which configures maven-compiler-plugin with <source>1.7</source>/<target>1.7</target>. On the CI runners (which install only JDK 21) this puts the workspace in a state where JDT reports compliance warnings on the pom but skips full semantic analysis on the Java source -- the inserted `Gson gson;` field never produces a `Gson cannot be resolved to a type` diagnostic, so navigateToError can never find the error and applyCodeAction `Resolve unknown type` is unreachable.
Older versions of @vscjava/vscode-autotest masked this failure mode by silently pressing Enter on whatever the first Code Action happened to be; once that fallback was removed upstream the plan started reliably failing in scheduled runs (e.g. actions/runs/25419116469).
Add a minimal self-owned Maven fixture under test-fixtures/maven-resolve-type that explicitly targets JDK 11 (<release>11</release>), matching the JDK installed by the workflow. Locally this brings navigateToError from a 30s timeout to ~8s and the full plan to 6/6 passing.
Co-authored-by: copilot <copilot@local>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: chagong <831821+chagong@users.noreply.github.com>
* ci: add autotest cases (#1619)
Co-authored-by: chagong <831821+chagong@users.noreply.github.com>
---------
Co-authored-by: wenyt <75360946+wenytang-ms@users.noreply.github.com>
Co-authored-by: copilot <copilot@local>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: chagong <831821+chagong@users.noreply.github.com>1 parent 32fdaab commit 7e08a15
57 files changed
Lines changed: 2308 additions & 2027 deletions
File tree
- src
- assets
- beginner-tips/assets
- tabs
- formatter-settings/assets
- features/formatterSettings
- components
- install-jdk/assets
- features
- components
- java-runtime/assets
- components
- project-settings/assets
- classpath
- features
- components
- compiler/features
- components
- mainpage/features
- component
- maven/features
- components
- welcome/assets
- components
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
351 | | - | |
352 | | - | |
| 350 | + | |
| 351 | + | |
353 | 352 | | |
354 | 353 | | |
355 | 354 | | |
| |||
379 | 378 | | |
380 | 379 | | |
381 | 380 | | |
382 | | - | |
383 | | - | |
384 | | - | |
| 381 | + | |
| 382 | + | |
385 | 383 | | |
386 | | - | |
387 | 384 | | |
388 | 385 | | |
389 | | - | |
| 386 | + | |
390 | 387 | | |
391 | 388 | | |
392 | 389 | | |
393 | 390 | | |
394 | 391 | | |
395 | 392 | | |
396 | 393 | | |
397 | | - | |
| 394 | + | |
398 | 395 | | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
403 | 399 | | |
404 | 400 | | |
405 | 401 | | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
406 | 405 | | |
407 | 406 | | |
0 commit comments