Closed
Bug 1493253
Opened 6 years ago
Closed 5 years ago
Embed crash count table to bug pages
Categories
(bugzilla.mozilla.org :: Extensions, enhancement)
Tracking
()
RESOLVED
FIXED
People
(Reporter: kohei, Assigned: kohei)
References
Details
Attachments
(3 files)
This is a request from the Release Management team. The goal is to embed a crash count data table, currently offered as a Firefox WebExtension [1], to bug pages where applicable, just like the Socorro crash graph, so no extension will be needed to see the numbers. It could be a big table, like Bug 1463048. Given that some of the team members are still using the legacy UI, it has to be embedded into both modal and non-modal bug pages. [1] https://addons.mozilla.org/firefox/addon/bugzilla-crash-stop/ Details of the extension: https://github.com/mozilla/crash-stop-addon https://crash-stop-addon.herokuapp.com/
Assignee | ||
Comment 1•6 years ago
|
||
I think all I have to do here is * Include https://github.com/mozilla/crash-stop-addon/blob/master/webextension/content.js in the BMO extension * Rewrite the script to encapsulate the functions in a class * Add a CSP to allow relevant URLs including https://crash-stop-addon.herokuapp.com * No template modifications
Component: User Interface → Extensions: BMO
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
So far you have to set up a local Vagrant VM as explained in the README, clone my PR, and file a test bug with crash signature(s). I just re-tested this on my own VM; can see the table with no CSP errors but the height of the <iframe> is wrong (only 25px) perhaps because my test bug isn't fulfilled with repo links and tracking flags. Will check with someone tomorrow if this could be tested on the public dev server. https://github.com/mozilla-bteam/bmo/blob/master/README.rst
Flags: needinfo?(kohei.yoshino)
Assignee | ||
Comment 5•6 years ago
|
||
The change will be deployed to https://bugzilla-dev.allizom.org/ tomorrow for testing.
Assignee | ||
Comment 6•6 years ago
|
||
I have checked crash bugs on -dev randomly and confirmed crash tables are displayed properly. e.g. https://bugzilla-dev.allizom.org/show_bug.cgi?id=1377387
Assignee | ||
Comment 7•6 years ago
|
||
My PR is ready to get merged. Let me know when the buildhub issue is solved.
Flags: needinfo?(cdenizet)
Comment 8•6 years ago
|
||
:kohei, unfortunately, buildhub is still lagging... so need to wait. So I'll ping you as soon as buildhub is fixed.
Flags: needinfo?(cdenizet)
Assignee | ||
Comment 9•5 years ago
|
||
Merged to master as the buildhub issue has been solved.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•5 years ago
|
||
The frame-src
CSP is missing :(
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 11•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Status: REOPENED → RESOLVED
Closed: 5 years ago → 5 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 12•5 years ago
•
|
||
One more thing requested by calixte: bump the VERSION to 0.4.0 so the server can block queries from the Firefox extension.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 13•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Status: REOPENED → RESOLVED
Closed: 5 years ago → 5 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: Extensions: BMO → Extensions
You need to log in
before you can comment on or make changes to this bug.
Description
•