Closed
Bug 1430389
Opened 8 years ago
Closed 8 years ago
Remove tree-progressmeter from task view
Categories
(Calendar :: Tasks, enhancement)
Calendar
Tasks
Tracking
(Not tracked)
RESOLVED
FIXED
6.1
People
(Reporter: MakeMyDay, Assigned: Paenglab)
References
Details
Attachments
(1 file, 2 obsolete files)
|
3.81 KB,
patch
|
Paenglab
:
review+
|
Details | Diff | Splinter Review |
Let's remove the tree-progressmeter as discussed in bug 1430374.
| Reporter | ||
Comment 1•8 years ago
|
||
This patch removes the use of progressmeter in the task tree. Instead, percentage values are displyed in the "% Complete" column.
Apart from the current fix, should we rename the column label to "Completeness" along with this change?
Attachment #8942424 -
Flags: review?(philipp)
| Assignee | ||
Comment 2•8 years ago
|
||
You beat me. ;) But I was going a bit further and removed the width check (if I'm correct) and set the min-width of the percentage so it's always fully visible.
I also right aligned the element.
What do you think?
Attachment #8942426 -
Flags: feedback?(makemyday)
| Reporter | ||
Comment 3•8 years ago
|
||
Comment on attachment 8942426 [details] [diff] [review]
tree-progressmeter.patch
Looks good, feel free to take over. The question regarding the string still remains.
Attachment #8942426 -
Flags: feedback?(makemyday) → feedback+
| Reporter | ||
Updated•8 years ago
|
Attachment #8942424 -
Flags: review?(philipp)
| Reporter | ||
Updated•8 years ago
|
Attachment #8942424 -
Attachment is obsolete: true
| Reporter | ||
Updated•8 years ago
|
Assignee: makemyday → richard.marti
| Assignee | ||
Comment 4•8 years ago
|
||
Comment on attachment 8942426 [details] [diff] [review]
tree-progressmeter.patch
Please check the label question in comment 1 too.
Attachment #8942426 -
Flags: review?(philipp)
Comment 5•8 years ago
|
||
Comment on attachment 8942426 [details] [diff] [review]
tree-progressmeter.patch
Review of attachment 8942426 [details] [diff] [review]:
-----------------------------------------------------------------
I'm missing the part where the text is introduced, but I assume that has already been there and was just hidden by the progress bar?
::: calendar/base/content/calendar-task-tree.xml
@@ +703,5 @@
> },
>
> // The progress mode for a given cell. This method is only called for
> // columns of type |progressmeter|.
> getProgressMode: function(aRow, aCol) {
If we're getting rid of the progressmeter, you can empty this function. You'll need to keep it for the interface, but the rest can be removed. For safety you can always return PROGRESS_NONE.
::: calendar/base/themes/common/calendar-task-tree.css
@@ +117,5 @@
> -moz-image-region: rect(0 39px 13px 26px);
> }
>
> +treecol[anonid="calendar-task-tree-col-percentcomplete"] {
> + text-align: right;
You should be able to use |text-align: end;| here, then you only need one rule.
Attachment #8942426 -
Flags: review?(philipp) → review+
| Assignee | ||
Comment 6•8 years ago
|
||
(In reply to Philipp Kewisch [:Fallen] from comment #5)
> Comment on attachment 8942426 [details] [diff] [review]
> tree-progressmeter.patch
>
> Review of attachment 8942426 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> I'm missing the part where the text is introduced, but I assume that has
> already been there and was just hidden by the progress bar?
It worked with just removing the progress meter.
> ::: calendar/base/content/calendar-task-tree.xml
> @@ +703,5 @@
> If we're getting rid of the progressmeter, you can empty this function.
> You'll need to keep it for the interface, but the rest can be removed. For
> safety you can always return PROGRESS_NONE.
Done
> ::: calendar/base/themes/common/calendar-task-tree.css
> @@ +117,5 @@
> > +treecol[anonid="calendar-task-tree-col-percentcomplete"] {
> > + text-align: right;
>
> You should be able to use |text-align: end;| here, then you only need one
> rule.
Done.
Attachment #8942426 -
Attachment is obsolete: true
Attachment #8942457 -
Flags: review+
| Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/89ff7aac5875
Remove tree-progressmeter from task view. r=philipp
Updated•8 years ago
|
Target Milestone: --- → 6.1
You need to log in
before you can comment on or make changes to this bug.
Description
•