Skip to content

Refactor client action calls to use gen() method#629

Merged
oblomov-dev merged 1 commit into
standardfrom
claude/kind-albattani-8Z2WO
Jun 5, 2026
Merged

Refactor client action calls to use gen() method#629
oblomov-dev merged 1 commit into
standardfrom
claude/kind-albattani-8Z2WO

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Summary

Updated all demo app classes to use the new client->action->gen() method signature instead of the direct client->action() call. This refactoring standardizes the action invocation pattern across the codebase.

Changes

  • Refactored action calls: Changed all instances of client->action(...) to client->action->gen(...) across 16 demo app classes
  • Updated documentation strings: Modified UI5 tile descriptions in the main demo app to reflect the new method signature
  • Affected classes:
    • z2ui5_cl_demo_app_362 (scroll actions)
    • z2ui5_cl_demo_app_189 (focus actions)
    • z2ui5_cl_demo_app_352 (keyboard mode actions)
    • z2ui5_cl_demo_app_s_03 (audio playback)
    • z2ui5_cl_demo_app_lp_02 (launchpad title)
    • z2ui5_cl_demo_app_000 (documentation)
    • z2ui5_cl_demo_app_129 (timer actions)
    • z2ui5_cl_demo_app_202 (wizard navigation)
    • z2ui5_cl_demo_app_315 (OData model setup)
    • z2ui5_cl_demo_app_320 (popover navigation)
    • z2ui5_cl_demo_app_325 (clipboard actions)
    • z2ui5_cl_demo_app_353 (timer and focus)
    • z2ui5_cl_demo_app_309 (custom JavaScript)
    • z2ui5_cl_demo_app_180 (new tab opening)
    • z2ui5_cl_demo_app_028 (timer)
    • z2ui5_cl_demo_app_071 (size limit)
    • z2ui5_cl_demo_app_121 (timer)
    • z2ui5_cl_demo_app_125 (title setting)
    • z2ui5_cl_demo_app_133 (focus with selection)
    • z2ui5_cl_demo_app_186 (file download)
    • z2ui5_cl_demo_app_323 (clipboard app state)
    • z2ui5_cl_demo_app_363 (scroll into view)

Implementation Details

All action invocations maintain the same parameter structure (val and t_arg). The change is purely a method call refactoring to align with the updated client API interface.

https://claude.ai/code/session_0123tcSwjTWxoGTG6YossyaN

Adapt all demo apps to the new z2ui5_if_action interface: the client `action`
method was replaced by an `action` interface reference exposing a `gen( )`
method with the same signature. Calls now use `client->action->gen( )`.

Note: abaplint reports these calls until the corresponding abap2UI5 framework
change (new z2ui5_if_action interface) is merged into the default branch the
samples lint against.

https://claude.ai/code/session_0123tcSwjTWxoGTG6YossyaN
@oblomov-dev oblomov-dev merged commit 2063b80 into standard Jun 5, 2026
2 of 6 checks passed
@oblomov-dev oblomov-dev deleted the claude/kind-albattani-8Z2WO branch June 5, 2026 11:53
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