View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026659 | mantisbt | bugtracker | public | 2020-02-02 12:40 | 2020-02-02 12:41 |
Reporter | dregad | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | N/A |
Status | confirmed | Resolution | open | ||
Summary | 0026659: Standardize handling of plugin events to add menu items | ||||
Description | Currently there are 2 ways for plugins hooking events to add menu items (e.g. EVENT_MENU_MAIN, EVENT_MENU_ISSUE, etc), to provide the necessary input data:
Moreover, when working with menu/submenu structures where the currently active item/page needs to be highlighted, the plugins themselves are forced to handle this logic (see MantisGraph for example) but this task really belongs in core. Following discussion with @vboctor in PR 1567, at some point we need to
Fixing this requires a backwards-incompatible change for plugins using these events. | ||||
Tags | No tags attached. | ||||