Feature #6497
closed
Request for a view_projects_index_contextual hook
Added by Jan from Planio www.plan.io about 14 years ago.
Updated almost 9 years ago.
Description
Patch is attached. Would be great for global plugin features/views which are not important enough to be added to top_menu
, yet need a place somewhere that is not project-specific.
Files
- Target version set to Unplanned backlogs
Patch looks ok but I'm been thinking about how some of Redmine's contextual menus are done. Because once this hook is in there, someone else will want to add to the start of the list and someone else will want to add in the middle of the list, etc...
- Assignee deleted (
Eric Davis)
We'd better have a non-hook based API for adding items to contextual menus, much like the main menu.
- Status changed from New to Closed
- Resolution set to Wont fix
An other option is to use deface to hook into views rendering, I do it in most of my plugins and it works well as long as css selectors are stable, which is the case in general.
Shouldn't "target version" of this issue be removed?
- Target version deleted (
Unplanned backlogs)
Ebrahim Mohammadi wrote:
Shouldn't "target version" of this issue be removed?
Thank you for pointing out.
- Related to Patch #11492: Added :view_projects_index_activity_menu hook added
- Related to Feature #26385: Add a non-hook based API for adding/removing items to/from contextual menus (like the main menu) added
Also available in: Atom
PDF