Repository navigation
Specification revision 0.5: windowed tables, re-derived from abap2UI5 1.149.0; hosts on node-runtime 1.149.0 and cap2UI5 0.6.0 - #13
Merged
Conversation
- @abap2ui5/node-runtime 1.148.0 -> 1.149.0, @abaplint/transpiler-cli 2.14.5 -> 2.14.33 (the transpiler the package names: abap2ui5.transpiler of 1.149.0); build.mjs and serve.mjs stay as they are - the recipe of 1.148.0 (abap2ui5-transpile, the output's host.mjs) holds - the cap2UI5 host stays on @cap2ui5/cds-plugin 0.5.0 (runtime 1.147.0) - no newer plugin is released - CI: the frontend job pins abap2UI5 6f55b04 (Release 1.149.0), the commit the package was built from Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014YZFmCjdbLvb757NWCFVeA
…, backend and frontend checks, schemas - conformance app Z2UI5_CL_CONF_WINDOW (ABAP, abaplint-clean, and its cap2UI5 twin): twelve rows bound with window_bind_tab( ), four at a time, an app sort and filter, a counter of main( ) calls, two wired BINDING_CALL buttons - thirteen backend checks window.* (11 MUST, 2 SHOULD, core): the first window and /__WINDOW totals, a window request answered without main( ), count bounds, sort, filter groups (ANDed, conditions ORed), a growth request keeps the order after an app sort, a part that is missing, empty or null is kept and [] clears it, the app's filter and the binding's are ANDed, one sort - the last one set, the order travels with the draft, __delta rows are positions in the backend's order, a whole table is refused, a path that is no window is ignored - four frontend checks: window.rows-shown and window.edit-as-delta (core), ui5.window-growth and ui5.window-sort-filter (UI5 profile, a real growing sap.m.Table in Chromium over the recorded answers) - schemas: MODEL.__WINDOW in the response, the arguments of ___ZZZ_WIN in the request - the pins of test/lib/expected.mjs are per backend, failures and warnings: the cap2UI5 host (plugin 0.5.0, runtime 1.147.0) has no window_bind_tab( ) and fails the start of the app - eleven MUST checks pinned as failing, two SHOULD checks and error.details as warning; no check is weakened or skipped for it. run-conformance --expected and the tests read the backend's own list, test/traffic.test.mjs compares the two recordings for every check neither host is pinned apart on - the twin app was run once against cap2UI5 main 0f8d821 with the runtime 1.149.0 in a scratch copy of the host: 90 of 91 pass, one warning (error.details) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014YZFmCjdbLvb757NWCFVeA
- new backend check model.unconvertible-scalar-skipped (SHOULD, core): the attribute keeps its value, the rest of the delta is applied, the roundtrip answers 200 ([MOD] whole_value_trace); both reference hosts pass - the reference skipped such a value before 1.149.0 too, the release documents it (z2ui5_if_client ty_s_model_skip) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014YZFmCjdbLvb757NWCFVeA
…tend's window requests - scripts/lib/ui5-frontend.mjs loads core/WindowModel.js of the checkout (abap2UI5 1.149.0) on stand-ins for the two UI5 classes it extends, and stubs the two modules Server.js imports since 1.149.0 (Offline, Router); the recorder adds the scenario WINDOW: what the frontend's list binding sends for more rows, a sort, a filter and growth inside them, and a cell edit in a sorted window. Left out, with a line, where the backend does not start the app (cap2UI5 0.5.0) or the frontend has no WindowModel - traffic/ recorded from both hosts with the frontend of the release commit 6f55b04 and the agent client of the vendored commit 82b75d8: node-runtime 91 passed; cap2ui5 77 passed, 11 failed, 3 warnings (the pinned ones) - for the 77 checks of revision 0.4 the recording is identical to the one of 1.148.0 on both hosts (draft ids, the version line of the error bodies and the page's ETag normalized), and so are the UI5 frontend's and the agent client's exchanges and snapshots - check lists regenerated (91 backend, 85 frontend checks) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014YZFmCjdbLvb757NWCFVeA
What moved on the wire between the release commits of abap2UI5 1.148.0
(610d9ae) and 1.149.0 (6f55b04), from a scripted diff of the wire-relevant
sources and the recorded traffic. Protocol 2 stays (c_protocol is 2): the
changes are additive.
- new spec/windowed-tables.md: the window state /__WINDOW/<path> (TOTAL,
COUNT, SIZE), the window request ___ZZZ_WIN and its arguments, sorters
and filter groups, the keep / clear rule, the order kept by the backend
with the draft, edits as positions, what a frontend has to do - and per
rule why it is core, UI5 profile or outside the portable profile
- request, response, sessions, versioning, core: the reserved event and
model key, a windowed table in MODEL, the delta rule for a scalar that
does not convert
- actions: SET_APP_FULL_WIDTH, CROSS_APP_NAV_GET_LINKS, the experimental
OFFLINE_QUEUE (it changes when requests are sent, not what is in them);
a ${/PATH} argument is resolved against the model of the slot the
answering app filled; the message box mapping is cited from [MSG]
- transport, navigation: sap-client on the launchpad's roundtrip URL, a
bookmarked draft that cannot be restored (implementation notes, source
only)
- profiles: the UI5 list binding of a windowed table, the removed invisible
custom controls (no schema or profile list named them); the three new
actions excluded from portable v1, window_bind_tab( ) not in portable v1;
rowCount of a snapshot for a windowed table
- open questions 12 (windowed tables as a core part every backend offers)
and 13 (frontends that are not the UI5 frontend) - provisional
- README, RESULTS and CHANGELOG: the results measured on 2026-11-16 -
node-runtime 91 of 91; cap2ui5 77 of 91, the eleven MUST and two SHOULD
checks of the windowed tables pinned (its runtime is 1.147.0), not
conformant at this revision until a newer plugin is released; the UI5 SPA
of 1.149.0 81 pass and 4 skip; agent client 63, Adaptive Cards 68,
terminal 74; what each frontend does with a windowed table
- the vendored agent client is mcp-server 82b75d8 (source.json, since #5) -
README and RESULTS named a4d9f07
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmCjdbLvb757NWCFVeA
…owed tables - @cap2ui5/cds-plugin 0.5.0 -> 0.6.0 (published 2026-11-16), which hosts @abap2ui5/node-runtime 1.149.0 - the runtime of the node-runtime host - and has window_bind_tab( ) and window_get_row( ); the host's lockfile - cap2ui5: 90 of 91 pass, 0 fail, 1 warning (was 77, 11, 3 on 0.5.0, whose runtime 1.147.0 failed the start of the app WINDOW). The eleven failures and two warnings of the windowed tables are unpinned; the pins stay per backend, both failure lists are empty, the one pinned warning is error.details of cap2ui5 (a JavaScript app's exception text is hidden by design). No check was changed - traffic recorded again from both hosts; test/traffic.test.mjs compares every check of the two recordings again, the thirteen window checks included: status, media type and JSON body are identical, and so are the WINDOW exchanges of the UI5 frontend's request code. For the 77 checks of revision 0.4 the cap2UI5 recording equals the one of plugin 0.5.0 - RESULTS, README, CHANGELOG, spec/README: both hosts on the runtime 1.149.0, both conformant (ui5); open question 12 names the fact that changed - two backends offer windowed tables, both hosting the same framework - and stays open Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014YZFmCjdbLvb757NWCFVeA
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.
What
abap2UI5 1.149.0 (2026-11-16) is the first release since revision 0.4 that changes the wire. Six commits:
@abap2ui5/node-runtime1.149.0 (transpiler-cli 2.14.33; the CI frontend job pins the release commit6f55b04).Z2UI5_CL_CONF_WINDOW(ABAP, abaplint-clean) with a cap2UI5 twin, backend and frontend checks, schemas.core/WindowModel.js).spec/windowed-tables.md, profiles, README, RESULTS, CHANGELOG.@cap2ui5/cds-plugin0.6.0 (runtime 1.149.0), which unpins the windowed tables for it.If this is squash-merged: the messages of commits 2 and 5 still describe the cap2UI5 host as pinned on 0.5.0, which commit 6 supersedes — the squash message should say 0.6.0.
The wire, 1.148.0 → 1.149.0
c_protocolis still 2; everything new is additive. For the 77 checks of revision 0.4 the new recordings are identical to the old ones on both hosts.Windowed tables (source, recorded traffic and a real browser):
MODEL.__WINDOW.<path> = { TOTAL, COUNT, SIZE }. The view binding is a plain{/T_ROWS}; only the model marks the table as windowed.___ZZZ_WIN;main( )is not called. Arguments:[path, count],[path, count, sortJSON],[path, count, "", filterJSON];countis cumulative from row 1.""ornullis kept;[]clears it. One sort, the last one set. The app's filter and the binding's filter are ANDed, each replaced only by its own side.__deltarow keys are positions in the backend's order; a whole table value is refused.Also new: the actions
SET_APP_FULL_WIDTH,CROSS_APP_NAV_GET_LINKS,OFFLINE_QUEUE(excluded from the portable profile);${/PATH}action arguments resolve against the model of the slot the answering app filled;sap-clientas a query parameter on a same-origin endpoint; an app-state draft that exists but cannot be restored ends in a 500 instead of the "expired" toast.Rules and checks
window.first-window,.more-rows,.sort,.filter,.growth-keeps-order,.parts-kept-and-cleared,.filters-anded,.sort-last-set,.order-with-the-draft,.delta-positions,.whole-table-refused(MUST);window.count-bounds,window.unknown-path-ignored,model.unconvertible-scalar-skipped(SHOULD).window.rows-shown,window.edit-as-delta(core);ui5.window-growth,ui5.window-sort-filter(UI5 profile, a real growingsap.m.Tablein Chromium).window_bind_tab( )is not in portable v1.Verified (committed tree)
npm run lint:abapPROTOCOL_REQUIRE_BROWSER=1 npm testnpm run generate && git diff --exit-codeerror.details, the known SHOULD)test/traffic.test.mjscompares all 91 checks of the two hosts, the 13window.*ones included: identical on status, media type and JSON body. No failure pin remains for either backend; one warning pin (error.details, cap2UI5).What the other frontends do with a windowed table
The agent client, the Adaptive Cards renderer and the terminal renderer show the window rows as the whole table — no hint that more exist — and send no window requests; cell edits go as
__deltapositions and land in the right row. None of this breaks a rule of this revision; it is recorded in RESULTS.md and is open question 13. The Web Components frontend was not run; from its source it has no__WINDOWor___ZZZ_WINhandling.Not verified
sap-client, the app-state restore error, the offline-queue replay, the${/PATH}slot change,/__WINDOW/…for a table behind a data reference.t_sort/t_filtersemantics on a re-render have no check here.Generated by Claude Code