プロジェクト

全般

プロフィール

Vote #73061

未完了

Fix sorting and PDF output of Gantt diagram & start date calculation and grouping

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Gantt_34
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
34
version_id:
32
issue_org_id:
12730
author_id:
69711
assigned_to_id:
1
comments:
11
status_id:
1
tracker_id:
3
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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)


journals

This (mostly) fixes following tickets:
* #11293
* #9565
* #8480
* #8366
* #7836
* #4786
* #347
--------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------
Hi,

the path works good. But the grouping of gantt doesn't seem to work?
I tested this with r11114.

I also tried this in combination with #3436. Which seems to work, after a manual merge.

Some UI enhancements:
- the grouping box should be hidden by default as in every other modul

Best regards,
Daniel
--------------------------------------------------------------------------------
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.

--------------------------------------------------------------------------------
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)

--------------------------------------------------------------------------------
I'm attaching the patch to fix PDF output and the patch to calculate 'month from' and 'month count' here, because there are no tickets for this yet.

The other two are attached to these two tickets:
#347
#8366
--------------------------------------------------------------------------------
Thank you for your great work. I will try your patches soon (this weekend or maybe monday). Thank you for your work!
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------
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

--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------


related_issues

relates,New,347,Grouping issues in Gantt view
relates,Closed,4786,Gantt Chart - Grouping issues by target version
relates,Closed,7836,Ability to save Gantt query filters
relates,Closed,8366,Gantt Version Ordering
relates,New,9565,Gantt graph grouped by "assigned to"
relates,New,11293,Order/Group tasks by users on Gantt
relates,Closed,7335,Sorting issues in gantt by date, not by id
relates,New,11840,trouble with gantt
relates,Closed,6407,New gantt charts shouldn't display all issues / versions

Admin Redmine さんがほぼ2年前に更新

  • カテゴリGantt_34 にセット
  • 対象バージョンCandidate for next major release_32 にセット

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

いいね!0
いいね!0