Patch #12730
openFix sorting and PDF output of Gantt diagram & start date calculation and grouping
0%
Description
This patch does several things:
- Fixes the sorting of issues so that the oldest one are on top and the newer ones are at the bottom
- Fixes the PDF output for short items where the length of the bar would be 0 or negative with the old calculation
- If no start date is given the date of the first issue in the query is used and the month count is set to include all issues (max. 48)
- Keeps the query from other views and respects the grouping to group items in the diagram too (see Screenshot). If a query has no grouping the view is the same as in the original version.
It passes all test that are available for the Gantt diagram.
(I could split it into 4 patches and provide more screenshots if there's interest)
Files
Related issues
Updated by Daniel Felix almost 12 years ago
Hi Tobias,
thanks for this patch and your search.
I added the relations. I will try this patch and give a short feedback.
Best regards,
Daniel
Updated by Daniel Felix almost 12 years ago
Updated by Toshi MARUYAMA almost 12 years ago
Tobias Droste wrote:
(I could split it into 4 patches and provide more screenshots if there's interest)
Please split and post it to each issues.
Updated by Tobias Droste almost 12 years ago
Toshi MARUYAMA wrote:
Please split and post it to each issues.
Ok.
Daniel Felix wrote:
the path works good. But the grouping of gantt doesn't seem to work?
I tested this with r11114.
It should work, I tested it with r11113.
As Toshi MARUYAMA suggested I will split the patch.
And I make some additional changes to the grouping.
So see this patch as deprecated for now.
Daniel Felix wrote:
Some UI enhancements:
- the grouping box should be hidden by default as in every other modul
I will change that.
Thanks for the feedback and testing and I will post a new split version to the corresponding tickets. (Probably tomorrow)
Updated by Tobias Droste almost 12 years ago
Updated by Daniel Felix almost 12 years ago
Thank you for your great work. I will try your patches soon (this weekend or maybe monday). Thank you for your work!
Updated by Daniel Felix almost 12 years ago
- Assignee set to Jean-Philippe Lang
- Target version set to Candidate for next major release
Maybe Toshi or Jean-Philippe could take a look at the provided patches.
Would be nice to see this fixed. I tried most of them in my Redmine 2.2.1 and they work properly.
Updated by Dominik Follmann over 11 years ago
Hi folks,
how is the status of this issue? As Daniel Felix said, he tested the patch successful. Is there a certain reason, why it won't be included in the next major release (2.3.0) ?
I guess lots of people are facing these problems (mainly the gantt-sorting). It would be nice if someone would give an update.
I'm not a good ruby-hacker yet, but if I can support you with some tests or so, I'm available.
Regards
Dominik
Updated by Toshi MARUYAMA over 11 years ago
Dominik Follmann wrote:
Is there a certain reason, why it won't be included in the next major release (2.3.0) ?
There is no test.
source:trunk/test/unit/lib/redmine/helpers/gantt_test.rb@11559
Updated by Celso Acurcio almost 2 years ago
I see this was a candidate for a major release a long time ago I've also commented on issue 347 [[https://www.redmine.org/issues/347]], I'm on version 4.1.1 and it's still not possible to group per user for instance on Gantt view. Has this been carried forward, do I need to configure something to enable this or was this feature abandoned?