Closed Bug 730720 Opened 13 years ago Closed 11 years ago

Crash Reporter -> User Comments: don't remove line breaks

Categories

(Socorro :: General, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bugs, Assigned: peterbe)

Details

Attachments

(2 files)

The "Mozilla Crash Reporter" has a textfield for comments where users can use line breaks. But in Socorro -> "User Comments" these line breaks are missing. The text is in one single line. So sometimes it is not easy to read comments. In my example you can see "Launch Experiment" but it don't belongs to the url. But it is visible in one line and can be misunderstood that is should be belong to the url. Now: User Comments = http://www.chromeexperiments.com/detail/fireworks/?f= Launch Experiment Should be: User Comments = http://www.chromeexperiments.com/detail/fireworks/?f= Launch Experiment Example: https://crash-stats.mozilla.com/report/index/bp-7fad7caa-62d1-4539-9a95-151ce2120226
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
A ha! I see. One thing I'm royally confused about is why does that just show one comment and clicking the Comments tab show all 7 tabs.
Kairo, Why does the reportindex have multiple comments? I.e. a Comments tab. Surely one crash just has one comment.
Flags: needinfo?(kairo)
Pull request: https://github.com/mozilla/socorro/pull/1478 It's still a bit of a mystery to me why we have comments by signature on the report index page.
reports/index should not have a "Comments" tab, I think, that should be on reports/list only. Still, the Comments tab shows stuff correctly, the actual field list on the Details tab doesn't.
Flags: needinfo?(kairo)
I'd be happy to remove the Comments tab from reportindex as of this patch. You ok with that Kairo?
Assignee: nobody → peterbe
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
(In reply to Peter Bengtsson [:peterbe] from comment #7) > I'd be happy to remove the Comments tab from reportindex as of this patch. > You ok with that Kairo? Yes, that tab is confusing there, and we link to "More Reports" anyhow where people can get a less confusing "Comments" tab.
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/015abeb466adafbe6c2fcf5ff7351d318f83b15f fixes bug 730720 - Crash Reporter -> User Comments: don't remove line breaks, r=lonnen
Status: ASSIGNED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 59
Attached image qa - verified on stage
QA verified on stage: - comments tab removed from /report/index in both the admin & non-admin views - comments contain the proper line breaks (https://crash-stats.allizom.org/report/index/5715203a-d441-4fff-aa34-4b1aa2130908)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: