Closed Bug 541176 Opened 15 years ago Closed 13 years ago

link "back" to signature overview from individual crash pages

Categories

(Socorro :: General, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bugzilla-graveyard, Assigned: espressive)

References

()

Details

Attachments

(3 files)

Currently, the only way to search on a signature given a specific Breakpad report (e.g. bp-9254eeea-0115-445b-b72f-7eb8f2100121 ) is to copy the signature and paste it into the search field. It'd be nice if at least one of the signatures on the page were linked to a search for that signature. I'd suggest the one just below the crash ID (above the "Details" tab).
(In reply to comment #0)
Good point. We'll add a link that is into the search with product, version, signature (exact match), for last 2 weeks.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Crash-stats should auto-linkify signatures for easier searching → link "back" to signature overview from individual crash pages
1) I assume we want a back link on pages such as these:
https://crash-stats.mozilla.com/report/index/c624ff62-f49c-41de-a7be-efdf42111021

to the over page, such as this:
https://crash-stats.mozilla.com/report/list?range_value=7&range_unit=days&date=2011-10-24%2003%3A00%3A00&signature=nsHtml5Tokenizer%3A%3AstateLoop%28int%2C%20wchar_t%2C%20int%2C%20wchar_t%2A%2C%20bool%2C%20int%2C%20int%29&version=Firefox%3A10.0a1

2) "Crash-stats should auto-linkify signatures for easier searching" - This one is resolved correct?
The link could even be https://crash-stats.mozilla.com/report/list?signature=nsHtml5Tokenizer%3A%3AstateLoop%28int%2C%20wchar_t%2C%20int%2C%20wchar_t%2A%2C%20bool%2C%20int%2C%20int%29 or to a prefilled search form.
So basically strip out everything except the signature from the URL and redirect there. So we loose the ranges, date etc. I am thinking the link text would then be something like "Back to current signature overview"

In terms of a prefilled search form:

1) We will then link to https://crash-stats.mozilla.com/query, have the advanced fields expanded and Stack signature filled with nsHtml5Tokenizer::stateLoop(int, wchar_t, int, wchar_t*, bool, int, int)
2) The link text would then read "New search with current signature'
(In reply to Schalk Neethling from comment #4)
> So basically strip out everything except the signature from the URL and
> redirect there. So we loose the ranges, date etc.

Well, the page that will have the link doesn't know about a range, date, etc. so I don't think it reasonably can link to one unless we're using a default. And I would just place the link on the signature in the list, no need for a different link text.

> In terms of a prefilled search form:
> 
> 1) We will then link to https://crash-stats.mozilla.com/query, have the
> advanced fields expanded and Stack signature filled with
> nsHtml5Tokenizer::stateLoop(int, wchar_t, int, wchar_t*, bool, int, int)

Exactly.

> 2) The link text would then read "New search with current signature'

As above, I'd just make the signature be the link, no need for a different link text. :)
[:kairo] I find that for most the signature is as follows:

Signature: (null signature)
[:kairo@mozilla.com] Ok, if you follow a defined path i.e.

Select product > version > top crashers > click on signature > click on date, then the signature are fine and I am not getting the null signature's as mentioned above.
Attached image Signature linked β€”
Is this what you had in mind?
Attachment #569331 - Flags: review?
(In reply to Schalk Neethling from comment #8)
> Created attachment 569331 [details]
> Signature linked
> 
> Is this what you had in mind?

That works as well, though I would have done it on the one that is in the table inside the tab. Still, any of them works.
Attached image An alternative β€”
Optionally we can have both as in the screen shot

overview will link to https://crash-stats.mozilla.com/report/list?signature=nsHtml5Tokenizer%3A%3AstateLoop%28int%2C%20wchar_t%2C%20int%2C%20wchar_t%2A%2C%20bool%2C%20int%2C%20int%29

And then search will link to the prefilled form as discussed.
Attached image Another possible alternative β€”
(In reply to Schalk Neethling from comment #11)
> Created attachment 569349 [details]
> Another possible alternative

I like that one in principle, but "Overview" is too unclear for me, what about something like "All reports" or "More reports" or "Report list" or just "List".
[:kairo@mozilla.com] Cool, I am going to go with 'More reports'. Thanks for the feedback KaiRo
Status: NEW → ASSIGNED
Depends on: 650447
Target Milestone: --- → 2.3.4
https://github.com/mozilla/socorro/pull/146
Assignee: nobody → sneethling
The code works, but you've made the links so bold and near the center that they dominate the rest of the page and distract. Can you tone them down a bit, visually? I wouldn't be opposed to sliding them over to the side of the <td> either, but that might be overkill.
[:lonnen] Thanks for the feedback. Honestly, other then hacking the HTML in Firebug I could not test this as I do not have access to the individual report pages on my dev instance.

I have one on Khan now that points to the stage db so, will be able to fine tune this one there.
[:lonnen] Updated pull request
Commit pushed to https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/70bba609ff1b4097579951578dd74991009904f8
Merge pull request #146 from ossreleasefeed/improve-sig-search

fixes bug 541176 - link "back" to signature overview from individual crash pages
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Unable to verify on the following error message: "Disallowed key characters in global data."

Steps to reproduce:
1. goto https://crash-stats.allizom.org/report/index/764aca88-35d5-4fbe-8d4d-a43592111204
2. click on either "More reports" or "Search" link

Actual:
The following error message is returned ""Disallowed key characters in global data."

Is this a Zeus caching problem?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Fixed url encoding :: https://github.com/mozilla/socorro/pull/202
Commit pushed to https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/99c7905c981c1f5e58617a12b930dde4b047966a
Merge pull request #202 from ossreleasefeed/improve-sig-search

encoding signature for URL :: Fixes bug 541176
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
QA verified on dev. Thank Schalk.
Status: RESOLVED → VERIFIED
Commit pushed to https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/99c7905c981c1f5e58617a12b930dde4b047966a
Merge pull request #202 from ossreleasefeed/improve-sig-search
Component: Socorro → General
Product: Webtools → Socorro
Comment on attachment 569331 [details]
Signature linked

Clearing unassigned review requests from this bug since it's already marked as fixed. If there are remaining issues, please file a new bug with new patch, and request review from a specific reviewer.
Attachment #569331 - Flags: review?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: