Project

General

Profile

Actions

Feature #42335

open

"Progress bar" custom field format

Added by Jens Krämer about 1 month ago. Updated 3 days ago.

Status:
Reopened
Priority:
Normal
Assignee:
Category:
Custom fields
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

The attached patch adds a new custom field format "Progress bar", which behaves like the existing "Done Ratio" Issue field. Patch was extracted from Planio


Files


Related issues

Related to Redmine - Feature #9629: New custom field format 'progress bar' (like the %-done field).New2011-11-22

Actions
Actions #1

Updated by Go MAEDA about 1 month ago

Screenshots:

Actions #2

Updated by Jens Krämer 29 days ago

Thank you for creating the screenshots. Here is an updated patch with references to Planio removed.

Actions #3

Updated by Mischa The Evil 28 days ago

  • Related to Feature #9629: New custom field format 'progress bar' (like the %-done field). added
Actions #4

Updated by Mischa The Evil 28 days ago

Just my two cents on this: if a feature like this is deemed eligible for core integration, I think it might be good to preemptively consider, explicitly, whether or not it might be better to not reuse the global issue_done_ratio_interval setting, but instead implement it independently as a custom field attribute so that each progress bar custom field can have its own dedicated done_ratio_interval value.

Actions #5

Updated by Go MAEDA 7 days ago

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

Setting the target version to 6.1.0.

Actions #6

Updated by Go MAEDA 5 days ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the patch in r23560. Thank you for submitting it.

Actions #7

Updated by Go MAEDA 5 days ago

  • Tracker changed from Patch to Feature
  • Resolution set to Fixed
Actions #8

Updated by Marius BĂLTEANU 3 days ago

Mischa The Evil wrote in #note-4:

Just my two cents on this: if a feature like this is deemed eligible for core integration, I think it might be good to preemptively consider, explicitly, whether or not it might be better to not reuse the global issue_done_ratio_interval setting, but instead implement it independently as a custom field attribute so that each progress bar custom field can have its own dedicated done_ratio_interval value.

Mischa, I agree with you, the custom field should have its own setting to control the ratio interval. The attached patch implements this. If we really want to have a dependency on Issue Done Ratio Interval, we can set the default value of this new attribute to the issue_done_ratio_interval or add a special value that inherit the value of issue_done_ratio_interval.

I'm reopening this to discuss the improvement.

Actions #9

Updated by Jens Krämer 3 days ago

The first iteration of this which I had implemented at Planio actually had this setting on the custom field in place. We dropped it in the end to keep it simple and because we considered that someone wishing to have 5% intervals would likely want to have that level of precision everywhere.

But it certainly is cleaner to have the setting on the custom field, since these are not bound to issues only, but could be used anywhere, and then it is actually confusing when an issue tracking setting influences a progress bar field on a document, for example. So, +1 from me.

Actions

Also available in: Atom PDF