Skip to content

Migrate control/binding calls to follow_up_action API - #686

Merged
oblomov-dev merged 2 commits into
standardfrom
claude/follow-up-action-control-methods-0bjuh4
Jul 19, 2026
Merged

Migrate control/binding calls to follow_up_action API#686
oblomov-dev merged 2 commits into
standardfrom
claude/follow-up-action-control-methods-0bjuh4

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Summary

Refactor four demo apps to use the unified follow_up_action() API with cs_event constants instead of the deprecated control_call(), control_call_by_id(), and binding_call_by_id() methods.

Changes

  • z2ui5_cl_demo_app_446: Migrate control_call() to follow_up_action( cs_event-control_global ) for MessageToast, MessageBox, and Theming operations
  • z2ui5_cl_demo_app_447: Migrate control_call_by_id() to follow_up_action( cs_event-control_by_id ) for focus and scroll operations
  • z2ui5_cl_demo_app_448: Migrate control_call_by_id() to follow_up_action( cs_event-control_by_id ) for panel expansion
  • z2ui5_cl_demo_app_449: Migrate control_call_by_id() to follow_up_action( cs_event-control_by_id ) for PDF viewer
  • z2ui5_cl_demo_app_454: Migrate binding_call_by_id() to follow_up_action( cs_event-binding_call ) for list filtering and sorting
  • Update all related UI titles and help text to reference the new API
  • Update AGENTS.md documentation to reflect the new unified API approach

Implementation Details

  • All t_arg parameters use positional arguments as documented in inline comments
  • For control_by_id calls: (id, view, method, [params...])
  • For control_global calls: (object, method, [params...])
  • For binding_call calls: (id, aggregation, method, [params...])
  • Empty string '' used for global view lookup in control_by_id operations

https://claude.ai/code/session_01Y3dtkgTSRc98yDRUUDVd1q

claude added 2 commits July 19, 2026 19:29
…ing call methods

The framework consolidates control_call, control_call_by_id and
binding_call_by_id into follow_up_action with the new cs_event constants
control_global, control_by_id and binding_call. Migrate demo apps 446-449
and 454 to the event-based calls and update titles/strip texts and the
AGENTS.md capability-marker description accordingly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y3dtkgTSRc98yDRUUDVd1q
…ve demo app 001

Apps 088 and 170 wire NavContainer tab navigation directly to the generic
cs_event-control_by_id client event (whitelisted method 'to') instead of the
legacy *_nav_container_to remap events. App 202 expresses the wizard step flow
as two generic control calls (discardProgress + setNextStep, whitelisted
upstream) instead of the dedicated WIZARD_SET_NEXT_STEP event.

Remove z2ui5_cl_demo_app_001 (Binding - Level Simple) including its overview
tile (catalog regenerated via npm run launchpad) and the dead
BUTTON_CHANGE_APP handler in app 025 that navigated to it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y3dtkgTSRc98yDRUUDVd1q
@oblomov-dev
oblomov-dev merged commit a94f536 into standard Jul 19, 2026
3 of 7 checks passed
@oblomov-dev
oblomov-dev deleted the claude/follow-up-action-control-methods-0bjuh4 branch July 19, 2026 19:47
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