Feature #6497

Request for a view_projects_index_contextual hook

Added by Jan from Planio www.plan.io about 7 years ago. Updated about 2 years ago.

Status:ClosedStart date:2010-09-26
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Plugin API
Target version:-
Resolution:Wont fix

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.

view_projects_index_contextual_hook.patch Magnifier (708 Bytes) Jan from Planio www.plan.io, 2010-09-26 19:56


Related issues

Related to Redmine - Patch #11492: Added :view_projects_index_activity_menu hook Closed
Related to Redmine - Feature #26385: Add a non-hook based API for adding/removing items to/fro... New

History

#1 Updated by Eric Davis about 7 years ago

  • Target version set to Unplanned

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...

#2 Updated by Eric Davis about 7 years ago

  • Assignee deleted (Eric Davis)

#3 Updated by Jean-Philippe Lang almost 7 years ago

We'd better have a non-hook based API for adding items to contextual menus, much like the main menu.

#4 Updated by Jan from Planio www.plan.io over 3 years ago

  • Status changed from New to Closed
  • Resolution set to Wont fix

Then, let's close it.

#5 Updated by Jean-Baptiste Barth over 3 years ago

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.

#6 Updated by Ebrahim Mohammadi about 2 years ago

Shouldn't "target version" of this issue be removed?

#7 Updated by Toshi MARUYAMA about 2 years ago

  • Target version deleted (Unplanned)

Ebrahim Mohammadi wrote:

Shouldn't "target version" of this issue be removed?

Thank you for pointing out.

#8 Updated by Mischa The Evil 5 months ago

  • Related to Patch #11492: Added :view_projects_index_activity_menu hook added

#9 Updated by Mischa The Evil 5 months ago

  • 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