プロジェクト

全般

プロフィール

Vote #78414

未完了

Generalise implementation of view / controller hooks for easier plugin development

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Plugin API_20
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
20
version_id:
0
issue_org_id:
25667
author_id:
123866
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

I have been developing several plugins for our Redmine, and hooks are a really good mechanism overall, but I have been struggling with the way they are partially implemented or even missing in some views / controllers.

It would be nice to have hooks implemented for all forms / controllers, equally.

Let me give some examples:

  • IssuesController has hooks for the Create action, but not for the Update action
  • IssueStatuses form partial has a call_hook, but it does not add the form itself (f) as a param, which makes it impossible to add additional elements to the form itself. The related IssueStatusesController does not have hooks for the Create or Update action
  • There are hooks for the Users form, and the form is passed as a param, which is nice, but there is no hook at all in the UsersController (Create, Update...)

journals

--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリPlugin API_20 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0