You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor extension handling by removing explicit imports and implementing automatic side-effect imports via Vite plugin. Update documentation to reflect changes in extension management.
Copy file name to clipboardExpand all lines: packages/app-e2e/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Minimal Docks shell for Playwright only (not the public demo app in `packages/ap
21
21
Entry is [src/main.ts](./src/main.ts): `registerApp` plus auxiliary/toolbar contributions as specs require.
22
22
23
23
-**Extensions:** list them in `AppDefinition.extensions` (e.g. `@eclipse-docks/extension-ai-system`, `@eclipse-docks/extension-monaco-editor` for workspace file editing in E2E).
24
-
-**Static side-effect import:**[src/extensions.ts](./src/extensions.ts)loads the AI extension’s registration module **before**`main.ts`registers E2E auxiliary tabs so order is **`[aiview, …e2e tabs]`**. That avoids`wa-tab-group` “first tab” fallbacks being mistaken for successful `coupledEditors` coupling.
24
+
-**Side-effect imports:**[vite.config.ts](./vite.config.ts) uses `resolveDepVersionsPlugin()` (automatic `@eclipse-docks/extension-*` side-effect imports are on by default). [src/main.ts](./src/main.ts)additionally imports the in-repo [`extension-ai-system/src/ai-system-extension.ts`](../../packages/extension-ai-system/src/ai-system-extension.ts) so that registration runs after the package entry and **before**the rest of `main.ts`adds E2E auxiliary tabs — order **`[aiview, …e2e tabs]`** — avoiding`wa-tab-group` “first tab” fallbacks being mistaken for successful `coupledEditors` coupling.
0 commit comments