Closed
Bug 658547
Opened 14 years ago
Closed 14 years ago
The link for new attachments in bugmail should point to the "Edit" page rather than to the attachment content itself
Categories
(Bugzilla :: Email Notifications, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.2
People
(Reporter: jdm, Assigned: dkl)
Details
(Whiteboard: [bmo4.0-resolved])
Attachments
(1 file, 2 obsolete files)
570 bytes,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
I frequently want to read a patch that I've learned about in an email, but the only link I get is the raw file contents. I'd like a link to the graphical view as well.
Comment 1•14 years ago
|
||
What is a graphical view??? You mean the diff view?
Updated•14 years ago
|
Severity: normal → enhancement
OS: Windows XP → All
Hardware: x86 → All
Reporter | ||
Comment 2•14 years ago
|
||
Precisely.
Assignee | ||
Comment 3•14 years ago
|
||
Patch adds attachment view/edit/diff links to text email notifications. The HTML view of bug mail currently links to view and edit but not diff. This would be solved if bug 652332 lands.
dkl
Assignee: email-notifications → dkl
Status: NEW → ASSIGNED
Attachment #534100 -
Flags: review?(LpSolit)
Comment 4•14 years ago
|
||
Comment on attachment 534100 [details] [diff] [review]
Patch to add attachment view/edit/diff links to text emails (v1)
I don't think we want all three links. We should keep only one, maybe the edit one, as you can easily go everywhere from there. Also, the Diff view doesn't exist if the attachment is not a patch.
Attachment #534100 -
Flags: review?(LpSolit) → review-
Comment 5•14 years ago
|
||
This also needs to go into the HTML email in a completely different format than it goes into the text email.
Assignee | ||
Comment 6•14 years ago
|
||
Ok, this patch just changes the link in bug/format_comment.txt.tmpl to go to the attachment details page. The email template for request/email.txt.tmpl already does this.
The HTML version of the mail relies on quoteUrls and so when bug 652332 is landed in some fashion.
dkl
Attachment #534100 -
Attachment is obsolete: true
Attachment #535757 -
Flags: review?(LpSolit)
Updated•14 years ago
|
Attachment #535757 -
Attachment is patch: true
Attachment #535757 -
Attachment mime type: text/x-patch → text/plain
Comment 7•14 years ago
|
||
Comment on attachment 535757 [details] [diff] [review]
Patch to add attachment edit link to text emails (v2)
This is the wrong patch.
Attachment #535757 -
Flags: review?(LpSolit) → review-
Assignee | ||
Comment 8•14 years ago
|
||
Sigh. Was really wasted tired at the end of the day when I uploaded that. Here is the right patch.
dkl
Attachment #535757 -
Attachment is obsolete: true
Attachment #535797 -
Flags: review?(LpSolit)
Comment 9•14 years ago
|
||
Comment on attachment 535797 [details] [diff] [review]
Patch to add attachment edit link to text emails (v2)
r=LpSolit
Attachment #535797 -
Flags: review?(LpSolit) → review+
Updated•14 years ago
|
Flags: approval?
Summary: Patch attachments should link to the graphic diff view as well as raw attachment → The link for new attachments in bugmail should point to the "Edit" page rather than to the attachment content itself
Target Milestone: --- → Bugzilla 5.0
Assignee | ||
Comment 10•14 years ago
|
||
trunk:
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/trunk
modified template/en/default/bug/format_comment.txt.tmpl
Committed revision 7843.
dkl
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [bmo4.0-resolved]
Assignee | ||
Comment 11•14 years ago
|
||
Damn. I saw the approval flag and thought it was + but it was ?. Should I back out the patch until approval or can I get a quick approval and be done with this?
Sorry
dkl
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 12•14 years ago
|
||
This is minor enough to not break stuff, so let's go for 4.2.
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Flags: approval? → approval+
Resolution: --- → FIXED
Target Milestone: Bugzilla 5.0 → Bugzilla 4.2
Reporter | ||
Comment 13•14 years ago
|
||
So, I actually dislike the implemented solution more than the original situation that caused me to file this. If I'm going to look at a patch, it's either going to be in the raw view that lets me fill my screen with the patch contents, or in the coloured diff view. In my opinion, linking to the Edit view is the worst of all worlds.
Comment 14•14 years ago
|
||
I'm somewhat in accord with jdm on this; I don't really see why we would always link to the edit page, except that it does allow you to at least get other places.
I'm also not sure why we changed this rather broadly-used behavior on the request of a single user.
Comment 15•14 years ago
|
||
As said elsewhere, request emails already point to the edit page, and now we are at least consistent between bugmails and flagmails. Then, in the edit page, your attachment is already displayed as raw data, which is exactly the same as the view page; except that from the edit page, you at least have a chance to a) view the attachment in the diff view if it's a patch, b) set flags and other attachment attributes, c) go directly to its bug (which is not possible in view mode).
About the "request of a single user" argument, I also wanted to make it point to something usable and consistent with flagmails well before this bug was filed. Except that I always considered it minor enough to not spend time on it.
Comment 16•13 years ago
|
||
Okay. Sounds good to me. :-)
You need to log in
before you can comment on or make changes to this bug.
Description
•