Closed
Bug 1189960
Opened 10 years ago
Closed 10 years ago
One-click diff view from bugzilla comments referencing a patch
Categories
(bugzilla.mozilla.org Graveyard :: Extensions: MozReview Integration, defect, P3)
bugzilla.mozilla.org Graveyard
Extensions: MozReview Integration
Production
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1224631
People
(Reporter: botond, Unassigned)
Details
Bug 1123143 added a direct link to the diff for each patch in the "MozReview Requests" widget in bugzilla.
This is great because it preserves the ability to navigate from the bug to a diff in one click.
However, with patches, you could perform such a one-click navigation from any comment referencing the patch as well. It would be great if we could also do that for a comment referencing a MozReview attachment.
Updated•10 years ago
|
Priority: -- → P3
Comment 1•10 years ago
|
||
This is a BMO feature request.
Component: MozReview → Extensions: MozReview Integration
Product: Developer Services → bugzilla.mozilla.org
Version: unspecified → Production
Comment 2•10 years ago
|
||
Just to repeat what I also said in bug 1208750, this is a good idea because, if you're coming from an attachment URL, then that means you're probably a reviewer, so the diff is probably more important (reviews being more important for the patch author). A simple fix is storing the URL to the diff in the attachment instead of to the reviews. We'll need to verify that the logic behind presenting MozReview links explicitly in review-request mail still works (it should be to the diff as well).
Comment 3•10 years ago
|
||
Is this not a matter of updating the MozReview Bugzilla Client's post_rb_url function to use the diff viewer URL instead of the review request URL, or am I oversimplifying this?
Flags: needinfo?(mcote)
Comment 4•10 years ago
|
||
It's very simple. I'm actually bundling it with another small fix. I'm going to submit the review request next week.
Flags: needinfo?(mcote)
Comment 5•10 years ago
|
||
botond: There's now a link to the diff when a patch is posted (and a link to the interdiff when it's updated). Is this good for you?
Flags: needinfo?(botond)
| Reporter | ||
Comment 6•10 years ago
|
||
Yes - thanks! Please feel free to dupe this over to whichever bug added that link.
Flags: needinfo?(botond)
Comment 7•10 years ago
|
||
Groovy. :) Note that there was a bit of a regression; see bug 1232894, which I'm fixing now.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 8•10 years ago
|
||
(In reply to Mark Côté [:mcote] from comment #5)
> botond: There's now a link to the diff when a patch is posted (and a link to
> the interdiff when it's updated). Is this good for you?
Hmm, actually I realized that what was implemented goes part way to what I'd like, but not all the way there.
It seems currently the one-click-to-diff link is only present for comments triggered by the creation or update of a patch. I would also like to have one for comments referencing a patch. An example would be [1] - I currently need two clicks to get to the diff from that comment, whereas with a comparable Splinter comment I'd only need one.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1238137#c28
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 9•10 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #8)
> It seems currently the one-click-to-diff link is only present for comments
> triggered by the creation or update of a patch. I would also like to have
> one for comments referencing a patch. An example would be [1] - I currently
> need two clicks to get to the diff from that comment, whereas with a
> comparable Splinter comment I'd only need one.
Clicking on the "attachment NNNNN" link in that comment looks like it gets you to the right place?
Flags: needinfo?(botond)
| Reporter | ||
Comment 10•10 years ago
|
||
Oh, you're right! (I just looked at the tooltip of the link, saw that it wasn't the "#index_header" link, and assumed it wasn't what I wanted; in fact, it redirects to that link.)
Please ignore me, then :)
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Flags: needinfo?(botond)
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: bugzilla.mozilla.org → bugzilla.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•