Add Image Editor demo app with popup close event#681
Merged
Conversation
Add a self-contained demo (z2ui5_cl_demo_app_383) in the "framework - action" package that showcases the IMAGE_EDITOR_POPUP_CLOSE frontend action directly, without the z2ui5_cl_pop_image_editor helper class. The Save button binds client->_event_client( cs_event-image_editor_popup_close ), which reads the edited image from the ImageEditor control on the client (getImagePngDataURL), closes the popup and returns the PNG data URL to the server as the SAVE event argument. Regenerate the src/01 overview catalog for the new tile. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HbhPYiga7hfH54P1U4Y4ou
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.
Summary
Adds a new demo application (app 383) showcasing the Image Editor component with popup-based editing workflow and PNG export functionality.
Changes
New demo app:
z2ui5_cl_demo_app_383- Image Editor with popup editingimage_editor_popup_closeclient event for capturing edited image dataUpdated sample app registry: Added new demo app 383 to the sample app list for discoverability
Implementation Details
z2ui5_cl_xml_view=>factory_popup()for dialog creationimage_editor_containerandimage_editorUI5 componentsclient->get_event_arg(1)from the popup close eventhttps://claude.ai/code/session_01HbhPYiga7hfH54P1U4Y4ou