Merge lp:~elachuni/ubuntu-webcatalog/featured-apps into lp:ubuntu-webcatalog
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Danny Tamez | ||||
Approved revision: | 69 | ||||
Merged at revision: | 71 | ||||
Proposed branch: | lp:~elachuni/ubuntu-webcatalog/featured-apps | ||||
Merge into: | lp:ubuntu-webcatalog | ||||
Diff against target: |
568 lines (+312/-60) 12 files modified
src/webcatalog/managers.py (+38/-0) src/webcatalog/models/applications.py (+3/-0) src/webcatalog/schema.py (+2/-2) src/webcatalog/static/css/carousel.css (+131/-51) src/webcatalog/static/js/carousel.js (+13/-4) src/webcatalog/templates/webcatalog/exhibits_widget.html (+4/-3) src/webcatalog/templates/webcatalog/featured_apps_widget.html (+52/-0) src/webcatalog/templates/webcatalog/index.html (+6/-0) src/webcatalog/tests/__init__.py (+1/-0) src/webcatalog/tests/test_managers.py (+50/-0) src/webcatalog/tests/test_views.py (+8/-0) src/webcatalog/views.py (+4/-0) |
||||
To merge this branch: | bzr merge lp:~elachuni/ubuntu-webcatalog/featured-apps | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Danny Tamez (community) | Approve | ||
Review via email: mp+96640@code.launchpad.net |
Commit message
Implemented a "featured apps" widget for the front page, similar to the one on https:/
Description of the change
Overview
========
This branch implements a "featured apps" widget for the front page, similar to the one on https:/
Details
=======
No javascript was taken from developer.u.c as we already have a YUI carousel widget in place for the exhibits widget. Instead, I generalized that a bit so that the controls could be placed outside of the main carousel container.
The list of featured apps was added via a setting. The data for each app is taken straight from the database. If anything in the app seems wrong this would need to be customized on the app itself, and currently would be overridden the next time app-install-data is imported.
The tidy solution for this would be to allow per-app customizations, but this was left for another branch.
A very short video showing off the featured apps widget: http://
Nice stuff!