Skip to content
Snippets Groups Projects
Unverified Commit b004665c authored by Anton Kulyk's avatar Anton Kulyk Committed by GitHub
Browse files

Reimplement action parameters mapping and execution (#25256)

* Only allow action execution for button dash cards

* Add action properties to `DashboardOrderedCard`

* Add `isActionButtonWithMappedAction` helper

* Extract `ActionOptionItem`

* Split `ActionOptions` inner and outer components

* Extract `BaseDashboardOrderedCard` type

* Add `ActionButtonDashboardCard` type

* Export `ClickBehaviorParameterMapping`

* Add data app and writeback test mock factories

* Add new endpoint for action execution

* Use new execution endpoint in `executeRowAction`

* Extend writeback utils

* Pass `action_id` when updating dashboard cards

* Add `updateButtonActionMapping` redux action

* Make `getDataFromClicked` more TypeScript friendly

Setting default argument values makes these args optional in TypeScript

* Add tools to convert parameter mappings

* Show button name in click behavior sidebar

* Update button action and parameters mapping logic

* Pass dashcard to dashboard click object `extraData`

* Add drill executing writeback actions

* Fix `action_id` not passed on adding a button card

* Add vertical space in button config sidebar

* Fix "Unknown" click behavior state

* Fix type

* Add a comment about parameter mapping formats

* Extract `ActionClickMappings` component

* Clean parameter mappings when changing action

* Fix navigation button don't work

* Bring "Perform action" option back

* Fix action option icon
parent e9f1f860
Branches
Tags
No related merge requests found
Showing
with 654 additions and 102 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment