Feature #6153

Move view_calendar and view_gantt to own modules

Added by Holger Just over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:2010-08-17
Priority:Normal Due date:
Assignee:Eric Davis % Done:

100%

Category:Projects
Target version:1.0.1
Resolution:Fixed

Description

In r3943 and r3944, Eric added the gantt chart and calendar view as tabs to the project menu.

While this change makes both much more visible, it also some of the scarce "tab-space" on small-to-medium sized screens. Especially, if it is not really used for most projects. To allow to enable / disable the calendar and gantt view per project, please move the permissions to their own respective modules.

Also, I think, these tabs belong near the activity tab, as they are often used to get a project overview. So it would be great to move these tabs directly to the right of the activity tab.

calendar_and_gantt_as_modules.diff (3.2 kB) Adam Soltys, 2010-08-19 07:12

calendar_and_gantt_as_modules.diff (4 kB) Adam Soltys, 2010-08-19 23:03

Associated revisions

Revision 4013
Added by Eric Davis over 1 year ago

Treat Calendar and Gantt pages as separate modules. #6153

This will let the Issue Tracking, Gantt, and Calendar modules be enabled
or disabled as needed. A database migration will enable the Gantt and
Calendar for all existing projects that have Issue Tracking enabled.

Contributed by Adam Soltys

Revision 4036
Added by Azamat Hackimov over 1 year ago

Adding missed new strings for #6153:
  • project_module_gantt: Gantt
  • project_module_calendar: Calendar

History

Updated by Eric Davis over 1 year ago

Putting them into their own modules is a good idea.

Updated by Adam Soltys over 1 year ago

I may try to tackle this one. Can someone add me to this site as a contributor so I can assign myself tickets?

Updated by Adam Soltys over 1 year ago

I think I've got it working. Patch attached. Github branch: http://github.com/asoltys/redmine/tree/calendar_and_gantt_as_modules

Eric, I sent you a pull request. Couldn't add you as a watcher to this issue so I'll just assign it to you instead.

Updated by Eric Davis over 1 year ago

  • Status changed from New to Assigned
  • Target version set to 1.0.1

We'll also need a migration to add these two modules for every project that had issues tracking on.

Updated by Adam Soltys over 1 year ago

Whoops, I had actually thought of that and written the migration but my db/ folder was gitignore'd. I figured this out by rm'ing the file to see if git would recognize it as missing. When it didn't, I clued in that it was ignored, and that I'd just rm'ed the migration, with no way to restore it! lol!

Anyways, here it is again, with the migration included.

Updated by Eric Davis over 1 year ago

  • Category set to Projects
  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
  • Resolution set to Fixed

Applied Adam Soltys's patched from Github. Thanks for the contributions, I really like having these as separate modules. (r4013)

Updated by Eric Davis over 1 year ago

Merged to 1.0-stable.

Updated by Eric Davis over 1 year ago

  • Status changed from Resolved to Closed

Updated by Azamat Hackimov over 1 year ago

There missed two translation strings for new modules:

project_module_gantt: Gantt
project_module_calendar: Calendar

Fixed in r4036.

Also available in: Atom PDF