Skip to content

Add four samples for the new frontend capabilities - #697

Merged
oblomov-dev merged 1 commit into
standardfrom
claude/ai-demokit-pr-cleanup-t7ulhb
Jul 28, 2026
Merged

Add four samples for the new frontend capabilities#697
oblomov-dev merged 1 commit into
standardfrom
claude/ai-demokit-pr-cleanup-t7ulhb

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

One sample per capability added to the framework (abap2UI5 PR "implement the five open ai-demokit framework requests"), all in Basic II (src/01/02) and marked (A) as frontend-action demos:

  • 471 Keyboard Shortcuts: Ctrl+S / Ctrl+D fire the backend events SAVE and DELETE via cs_event-keyboard_shortcut; a button registers and unregisters them again, a list logs what was triggered.
  • 472 Link with preventDefault: a sap.m.Link whose press is registered with s_ctrl-check_prevent_default, so the browser does not follow the href and the backend decides instead. A switch rebuilds the view with the flag off to compare both behaviours.
  • 473 Menu Item Path: a nested sap.m.Menu whose itemSelected toasts the full breadcrumb of the selected item ("Create New Site > Official Store"), resolved client-side by $controller.textPath( ) - no roundtrip.
  • 474 MessagePopover URL Policy: messages carrying an in-app and an external link; the popover is opened with RELATIVE_ONLY, ALLOW_ALL or DENY_ALL, the frontend installs the matching setAsyncURLHandler validator.

Overview catalog regenerated (npm run launchpad).

Note: these samples use framework API that is not on abap2UI5 main yet, so the abaplint gates stay red until that PR is merged (and, for ABAP_702, until the 702 branch is regenerated). Verified locally against the framework branch: ABAP_STANDARD, ABAP_CLOUD and the 702 downport all report 0 issues.

Claude-Session: https://claude.ai/code/session_01Amu2PTNKeQLzUJysdJUBUa

One sample per capability added to the framework (abap2UI5 PR "implement the
five open ai-demokit framework requests"), all in Basic II (src/01/02) and
marked (A) as frontend-action demos:

- 471 Keyboard Shortcuts: Ctrl+S / Ctrl+D fire the backend events SAVE and
  DELETE via cs_event-keyboard_shortcut; a button registers and unregisters
  them again, a list logs what was triggered.
- 472 Link with preventDefault: a sap.m.Link whose press is registered with
  s_ctrl-check_prevent_default, so the browser does not follow the href and
  the backend decides instead. A switch rebuilds the view with the flag off
  to compare both behaviours.
- 473 Menu Item Path: a nested sap.m.Menu whose itemSelected toasts the full
  breadcrumb of the selected item ("Create New Site > Official Store"),
  resolved client-side by $controller.textPath( ) - no roundtrip.
- 474 MessagePopover URL Policy: messages carrying an in-app and an external
  link; the popover is opened with RELATIVE_ONLY, ALLOW_ALL or DENY_ALL, the
  frontend installs the matching setAsyncURLHandler validator.

Overview catalog regenerated (npm run launchpad).

Note: these samples use framework API that is not on abap2UI5 main yet, so
the abaplint gates stay red until that PR is merged (and, for ABAP_702, until
the 702 branch is regenerated). Verified locally against the framework branch:
ABAP_STANDARD, ABAP_CLOUD and the 702 downport all report 0 issues.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Amu2PTNKeQLzUJysdJUBUa
@oblomov-dev
oblomov-dev merged commit f701ef0 into standard Jul 28, 2026
5 of 7 checks passed
@oblomov-dev
oblomov-dev deleted the claude/ai-demokit-pr-cleanup-t7ulhb branch July 28, 2026 17:45
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