Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0052357 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| feature request | [POS2] Core | minor | N/A | 2023-05-04 19:11 | 2023-06-07 17:54 | |||||||
| Reporter | gorka_gil | View Status | public | |||||||||
| Assigned To | Triage Platform Base | |||||||||||
| Priority | normal | Resolution | open | Fixed in Version | ||||||||
| Status | new | Fix in branch | Fixed in SCM revision | |||||||||
| Projection | none | ETA | none | Target Version | ||||||||
| OS | Any | Database | Any | Java version | ||||||||
| OS Version | Database version | Ant version | ||||||||||
| Product Version | SCM revision | |||||||||||
| Merge Request Status | open | |||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0052357: BaseFormKeypad: allow to call user actions from buttons | |||||||||||
| Description | Rigth now it is possible to add new action buttons in the BaseFormKeypad, but it is not possible to call user-actions from them | |||||||||||
| Steps To Reproduce | BaseFormKeypad acept actions but not actionsHandler, so it is not possible to specify actions there | |||||||||||
| Proposed Solution | Create infraestructure in its base componente: BaseKeypad that do a bit of interpretation of the actions, something like this: const handleActionWithUserAction = (handleAction, processKey) => ( action, payload ) => { if (typeof action === 'function') { action(payload); } else if (Registry.getRegisteredUserActionNames().includes(action)) { Registry.getUserAction(action).launch({ processKey }); } else { handleAction(action, payload); } }; | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0150830) hgbot (developer) 2023-06-06 16:46 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1129 [^] |
|
(0150908) hgbot (developer) 2023-06-07 17:54 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1879 [^] |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2023-05-04 19:11 | gorka_gil | New Issue | |
| 2023-05-04 19:11 | gorka_gil | Assigned To | => Triage Platform Base |
| 2023-05-04 19:11 | gorka_gil | OBNetwork customer | => No |
| 2023-05-04 19:11 | gorka_gil | Triggers an Emergency Pack | => No |
| 2023-06-06 16:46 | hgbot | Merge Request Status | => open |
| 2023-06-06 16:46 | hgbot | Note Added: 0150830 | |
| 2023-06-07 17:54 | hgbot | Note Added: 0150908 | |
| Copyright © 2000 - 2009 MantisBT Group |