Closed Bug 608259 Opened 16 years ago Closed 13 years ago

Improve usability of socorro queries.

Categories

(Socorro :: General, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 678101

People

(Reporter: chofmann, Unassigned)

References

Details

(Whiteboard: [search])

I got this report in bug 585972 and I see it fairly frequently myself. > chofmann: i can't get crash-stats to work at all. it's driving me batty. > You can't Edit an existing Query. > Most of my queries fail and give **** errors. > > <No Data|This query or location currently has no data.> > I see some of this myself. I think there might be several bugs that combine to make the query system difficult to use. Maybe this is the tracking bug for gathering info and then we spin off individual bugs for short and longer term solutions. First thing I see is that when cutting and pasting into the signature field I think plain text v. html paste problems might be getting in the way of getting the right info for the query. The result is that pasting what I believe is a valid signature with in the Stack Signature "is exactly" field results in <No Data|This query or location currently has no data.> message. If I change selection to -- Stack Signature "contains" -- I can get either the intended query results, or at least a list of signatures that contains the signature that I'm interested in looking at. I'm not sure if its extra control characters at the start of the paste string, or embedded with the signature string are not interpreted correctly. This doesn't happen all the time with all cut and paste operations. I'll need to find a particular test case that demonstrates this and add to the bug. The general sequence is to cut from a bugzilla title or content that contains a signature, the paste that into http://crash-stats.mozilla.com/query and submit. Second thing I see is that there is no easy way from query results to easily get back to editing the query to narrow or expand the search criteria. You basically have to start over on a blank query page at http://crash-stats.mozilla.com/query That sequence looks like 1. build a query and sumbit http://crash-stats.mozilla.com/query/query?product=Firefox&version=ALL%3AALL&range_value=1&range_unit=weeks&date=10%2F29%2F2010+07%3A11%3A01&query_search=signature&query_type=exact&query=nvapi.dll%400x4683e+&build_id=&process_type=any&hang_type=any&do_query=1 2. click on a signature and get results. http://crash-stats.mozilla.com/report/list?product=Firefox&query_search=signature&query_type=exact&query=nvapi.dll%400x4683e&date=10%2F29%2F2010%2007%3A11%3A01&range_value=1&range_unit=weeks&hang_type=any&process_type=any&plugin_field=&plugin_query_type=&plugin_query=&do_query=1&admin=&signature=nvapi.dll%400x4683e 3. decide I want to look at something other than "Results within 1 weeks of 10/29/2010 07:11:01, where the crash signature is exactly 'nvapi.dll@0x4683e'," maybe changing or removing 1 week limitation. This results page should have a link to "edit this query" to improve usability. The third thing is that the default for a query results page should not default to including the end date like &date=10%2F29%2F2010%2007%3A24%3A25 The sequence that is causing trouble here is build a query to find a set of reports like http://crash-stats.mozilla.com/query/query?product=Firefox&version=ALL%3AALL&range_value=1&range_unit=weeks&date=&query_search=signature&query_type=exact&query=nvapi.dll%400x4683e&build_id=&process_type=any&hang_type=any&do_query=1 It produces this list of signatures. http://crash-stats.mozilla.com/report/list?product=Firefox&query_search=signature&query_type=exact&query=nvapi.dll%400x4683e&date=10%2F29%2F2010%2007%3A24%3A25&range_value=1&range_unit=weeks&hang_type=any&process_type=any&plugin_field=&plugin_query_type=&plugin_query=&do_query=1&admin=&signature=nvapi.dll%400x4683e that query string gets cut and pasted from the location bar into a bug comment about how to find a set of interesting reports. Someone comes along later and clicks on the link, gets a set of reports that are cut off at a particular time and get misinterpreted that the crash is not appearing anymore. the fact that the date=10%2F29%2F2010%2007%3A24%3A25 part of the query string is getting in the way of seeing recent reports is lost on person trying to get results. I'll let others refine or add to this list.
(In reply to comment #0) > I got this report in bug 585972 and I see it fairly frequently myself. > > > chofmann: i can't get crash-stats to work at all. it's driving me batty. > > You can't Edit an existing Query. > > Most of my queries fail and give crappy errors. > > > > <No Data|This query or location currently has no data.> > > > > I see some of this myself. I think there might be several bugs that combine to > make the query system difficult to use. Maybe this is the tracking bug for > gathering info and then we spin off individual bugs for short and longer term > solutions. > > First thing I see is that when cutting and pasting into the signature field I > think plain text v. html paste problems might be getting in the way of getting > the right info for the query. The result is that pasting what I believe is a > valid signature with in the > > Stack Signature "is exactly" > > field results in <No Data|This query or location currently has no data.> > message. > > If I change selection to -- Stack Signature "contains" -- I can get either the > intended query results, or at least a list of signatures that contains the > signature that I'm interested in looking at. I'm not sure if its extra control > characters at the start of the paste string, or embedded with the signature > string are not interpreted correctly. This doesn't happen all the time with > all cut and paste operations. I'll need to find a particular test case that > demonstrates this and add to the bug. The general sequence is to cut from a > bugzilla title or content that contains a signature, the paste that into > http://crash-stats.mozilla.com/query and submit. same here. perhaps any trailing or leading space? that shouldn't be a problem because of Bug 502699 - trim leading and trailing whitespace from signature input. But I could swear I've hit recent examples of that. I'll have to find a sample (or recant my assertion). > Second thing I see is that there is no easy way from query results to easily > get back to editing the query to narrow or expand the search criteria. You > basically have to start over on a blank query page at > http://crash-stats.mozilla.com/query > > That sequence looks like > > 1. build a query and sumbit > > http://crash-stats.mozilla.com/query/query?product=Firefox&version=ALL%3AALL&range_value=1&range_unit=weeks&date=10%2F29%2F2010+07%3A11%3A01&query_search=signature&query_type=exact&query=nvapi.dll%400x4683e+&build_id=&process_type=any&hang_type=any&do_query=1 > > 2. click on a signature and get results. > > http://crash-stats.mozilla.com/report/list?product=Firefox&query_search=signature&query_type=exact&query=nvapi.dll%400x4683e&date=10%2F29%2F2010%2007%3A11%3A01&range_value=1&range_unit=weeks&hang_type=any&process_type=any&plugin_field=&plugin_query_type=&plugin_query=&do_query=1&admin=&signature=nvapi.dll%400x4683e > > 3. decide I want to look at something other than "Results within 1 weeks of > 10/29/2010 07:11:01, where the crash signature is exactly 'nvapi.dll@0x4683e'," > maybe changing or removing 1 week limitation. > > This results page should have a link to "edit this query" to improve usability. nice idea. Editing URL is a pain. (though workable in most cases) > The third thing is that the default for a query results page should not default > to including the end date like &date=10%2F29%2F2010%2007%3A24%3A25 > > The sequence that is causing trouble here is build a query to find a set of > reports like > > http://crash-stats.mozilla.com/query/query?product=Firefox&version=ALL%3AALL&range_value=1&range_unit=weeks&date=&query_search=signature&query_type=exact&query=nvapi.dll%400x4683e&build_id=&process_type=any&hang_type=any&do_query=1 > > It produces this list of signatures. > > http://crash-stats.mozilla.com/report/list?product=Firefox&query_search=signature&query_type=exact&query=nvapi.dll%400x4683e&date=10%2F29%2F2010%2007%3A24%3A25&range_value=1&range_unit=weeks&hang_type=any&process_type=any&plugin_field=&plugin_query_type=&plugin_query=&do_query=1&admin=&signature=nvapi.dll%400x4683e > > that query string gets cut and pasted from the location bar into a bug comment > about how to find a set of interesting reports. > > Someone comes along later and clicks on the link, gets a set of reports that > are cut off at a particular time and get misinterpreted that the crash is not > appearing anymore. the fact that the date=10%2F29%2F2010%2007%3A24%3A25 part > of the query string is getting in the way of seeing recent reports is lost on > person trying to get results. At first I hated date+time in the URL, and thought I would continue to hate it because my practice had been to often refresh the results at a future date. But I now find I like it because I can paste a results link somewhere and be assured that the next person using the link will see exactly what I saw. So I think I'd like to see it remain, but have date+time string at the trailing end of the URL to make it easier to remove when the need dictates. And/or, have a checkbox in the query form to not emit date+time in the URL.
Depends on: 608418
I filed bug 608418 based on one failed test result. (I hope it's not bogus) Note: search will fail if the signature put in the Find Crash ID or Signature doesn't occur if the default PRODUCT (or last product) shown in the query page. So for example, my default for crash-status is Thunderbird. If I paste in nsRuleNode::GetStyleData I get No results were found and the URL is https://crash-stats.mozilla.com/query/query?do_query=1&product=Thunderbird&version=Thunderbird%3A&query_search=signature&query_type=exact&query=nsRuleNode%3A%3AGetStyleData
thanks for filing this. sorry, i'm exhausted.
I've had problems trying to find reports for this bug a couple of times, and socorro isn't associating the signature from the bug title (but maybe that's a different bug) https://bugzilla.mozilla.org/show_bug.cgi?id=618832 [@ nsIFrame::InvalidateWithFlags(nsRect const&, unsigned int) ] [@ nsIFrame::InvalidateWithFlags ]
(In reply to comment #4) > I've had problems trying to find reports for this bug a couple of times, and > socorro isn't associating the signature from the bug title (but maybe that's a > different bug) ref Bug 566886 - query builder for crash signature linkage to bug#
Component: Socorro → General
Product: Webtools → Socorro
Whiteboard: [search]
Depends on: 656297
Depends on: 678101
I think this bug is mostly a duplicate of bug 678101, the tracker for the new search UI called "supersearch". Most of the work is done and available in production: https://crash-stats.mozilla.com/search/
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.