Closed
Bug 908469
Opened 11 years ago
Closed 11 years ago
Show all metadata in the individual report page
Categories
(Socorro :: Webapp, task)
Socorro
Webapp
Tracking
(Not tracked)
RESOLVED
FIXED
68
People
(Reporter: benjamin, Assigned: peterbe)
References
Details
(Whiteboard: [qa+])
Attachments
(2 files)
Now that we have an API whitelist: can we please include all the public raw-crash items on the report/index page (for all users), and if possible include all metadata for logged-in users?
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → peterbe
Status: NEW → ASSIGNED
Comment 2•11 years ago
|
||
It would be cool if the default whitelist was really tiny, so that non-Mozilla users didn't have a bunch of useless fields cluttering up their report/index.
Comment 3•11 years ago
|
||
Oh, from the bug you just duped: is the whitelist editable from the admin UI, or is it a config setting that needs tweaking? Because that was the main point of that bug: to allow for adding fields to the display without requesting someone to make a code or config change.
Reporter | ||
Comment 4•11 years ago
|
||
I don't know whether the whitelist is editable from the admin UI currently, but it was discussed at the workweek.
But I don't understand "the default whitelist was really tiny". The whitelist is as big as possible, for the most part only omitting the fields which we don't know about at all or those which have private data.
Comment 5•11 years ago
|
||
Yes, the whitelist should be as large as possible (and editable from an admin UI in the long run), but the default set of fields shown on report/list should stay the same small amount we have now (but people will be able to add/remove any field from the whitelist there).
Reporter | ||
Comment 6•11 years ago
|
||
I strongly disagree, which is why I filed the bug. The set of fields on report/list should be all the public metadata.
Comment 7•11 years ago
|
||
(In reply to Benjamin Smedberg [:bsmedberg] from comment #6)
> I strongly disagree, which is why I filed the bug. The set of fields on
> report/list should be all the public metadata.
Not the default set of columns, and that's what I meant. All fields should be available to put on there though, yes, we agree on that. The default table should not have a hundred columns or so, though. ;-)
Reporter | ||
Comment 8•11 years ago
|
||
I'm not sure what "available" means to you. If you're saying that we should display a little table with basic facts and hide the other metadata behind a rollup or in another tab, that's ok. If you're saying that we'd still need to turn other fields on using admin UI or patches, then I disagree quite strongly.
Assignee | ||
Comment 9•11 years ago
|
||
Ted,
The whitelist is currently neither Admin UI or a config setting. It's hardcoded [0]
The plan is to put these into the database so it can be managed with the Admin UI but no timeline yet.
Kairo, Benjamin,
We're talking about the report index page here right? Then each field is a row. On the report LIST each field would be a column. That bug is https://bugzilla.mozilla.org/show_bug.cgi?id=889041.
And here's what it would look like when you can include any of the raw crash fields http://cl.ly/RaJc and http://cl.ly/Rb0U (note the looong vertical scrolling).
The question is; how do you want to display all other raw and processed fields on the report INDEX. E.g. [1]? I would probably suggest a new tab that shows ALL fields from raw crash and processed crash that you are allowed to see. Without an fancy formatting or handcoded labels.
Then we get a mix of the most interesting fields first but access to EVERYTHING one click away. If we go down that route we can reduce the current table. For example, do we really need EMCheckCompatibility on the main Details table?
[0] https://github.com/mozilla/socorro/blob/master/webapp-django/crashstats/crashstats/models.py#L818-L881
[1] https://crash-stats.mozilla.com/report/index/1e9ad852-c684-4d6f-a162-5863d2130925#details
Assignee | ||
Comment 10•11 years ago
|
||
By the way, having a dedicated tab for ALL fields on the report index would save us from having to build something where the user can pick and mix which fields she wants to see.
Comment 11•11 years ago
|
||
(In reply to Peter Bengtsson [:peterbe] from comment #9)
> Kairo, Benjamin,
> We're talking about the report index page here right? Then each field is a
> row.
Oh, right, I was indeed confusing this with bug 889041.
> I would probably suggest a new tab
> that shows ALL fields from raw crash and processed crash that you are
> allowed to see. Without an fancy formatting or handcoded labels.
I actually like that idea, makes this much easier to do.
Reporter | ||
Comment 12•11 years ago
|
||
Yes, we should show all raw and process fields in a new tab: at the same time we can remove a bunch of fields from the main page, leaving only the following fields in the current table:
Signature, UUID, Date Processed, Product, Version, BuildID, Release Channel, OS, Crash Reason, Crash Address, User Comments.
Comment 13•11 years ago
|
||
I'm not sure about the removals from the main tab, we should think that through carefully. In addition, it's probably cleaner to do the adding of the new tab and the removal on the main one in two different bugs.
Assignee | ||
Comment 14•11 years ago
|
||
Assignee | ||
Comment 15•11 years ago
|
||
QA Steps to "reproduce"
0. NOT logged in
1. Load a crash report. E.g. https://crash-stats.mozilla.com/report/index/079ac874-1e8b-40a8-8d74-2b6452131115
2. There should be 6 "sub tabs". Second one being "Raw Details"
3. Expect nothing sensitive to be shown on that tab like URL or Email address
0. LOGGED in
1. Same as above
2. Same as above
4. Expect to see URL and Email address fields on the Raw Details tab
Whiteboard: [qa+]
Comment 16•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/affff2c1f3b98a7980c31672773f50e895c5dcb8
fixes bug 908469 - Show all metadata in the individual report page, r=adrian
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Target Milestone: --- → 67
Comment 17•11 years ago
|
||
Reopening:
I see discrepancies in the implementation based off of the spec outlined in comment 15 for the logged out view. Also the spacing of the different fields under the "MetaData" tab should be cleaned up to match the "Details" tab for consistency (see screenshot).
not logged in:
0. goto https://crash-stats.allizom.org/report/index/3052455e-f5bc-4f28-9f22-c87232131121
Expected (per comment 15):
- 6 tabs, 2nd tab is "Raw Details
Actual:
- 5 tabs (Details, Metadata, Modules, Raw Dump, Extensions); expected 6
- 2nd tab is labeled "MetaData," not "RawData"
- field under the "MetaData" tab should have the extra spacing removed
Updated•11 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 18•11 years ago
|
||
(In reply to Matt Brandt [:mbrandt] from comment #17)
> - 2nd tab is labeled "MetaData," not "RawData"
That's an intended change per the discussion in the PR.
Comment 19•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/d9179ecae04909e6994fbb3d571638eb9792c7f6
fixes bug 908469 - more Metadata tab fixes
https://github.com/mozilla/socorro/commit/3eac28415f7f30c26f58f4ec1ba1f569a139e074
Merge pull request #1688 from peterbe/bug-908469-more-metadata-tab-fixes
fixes bug 908469 - more Metadata tab fixes
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Target Milestone: 67 → 68
You need to log in
before you can comment on or make changes to this bug.
Description
•