Closed Bug 575707 Opened 16 years ago Closed 16 years ago

Add ability to change the three releases displayed on crash-stats home

Categories

(Socorro :: General, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: damons, Assigned: ryansnyder)

References

()

Details

Attachments

(1 file)

Currently, https://crash-stats.mozilla.com/products/Firefox displays 3.6.6, 3.7a5, and 3.7a6pre. Would like the ability to change these to display releases that actually matter, as they change. i.e., right now: 3.6.3, 3.6.6, and 4.0beta1
Not high priority. No reason to change course or do any special deployments. Just want to make the main page a little more useful.
Damon, how often do you foresee needing to update the 3 versions listed for the homepage? Once per week? Per 2 weeks? Per month?
When we add this, we should leave the ability to automatically populate the dashboard. This new manual setting will be an override. Fresh installs of Socorro will still automatically show latest major, milestone, and development builds.
Assignee: nobody → ryan
Target Milestone: --- → 1.8
This patch adds the ability for an admin to select which versions will be displayed on the dashboard for each product. If no versions are selected for a product, the highest numbered Major, Milestone and Dev versions will be featured in the product dashboard. Versions may be declared featured versions in the branches admin page. Will require the following alteration to the product_visibility table: ALTER TABLE product_visibility ADD featured boolean default false; There's a decent amount of refactoring here in MY_Controller, in order to ensure that we're practicing DRY.
Attachment #458112 - Flags: review?(ozten.bugs)
Attachment #458112 - Flags: feedback?
Attachment #458112 - Flags: feedback? → feedback?(lars)
Documentation for the branches admin page is now available at - http://code.google.com/p/socorro/wiki/SocorroUIAdmin
Comment on attachment 458112 [details] [diff] [review] Patch 1 for 575707 Nice work! I like that they can control which products are feature now. Good cleanup on My_Controller.
Attachment #458112 - Flags: review?(ozten.bugs) → review+
(In reply to comment #5) Awesome, thanks for writing documentation in the wiki.
Thanks Austin. Committed. Will update rollout instructions for 1.8 on the wiki. == Sending socorro/database/schema.py Sending webapp-php/application/controllers/admin.php Sending webapp-php/application/controllers/products.php Sending webapp-php/application/controllers/query.php Sending webapp-php/application/controllers/status.php Sending webapp-php/application/controllers/topcrasher.php Sending webapp-php/application/libraries/MY_Controller.php Sending webapp-php/application/libraries/MY_QueryFormHelper.php Sending webapp-php/application/models/branch.php Sending webapp-php/application/views/admin/branch_data_sources.php Sending webapp-php/application/views/common/query_form.php Sending webapp-php/application/views/layout.php Sending webapp-php/css/screen.css Sending webapp-php/js/socorro/admin.js Transmitting file data .............. Committed revision 2232.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Ran into issues on stage with browsers that had not previously visited the site. Found the issue in MY_Controller, which was incorrectly interpreting an array of products. == Sending libraries/MY_Controller.php Transmitting file data . Committed revision 2248.
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Admin panel allows user to select featured versions. Those featured versions appear in navigation bar and dashboard.
Status: RESOLVED → VERIFIED
Attachment #458112 - Flags: feedback?(lars)
Was merged in 1.7.5 - ryan to provide bug #
Target Milestone: 1.8 → 1.7.5
Component: Socorro → General
Product: Webtools → Socorro
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: