Project

General

Profile

Actions

Patch #2457

open

Different style of new issue/timelog interface

Added by Mischa The Evil over 15 years ago. Updated over 7 years ago.

Status:
Needs feedback
Priority:
Normal
Category:
UI
Target version:
-
Start date:
2009-01-07
Due date:
% Done:

0%

Estimated time:

Description

For my own Redmine instance I modified the interface regarding the "entry-links" for new issues and new timelogs a long time ago. I used several other patches and sources to come to the final result. I always wanted to create a configurable patch for others who might be interested, but never came to it. Now, here it finally is...

The urge for the modifications came from the fact that I needed to have cross-project, direct-access to the new-links for both the issues and the timelogs (the only two things which a user enters frequently).

I added/modified the following things:
  • Added setting main_new_links_enabled which enables the changes from this patch (defaults to 0/false) and at the same time removes the default "New issue"-tab on the project-menu
  • Added new-issue link right above the main issuelist (view: issues/index) which get rendered if_authorized
  • Added JavaScripted top-menu items for new issue and new timelog (only rendered when the visitor is a logged-in user && the current logged-in user has at least one membership (role)) which opens dynamic-menu's (based on the project-selector) showing the projects for which the current logged-in user has a role.
As mentioned earlier I based my modifications on some other patches and contributions:
  • Patch #1022 (Patch for #1003 [Allow "New Issue" from anywhere]) by Rocco Stanzione; This was my starting point for this patch. I've refactored the CSS to better fit the current trunk's default theme. I've also modified the conditions under which the links are displayed.
  • Patch #249 (Jump-in for 'add time') by Michael Pirogov; This patch made me realize I wanted the new timelog-liks integrated just as the new issue-links. This also gave me the insights about how this could be merged with patch #1022 to implement my needs for the new timelog-links.
  • Revision 905 of Typo3's Redmine-fork by Sebastian Kurfürst; This changeset gave me the idea and basic-code for adding the new issue-link also in the main issuelist and for removing the new-issue tab.

Like stated before I've added a setting for the modifications I've made. This means that with the patch applied (but no configuration) the default behaviour/UI isn't modified. The modifications specifically needs to be configured to be used.

This patch is not specifically shared/posted to get integrated into the Redmine core since I think it is more a personal request to have these changes integrated rather then that it is a community one.

Hope someone can appreciate the patch. Just to note: I've kept the code as seperated as possible (ie duplicated lots of it for both the JavaScripted menu's, instead for combining it at a higher-level). This will allow more easy extraction of parts of this patch.


Files

new_issue-timelog_design-r2245.diff (9.19 KB) new_issue-timelog_design-r2245.diff Patch created against trunk @ r2245. Mischa The Evil, 2009-01-07 14:49
redmine_global_new_links.zip (2.4 KB) redmine_global_new_links.zip Jean-Philippe Lang, 2009-01-10 15:38

Related issues

Related to Redmine - Patch #1022: Patch for #1003Closed2008-04-08

Actions
Related to Redmine - Patch #249: Jump-in for 'add time'Closed

Actions
Related to Redmine - Feature #1003: Allow "New Issue" from anywhereClosed2008-04-05

Actions
Actions

Also available in: Atom PDF