Closed
Bug 730720
Opened 13 years ago
Closed 11 years ago
Crash Reporter -> User Comments: don't remove line breaks
Categories
(Socorro :: General, task)
Socorro
General
Tracking
(Not tracked)
VERIFIED
FIXED
59
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
Assignee | ||
Comment 1•11 years ago
|
||
When we show comments on the report list page we definitely preserve the line breaks.
https://github.com/mozilla/socorro/blob/d643d63f35282346e88127d40d93ae4664af541e/webapp-django/crashstats/crashstats/templates/crashstats/report_list.html#L183
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
https://crash-stats.mozilla.com/report/index/58438e2c-10a6-4823-bdf4-1cb552130906
User Comments: Test because of bug 730720 Line1 Line2 Line3
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
Assignee | ||
Comment 3•11 years ago
|
||
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.
Assignee | ||
Comment 4•11 years ago
|
||
Kairo,
Why does the reportindex have multiple comments? I.e. a Comments tab. Surely one crash just has one comment.
Flags: needinfo?(kairo)
Assignee | ||
Comment 5•11 years ago
|
||
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.
Comment 6•11 years ago
|
||
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)
Assignee | ||
Comment 7•11 years ago
|
||
I'd be happy to remove the Comments tab from reportindex as of this patch. You ok with that Kairo?
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → peterbe
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 8•11 years ago
|
||
(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.
Assignee | ||
Comment 9•11 years ago
|
||
Pull request: https://github.com/mozilla/socorro/pull/1478
Comment 10•11 years ago
|
||
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
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Target Milestone: --- → 59
Comment 11•11 years ago
|
||
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)
Updated•11 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•