Closed Bug 1184121 Opened 9 years ago Closed 9 years ago

Better ui around the treeherder integration

Categories

(MozReview Graveyard :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mdoglio, Assigned: mdoglio)

References

Details

Attachments

(1 file)

The current integration with autoland/treeherder creates a new changedesc panel everytime you trigger autoland to try. This behaviour has 2 problems:
1- The updates from treeherder are not easily spottable, specially when you have tens of changedesc panels.
2- The fact that the latest changedesc is at the bottom can lead you to look at an obsolete push status report.

We should render the autoland/treeherder status close to the `try autoland` button in the main review request panel and only show the latest autoland event/push autolanded
Assignee: nobody → mdoglio
Priority: -- → P1
Blocks: 1186503
mozreview: add autoland results panel (Bug 1184121) r?smacleod
Attachment #8660638 - Flags: review?(smacleod)
Comment on attachment 8660638 [details]
MozReview Request: mozreview: add autoland results panel (Bug 1184121) r?smacleod

https://reviewboard.mozilla.org/r/19155/#review17047

::: pylib/mozreview/mozreview/fields.py:91
(Diff revision 1)
> +            'autoland_request': autoland_request

I think this should be something like "latest_autoland_request"

::: pylib/mozreview/mozreview/static/mozreview/css/commits.less:197
(Diff revision 1)
> +#ci-actions {

Can you add some screenshots of the different states and how it all appears in page, I'd like to give it a visual review.

::: pylib/mozreview/mozreview/static/mozreview/css/commits.less:227
(Diff revision 1)
> +                background-color: #B0EFA0;

I wonder if it'd be worth sticking some of these colours in variables so we can reuse them elsewhere?
Attachment #8660638 - Flags: review?(smacleod)
Comment on attachment 8660638 [details]
MozReview Request: mozreview: add autoland results panel (Bug 1184121) r?smacleod

mozreview: add autoland results panel (Bug 1184121) r?smacleod
Attachment #8660638 - Flags: review?(smacleod)
Comment on attachment 8660638 [details]
MozReview Request: mozreview: add autoland results panel (Bug 1184121) r?smacleod

mozreview: add autoland results panel (Bug 1184121) r?smacleod
https://reviewboard.mozilla.org/r/19155/#review17047

> I wonder if it'd be worth sticking some of these colours in variables so we can reuse them elsewhere?

We could do that the first time we need to reuse those colors.
Comment on attachment 8660638 [details]
MozReview Request: mozreview: add autoland results panel (Bug 1184121) r?smacleod

https://reviewboard.mozilla.org/r/19155/#review18567

::: pylib/mozreview/mozreview/fields.py:91
(Diff revision 3)
> +            'latest_autoland_request': latest_autoland_request

trailing comma please

::: pylib/mozreview/mozreview/static/mozreview/js/commits.js:261
(Diff revision 3)
> +    var repository =$(elem).data('repository');

space after `=`
Attachment #8660638 - Flags: review?(smacleod) → review+
Comment on attachment 8660638 [details]
MozReview Request: mozreview: add autoland results panel (Bug 1184121) r?smacleod

mozreview: add autoland results panel (Bug 1184121) r?smacleod
https://reviewboard.mozilla.org/r/19155/#review18709

::: pylib/mozreview/mozreview/templates/mozreview/commits.html:109
(Diff revision 4)
> +          <a href="https://treeherder.mozilla.org/embed/resultset-status/try/{{latest_autoland_request.repository_revision}}/">

This panel is great! How about change this link to the real treeherder link instead of the embedded one to save us one extra click to the treeherder?
:TYLin I filed bug 1211463 to address it
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Developer Services → MozReview
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: