Feature #5284
open"% done" should provide data in text form too
0%
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
Related issues
Updated by Alex Last over 14 years ago
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).
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,
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.
Updated by Go MAEDA over 6 years ago
- Target version set to Candidate for next major release
Updated by Go MAEDA about 6 years ago
- Has duplicate Feature #5534: percentage display in numbers in issue view added
Updated by Mizuki ISHIKAWA over 5 years ago
- File feature-5284.patch feature-5284.patch added
I modified the style a little.
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.
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?
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)
Updated by Marius BĂLTEANU over 5 years ago
- File done_ratio.png done_ratio.png added
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)?
Updated by Go MAEDA over 5 years ago
- Target version changed from 4.1.0 to Candidate for next major release