Feature #42335
open"Progress bar" custom field format
0%
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
Updated by Go MAEDA about 1 month ago
- File clipboard-202503011635-39vmc.png clipboard-202503011635-39vmc.png added
- File clipboard-202503011635-l2v4w.png clipboard-202503011635-l2v4w.png added
- Target version set to Candidate for next major release
Screenshots:
Updated by Jens Krämer 29 days ago
- File 0001-progress-bar-field-format-1168755.patch 0001-progress-bar-field-format-1168755.patch added
Thank you for creating the screenshots. Here is an updated patch with references to Planio removed.
Updated by Mischa The Evil 28 days ago
- Related to Feature #9629: New custom field format 'progress bar' (like the %-done field). added
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.
Updated by Marius BĂLTEANU 3 days ago
- File 0001-Adds-interval-ratio-setting-to-progressbar-custom-fi.patch 0001-Adds-interval-ratio-setting-to-progressbar-custom-fi.patch added
- Status changed from Closed to Reopened
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.
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.