Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
-
Start date:
2010-09-26
Due date:
% Done:

0%

Estimated time:
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.


Files

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

Related issues

Related to Redmine - Patch #11492: Added :view_projects_index_activity_menu hookClosed

Actions
Related to Redmine - Feature #26385: Add a non-hook based API for adding/removing items to/from contextual menus (like the main menu)New

Actions
Actions #1

Updated by Eric Davis about 14 years ago

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

Actions #2

Updated by Eric Davis about 14 years ago

  • Assignee deleted (Eric Davis)
Actions #3

Updated by Jean-Philippe Lang almost 14 years ago

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

Actions #4

Updated by Jan from Planio www.plan.io about 10 years ago

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

Then, let's close it.

Actions #5

Updated by Jean-Baptiste Barth about 10 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.

Actions #6

Updated by Ebrahim Mohammadi about 9 years ago

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

Actions #7

Updated by Toshi MARUYAMA almost 9 years ago

  • Target version deleted (Unplanned backlogs)

Ebrahim Mohammadi wrote:

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

Thank you for pointing out.

Actions #8

Updated by Mischa The Evil over 7 years ago

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

Updated by Mischa The Evil over 7 years ago

  • Related to Feature #26385: Add a non-hook based API for adding/removing items to/from contextual menus (like the main menu) added
Actions

Also available in: Atom PDF