Closed Bug 912132 Opened 11 years ago Closed 11 years ago

Ability to configure columns shown on report/list page

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: peterbe, Assigned: peterbe)

References

Details

(Whiteboard: [qa+])

Attachments

(1 file)

Assignee: nobody → peterbe
Status: NEW → ASSIGNED
Depends on: 758054
Selena,

My objective is to extend the reports page (Reports tab on the reports list) with columns from the raw crash. http://cl.ly/RSUn

Currently that table is generated by querying socorro.external.postgresql.report:Report.get_list() which, it appears, simply does a plain select from `reports`.

Can I just add an inner join on `raw_crash` and join on uuid and then include `raw_crash` which is a JSON type?

Does that sound right? Then I can unpack that massive JSON thing when I render the template based on which columns specifically the user has chosen to see.
Flags: needinfo?(sdeckelmann)
Crap crap crap!
I just made that comment on the wrong bug. 

It was supposed to be:
https://bugzilla.mozilla.org/show_bug.cgi?id=889041#c2
Flags: needinfo?(sdeckelmann)
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/a1950641afa2b3e4fc172e01caa1096b31da8455
fixes bug 912132 - Ability to configure columns shown on report/list page, r=adriangaudebert
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
This is a new feature but I'll use familiar language...

Steps to reproduce:

1. Go to Top Crasher
2. Click on any signature
3. Click on the Reports tab
4. Take note of what columns are loaded by default it should be [0]
5. Click the "Change columns in table" link above the table of reports. This should take you to the bottom of the page
6. Add some columns. Remove some columns. Click "Save and reload" (take note of which you changed)

Expected outcome:
1. The table columns should reflect what you changed in step 6. 
2. Reloading the page without changing any columns should remember the columns from step 6. 


[0] 
* Date
* Dup
* Product
* Version
* Build
* OS
* Build Arch
* Reason
* Address
* Crash Type
* Uptime
* Install Time
* Comments
Whiteboard: [qa?]
Target Milestone: --- → 60
Steps to reproduce worked on stage. Tried reloading the page, loading a new report, and loading a new report from a different product/version combo and my column choices were retained across all of them.
Status: RESOLVED → VERIFIED
Whiteboard: [qa?] → [qa+]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: