Skip to content

Windowed tables: the app-driven window; the UI5 frontend from bundle/webapp - #20

Merged
oblomov-dev merged 3 commits into
mainfrom
claude/brave-lovelace-kzlhdf
Nov 22, 2026
Merged

oblomov-dev merged 3 commits into
mainfrom
claude/brave-lovelace-kzlhdf

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Two commits.

1. The UI5 adapter finds the frontend in bundle/webapp as well as app/webapp (5592ada). It starts a bundle/webapp frontend the way the embed control does.

2. The app-driven window of abap2UI5 (26d7908, abap2UI5/abap2UI5 PR from branch DEV-PRE):

  • Spec: spec/windowed-tables.md is rewritten.
    • The window state is {TOTAL, COUNT, SIZE, EVENT}.
    • The window request is [path, event, reason, skip, top]; SORT and FILTER add the sorters and the filter.
    • The backend runs the app's event with the request in r_event_data, and the app owns order, filter and count.
    • Edits are plain table rows.
    • Schemas, profiles and the open questions follow. Open question 14: the protocol number stays 2, although versioning.md would call this breaking. That is for the maintainer to decide.
  • Conformance app WINDOW is rewritten in ABAP and as the cap2UI5 twin.
  • Backend checks: eight window.* checks replace the 13 old ones.
  • Frontend checks: the frontend window checks follow.
  • Traffic is re-recorded.
  • Pinned:
    • cap2UI5 (plugin 0.6.0 hosts the 1.149.0 runtime): its window checks are pinned in test/lib/expected.mjs and BACKEND_TRAFFIC_APART.
    • The vendored agent client (mcp-server 8efb3d7) still sends the old window request: pinned as a finding in RESULTS.md.

npm test: 90/90 locally, with the framework branch's runtime. Backend suite node-runtime 86/86, frontend ui5 82 passed, 4 skipped.

CI here is red until abap2UI5 releases the new window. It installs the published @abap2ui5/node-runtime 1.149.0, and the UI5 job pins an older frontend commit. abap2UI5's own conformance jobs pin 26d7908.


Generated by Claude Code

… control does

abap2UI5 moved its frontend to bundle/webapp: it is the source of the
bundle the embed control loads, created through the bundle's core/Embed.js
with the endpoint and ownsPage - checkLocal is gone. The ui5 adapter and
the Node loader look for bundle/webapp first and app/webapp after it, and
the boot page starts a bundle/webapp frontend with the component data the
control hands it on abap2UI5's own page. An app/webapp checkout boots as
before.

Checked: the frontend suite with the ui5 adapter against the abap2UI5
branch DEV - 81 passed, 0 failed, 4 skipped; npm test 89 pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmEAFUJQM8c8aDK1d6U
abap2UI5 replaced the server-side window of 1.149.0 by an app-driven one
(branch DEV, 186f2c9b): the app loads, sorts, filters and counts the rows
itself, the list binding's requests reach it as its own event with the
request in get( )-r_event_data, and the backend keeps no order.

- spec/windowed-tables.md rewritten from the DEV sources (window state
  with EVENT and TOTAL read anew, the window request [path, event, reason,
  skip, top, sort, filter], the app's event, plain-row edits, frontend
  rules); request/response/sessions/core, the UI5, semantic and portable
  profiles follow; [WIN], [WM] and the new [WT] in spec/README.md.
- Protocol 2 stays as in the branch; new open question 14 records that
  versioning.md would call the change breaking. Open questions 12, 13
  updated.
- Schemas: the new window request; a window state is told by SIZE and
  may carry EVENT (the reference omits a TOTAL or COUNT of 0).
- Conformance app WINDOW (ABAP and cap2UI5 twin) loads its rows itself
  and echoes what it was handed; eight backend window checks replace
  thirteen; frontend checks window.edit-row-shown and ui5.window-no-event,
  the ui5.window-* checks with the new arguments.
- Traffic recorded again: node-runtime on a runtime built from the
  branch (86/86) and its bundle/webapp; cap2ui5 (plugin 0.6.0 on 1.149.0)
  cannot start the app WINDOW - its window checks pinned and kept apart.
  The recorder's UI5 page stand-in sets ownsPage and refreshes the list
  binding on every model push.
- Finding: the vendored agent client (mcp-server 8efb3d7) sends the
  window request of 1.149.0 - recorded as malformed, its failing
  semantic.recorded-snapshots pinned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmEAFUJQM8c8aDK1d6U
Brings main's table behind a data reference (#15, #17), cap2UI5 0.7.0
(#18), the node-runtime host and CI's UI5 frontend on 1.150.0 (#19) and
the Web Components rename (#16) together with the app-driven window, which
abap2UI5 merged to main with 694fb262 (#3032).

- Spec: the window cites abap2UI5 main 694fb262 (app/webapp); main's
  reference rules adapted - a __delta on /<attr>/* of a windowed table
  names plain rows, a whole value there is written. Main's open question
  14 (resolved) kept; the protocol-number question renumbered to 15.
- Apps: the windowed table behind a data reference moved from REF into
  WINDOW (MR_WIN, event WIN), so REF builds on every runtime; checks
  window.delta-rows-reference and window.edit-row-shown-reference (on the
  recorded MR_WIN) replace the position-based ones.
- Released hosts have no app-driven window: node-runtime 1.150.0 leaves
  the app WINDOW out of its build and lint:abap (scripts/lint-abap.mjs),
  cap2UI5 0.7.0 refuses its window_bind_tab( ). Their eight MUST window
  checks and window.request-bounds are pinned with the fix "abap2UI5 main
  694fb262, the next release after 1.150.0" - for node-runtime only when
  the installed runtime lacks cs_window_reason; the UI5 SPA's three
  ui5.window-* checks are pinned for a checkout without the app-driven
  WindowModel.js (CI's af05dce).
- Traffic recorded with node-runtime on a runtime built from 694fb262 and
  its app/webapp, cap2UI5 on 0.7.0; traffic.test reads the pins of the
  recording (RECORDED_FAILURES). npm test is green on the released
  packages (CI) and on the main runtime.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmEAFUJQM8c8aDK1d6U
@oblomov-dev
oblomov-dev merged commit f592b16 into main Nov 22, 2026
3 checks passed
@oblomov-dev
oblomov-dev deleted the claude/brave-lovelace-kzlhdf branch November 22, 2026 12:05
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