Repository navigation
Windowed tables: the app-driven window; the UI5 frontend from bundle/webapp - #20
Merged
Merged
Conversation
… 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two commits.
1. The UI5 adapter finds the frontend in
bundle/webappas well asapp/webapp(5592ada). It starts abundle/webappfrontend the way the embed control does.2. The app-driven window of abap2UI5 (
26d7908, abap2UI5/abap2UI5 PR from branchDEV-PRE):spec/windowed-tables.mdis rewritten.{TOTAL, COUNT, SIZE, EVENT}.[path, event, reason, skip, top]; SORT and FILTER add the sorters and the filter.r_event_data, and the app owns order, filter and count.versioning.mdwould call this breaking. That is for the maintainer to decide.window.*checks replace the 13 old ones.test/lib/expected.mjsandBACKEND_TRAFFIC_APART.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-runtime1.149.0, and the UI5 job pins an older frontend commit. abap2UI5's own conformance jobs pin26d7908.Generated by Claude Code