title | issue |
---|---|
Build Action Button messaging system |
NEXT-14360 |
- Added following response classes to define the response formats:
src/Core/Framework/App/ActionButton/Response/ActionButtonResponse.php
src/Core/Framework/App/ActionButton/Response/NotificationResponse.php
src/Core/Framework/App/ActionButton/Response/OpenNewTabResponse.php
src/Core/Framework/App/ActionButton/Response/ReloadDataResponse.php
- Added
actionId
property plus the respective getter and setter methods insrc/Core/Framework/App/ActionButton/AppAction.php
- Changed
execute
method insrc/Core/Framework/App/ActionButton/Executor.php
to format, validate and authenticate responses - Added
src/Core/Framework/App/Exception/ActionProcessException.php
- Changed
runAction
method insrc/app/component/app/sw-app-actions/index.js
to handle action button response