Merge lp:~michihenning/unity-scopes-api/fallback-image into lp:unity-scopes-api
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Paweł Stołowski on 2015-01-08 | ||||
| Approved revision: | 279 | ||||
| Merged at revision: | 276 | ||||
| Proposed branch: | lp:~michihenning/unity-scopes-api/fallback-image | ||||
| Merge into: | lp:unity-scopes-api | ||||
| Diff against target: |
201 lines (+57/-15) 6 files modified
CMakeLists.txt (+1/-1) RELEASE_NOTES.md (+12/-0) debian/changelog (+14/-0) include/unity/scopes/PreviewWidget.h (+4/-2) src/scopes/CategoryRenderer.cpp (+17/-9) src/scopes/PreviewWidget.cpp (+9/-3) |
||||
| To merge this branch: | bzr merge lp:~michihenning/unity-scopes-api/fallback-image | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Paweł Stołowski | 2015-01-06 | Approve on 2015-01-08 | |
| Michał Sawicz | 2015-01-06 | Approve on 2015-01-08 | |
| Facundo Batista (community) | 2015-01-06 | Approve on 2015-01-08 | |
| PS Jenkins bot | continuous-integration | Approve on 2015-01-08 | |
|
Review via email:
|
|||
Commit Message
Added "art-fallback" entry to "components" dictionary of the category renderer to allow a fallback image to be specified in case the art URI of a result cannot be retrieved.
Description of the Change
Added "art-fallback" entry to "components" dictionary of the category renderer to allow a fallback image to be specified in case the art URI of a result cannot be retrieved.
| Michi Henning (michihenning) wrote : | # |
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:276
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Michi Henning (michihenning) wrote : | # |
Marking as "In progress" because it looks like there is a whole bunch of other undocumented fields. See the linked bug, and please comment there, so we don't fragment the discussion.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:277
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Michał Sawicz (saviq) wrote : | # |
Some inline comments.
On top of that, we probably need something similar for the preview widgets (gallery, image and header widgets). These would have to be just per-widget properties I think. Basically an additional "fallback" field for each of them.
- 278. By Michi Henning on 2015-01-07
-
Fixed release notes and changelog.
Made fallback a field of the "art" and "mascot" dictionaries.
Removed fallback for emblem. - 279. By Michi Henning on 2015-01-07
-
Added "fallback" field to image, gallery, and header preview widgets.
| Michi Henning (michihenning) wrote : | # |
Thanks for the review! I agree, adding "fallback" into the existing "art" and "mascot" dictionaries is cleaner.
I've removed the emblem fallback, and I added "fallback" fields for the image, gallery, and header preview widgets.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:279
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://

Facundo, I added you to the reviewer list because, for this to work, remote scopes also need to provide a fallback image.