Feature #5284

"% done" should provide data in text form too

Added by Alex Last over 9 years ago. Updated 3 months ago.

Status:NewStart date:2010-04-09
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues list
Target version:Candidate for next major release
Resolution:

Description

I see "Issues list" page can have "% done" field, which shows info as a progress bar. This looks nice, but I also need to be able to import redmine data into other programs like Microsoft Excel.
Unfortunately, Microsoft Excel 2003 shows no values in imported column "% Done". I assume this is because the info in not provided in text format when Excel parses URL like http://demo.redmine.org/projects/ace/issues

is it possible to provide text info for "% done" field in this web page in addition to nice green "progress" bar? This would be really helpful to load tasks into excel and be able to use Excel calculations for remaining time and other parameters.

import_from_web-1.PNG (49.6 KB) Alex Last, 2010-04-09 20:50

import_from_web-2.PNG (275 KB) Alex Last, 2010-04-09 20:50

percent_done_is_empty_on_import_using_url.PNG (25 KB) Alex Last, 2010-04-09 20:50

percent-done-with-number@2x.png (25.5 KB) Go MAEDA, 2018-04-03 13:06

feature-5284.patch Magnifier (1.62 KB) Mizuki ISHIKAWA, 2019-04-26 02:32

done_ratio.png (112 KB) Marius BALTEANU, 2019-04-26 12:13


Related issues

Duplicated by Redmine - Feature #5534: percentage display in numbers in issue view Closed 2010-05-16

History

#2 Updated by Alex Last over 9 years ago

what I actually need to do is to estimate "remaining time" for all tasks for a particular target version.
If I could show "remaining time" column on "Issues list" page and then import it into Excel the same way - this would solve my problem and I would not really need text value for "% done" column (although I'd recommend to provide it there anyway to simplify redmine integration with all kinds of external tools, which can grep data from redmine web URLs).

#3 Updated by Go MAEDA about 2 years ago

  • Category set to Issues list

#4 Updated by Mizuki ISHIKAWA over 1 year ago

Issues/show has "% done" information next to the progress bar.
I would like to confirm the "% done" information on the Issues list as well.
This change is a very small change, so no one will be confused.

You can implement this feature by making the following changes.

diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb
index 9d3f2468e..40c481134 100644
--- a/app/helpers/queries_helper.rb
+++ b/app/helpers/queries_helper.rb
@@ -221,7 +221,7 @@ module QueriesHelper
     when :last_notes
       item.last_notes.present? ? content_tag('div', textilizable(item, :last_notes), :class => "wiki") : ''
     when :done_ratio
-      progress_bar(value)
+      progress_bar(value, :legend => "#{value}%")
     when :relations
       content_tag('span',
         value.to_s(item) {|other| link_to_issue(other, :subject => false, :tracker => false)}.html_safe,

#5 Updated by Go MAEDA over 1 year ago

Mizuki ISHIKAWA wrote:

Issues/show has "% done" information next to the progress bar.

Here is a screenshot of Mizuki's patch.

#6 Updated by Go MAEDA about 1 year ago

  • Target version set to Candidate for next major release

#7 Updated by Go MAEDA 10 months ago

  • Duplicated by Feature #5534: percentage display in numbers in issue view added

#8 Updated by Mizuki ISHIKAWA 3 months ago

I modified the style a little.

#9 Updated by Go MAEDA 3 months ago

  • Target version changed from Candidate for next major release to 4.1.0

LGTM. Setting the target version to 4.1.0.

#10 Updated by Marius BALTEANU 3 months ago

Go MAEDA wrote:

LGTM. Setting the target version to 4.1.0.

Do you really think that we need the real value near the progress bar?

#11 Updated by Go MAEDA 3 months ago

Marius BALTEANU wrote:

Do you really think that we need the real value near the progress bar?

Definitely yes. Do you think the value is unnecessary?

Currently, we cannot understand the accurate value in the issues list. It is difficult for me to distinguish 20% and 30% with the progress bar. In fact, several of our customers have asked us to display numbers as well as progress bars.

Not only our customers, I think many people want the real value. Some users in Japan have published hacks to show the value in the issues list.

http://blog.enjoyxstudy.com/entry/2016/09/04/000000 (Japanese)
https://qiita.com/cress_cc/items/fbccedcb1993bf22a818 (Japanese)

#12 Updated by Marius BALTEANU 3 months ago

Go MAEDA wrote:

Marius BALTEANU wrote:

Do you really think that we need the real value near the progress bar?

Definitely yes. Do you think the value is unnecessary?

Currently, we cannot understand the accurate value in the issues list. It is difficult for me to distinguish 20% and 30% with the progress bar. In fact, several of our customers have asked us to display numbers as well as progress bars.

Not only our customers, I think many people want the real value. Some users in Japan have published hacks to show the value in the issues list.

http://blog.enjoyxstudy.com/entry/2016/09/04/000000 (Japanese)
https://qiita.com/cress_cc/items/fbccedcb1993bf22a818 (Japanese)

Not unnecessary, but I find it awkward for the below example:

I see lots of 0% which are irrelevant from my point of view.

Also, the padding-right: 40px added by the last patch is wrong (I think) because I don't see any reason for that empty space.

Maybe it is better to show only for values between 10% and 90% and inline (over the progress bar)?

#13 Updated by Go MAEDA 3 months ago

  • Target version changed from 4.1.0 to Candidate for next major release

Also available in: Atom PDF