Skip to content

README and test comments: the embedded root is a sap.m.NavContainer after abap2UI5 1.147.0 - #17

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/embedded-root-navcontainer
Oct 13, 2026
Merged

oblomov-dev merged 1 commit into
mainfrom
claude/embedded-root-navcontainer

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

What changes

  • README, "Known limitations": the page-wide parts (busy indicator, title, the full-screen sap.m.App root) are now limited to abap2UI5 up to 1.147.0. The release after it leaves them to the host, with a sap.m.NavContainer as the root.
  • test/e2e/card.spec.mjs, test/e2e/freestyle.spec.mjs: the comments on the height tests name sap.m.App as the root up to 1.147.0. The assertions don't change.

Why

abap2UI5/abap2UI5#2913 gives an embedded component a sap.m.NavContainer as its root instead of the full-screen sap.m.App; ownsPage keeps the sap.m.App. The release after 1.147.0 also leaves the busy indicator, the title, the favicon and the "leave page?" prompt to the host (abap2UI5, 2026-10-12).

The tests hold on both releases:

  • the NavContainer sets no heights at all;
  • the sap.m.Shell of the example apps still walks up the DOM;
  • the control's data-sap-ui-root-content marker stops that walk as before.

The matching docs change in the control is abap2UI5/embed-control#30. Both should be merged after abap2UI5/abap2UI5#2913.

Checked

  • npm run lint: clean.
  • npm run format:check: all files in Prettier style.
  • Docs and comments only, so I didn't run npm run build or the e2e tests.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GPMAtn6BycCF2mKRUHGpek


Generated by Claude Code

…fter abap2UI5 1.147.0

abap2UI5/abap2UI5#2913 gives an embedded component a sap.m.NavContainer
as its root; the release after 1.147.0 also leaves the busy indicator and
the title to the host. The known limitations and two e2e comments said
sap.m.App is the root on every release. The tests themselves hold on
both: the control's root-content marker still stops sap.m.Shell's walk.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GPMAtn6BycCF2mKRUHGpek
@oblomov-dev
oblomov-dev merged commit 2c7a076 into main Oct 13, 2026
2 of 4 checks passed
@oblomov-dev
oblomov-dev deleted the claude/embedded-root-navcontainer branch October 13, 2026 13:03
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