Project

General

Profile

Actions

Feature #5284

open

"% done" should provide data in text form too

Added by Alex Last over 14 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues list
Start date:
2010-04-09
Due date:
% Done:

0%

Estimated time:
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.


Files

import_from_web-1.PNG (49.6 KB) import_from_web-1.PNG Alex Last, 2010-04-09 20:50
import_from_web-2.PNG (275 KB) import_from_web-2.PNG Alex Last, 2010-04-09 20:50
percent_done_is_empty_on_import_using_url.PNG (25 KB) percent_done_is_empty_on_import_using_url.PNG Alex Last, 2010-04-09 20:50
percent-done-with-number@2x.png (25.5 KB) percent-done-with-number@2x.png Go MAEDA, 2018-04-03 13:06
feature-5284.patch (1.62 KB) feature-5284.patch Mizuki ISHIKAWA, 2019-04-26 02:32
done_ratio.png (112 KB) done_ratio.png Marius BĂLTEANU, 2019-04-26 12:13

Related issues

Has duplicate Redmine - Feature #5534: percentage display in numbers in issue viewClosed2010-05-16

Actions
Actions #2

Updated by Alex Last over 14 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).

Actions #3

Updated by Go MAEDA over 7 years ago

  • Category set to Issues list
Actions #4

Updated by Mizuki ISHIKAWA over 6 years 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,
Actions #5

Updated by Go MAEDA over 6 years ago

Mizuki ISHIKAWA wrote:

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

Here is a screenshot of Mizuki's patch.

Actions #6

Updated by Go MAEDA over 6 years ago

  • Target version set to Candidate for next major release
Actions #7

Updated by Go MAEDA about 6 years ago

  • Has duplicate Feature #5534: percentage display in numbers in issue view added
Actions #8

Updated by Mizuki ISHIKAWA over 5 years ago

I modified the style a little.

Actions #9

Updated by Go MAEDA over 5 years ago

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

LGTM. Setting the target version to 4.1.0.

Actions #10

Updated by Marius BĂLTEANU over 5 years 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?

Actions #11

Updated by Go MAEDA over 5 years 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)

Actions #12

Updated by Marius BĂLTEANU over 5 years 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)?

Actions #13

Updated by Go MAEDA over 5 years ago

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

Also available in: Atom PDF