Skip to content

List sap.ui.codeeditor in every example's UI5 configuration - #10

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/wonderful-gauss-qsazcw
Oct 1, 2026
Merged

oblomov-dev merged 1 commit into
mainfrom
claude/wonderful-gauss-qsazcw

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

What changes

  • Every ui5.yaml, ui5-local.yaml and ui5-1.71.yaml of the four examples lists sap.ui.codeeditor under framework.libraries, with the reason as a comment next to the list.
  • The root README ("Run the examples") and freestyle/README.md ("Run it") say what the library list has to carry.

Why

ui5 serve serves only the libraries framework.libraries names. abap2UI5's developer tools (Ctrl+F12 in an embedded app) load sap/ui/codeeditor/CodeEditor, which none of the examples listed - the dev server answered 404 and the tools failed with DeveloperTools.show failed - ModuleError: failed to load 'sap/ui/codeeditor/CodeEditor.js'. Seen while running the freestyle example against a system. A deployed app is not affected, the system has every library.

Checked

  • npm run lint, npm run format:check
  • npx playwright test --project ui5-1.136 --project ui5-1.71 --project card against @abap2ui5/node-runtime 1.146.0, with the control of abap2UI5/embed-control's main in node_modules as its CI does: 55 passed, 1 skipped. With the published control 0.1.1, 14 tests of freestyle.spec.mjs fail independently of this change (they test restart(), invisible containers and refused endpoints, which the published version does not have yet).
  • Pressed Ctrl+F12 in the embedded hello world app, served with and without the library: without it the script load error, with it the dialog "abap2UI5 - Developer Tools - Z2UI5_CL_UI5_APP_HI_WORLD".
  • The Fiori elements projects could not be run here (SAPUI5 is not reachable from the sandbox).

🤖 Generated with Claude Code

https://claude.ai/code/session_01FVEXYcCLJmoHyetpCT57uv


Generated by Claude Code

ui5 serve serves only the libraries framework.libraries names, and
abap2UI5's developer tools (Ctrl+F12 in an embedded app) require
sap/ui/codeeditor/CodeEditor - without the library the dev server answers
404 and the tools fail with a script load error. Every ui5.yaml,
ui5-local.yaml and ui5-1.71.yaml lists it now, with the reason next to the
list; the READMEs say what the list has to carry.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FVEXYcCLJmoHyetpCT57uv
@oblomov-dev
oblomov-dev merged commit 9ade7de into main Oct 1, 2026
2 of 4 checks passed
@oblomov-dev
oblomov-dev deleted the claude/wonderful-gauss-qsazcw branch October 1, 2026 22:00
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