Feature #6153

Move view_calendar and view_gantt to own modules

Added by Holger Just over 7 years ago. Updated over 7 years ago.

Status:ClosedStart date:2010-08-17
Priority:NormalDue 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 Magnifier (3.2 KB) Adam Soltys, 2010-08-19 07:12

calendar_and_gantt_as_modules.diff Magnifier (3.97 KB) Adam Soltys, 2010-08-19 23:03

Associated revisions

Revision 4013
Added by Eric Davis over 7 years 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 7 years ago

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

History

#1 Updated by Eric Davis over 7 years ago

Putting them into their own modules is a good idea.

#2 Updated by Adam Soltys over 7 years ago

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

#3 Updated by Adam Soltys over 7 years 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.

#4 Updated by Eric Davis over 7 years ago

  • Status changed from New to 7
  • 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.

#5 Updated by Adam Soltys over 7 years 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.

#6 Updated by Eric Davis over 7 years ago

  • Category set to Projects
  • Status changed from 7 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)

#7 Updated by Eric Davis over 7 years ago

Merged to 1.0-stable.

#8 Updated by Eric Davis over 7 years ago

  • Status changed from Resolved to Closed

#9 Updated by Azamat Hackimov over 7 years 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