Closed
Bug 987237
Opened 11 years ago
Closed 11 years ago
Add Setting for cards view preview behavior
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.4 S5 (11apr)
People
(Reporter: sfoster, Assigned: sfoster)
References
Details
(Whiteboard: [systemsfe])
Attachments
(1 file, 1 obsolete file)
Follow up from bug 972216, where we added the option to show the app icon or the screenshot in the cards view preview - for better performance on lower end devices. This behaviour should be toggleable at runtime via a Setting - and testable.
Assignee | ||
Comment 1•11 years ago
|
||
Fixed unit test failure - moved early return in onviewport to allow the rotation class to get set when using the app icon vs. screenshot in card views. Carrying r+ from alive
Assignee | ||
Comment 2•11 years ago
|
||
(In reply to Sam Foster [:sfoster] from comment #1)
> Fixed unit test failure - moved early return in onviewport to allow the
> rotation class to get set when using the app icon vs. screenshot in card
> views. Carrying r+ from alive
ack. Wrong bug. nm.
Updated•11 years ago
|
Whiteboard: [systemsfe]
Target Milestone: --- → 1.4 S5 (11apr)
Assignee | ||
Comment 3•11 years ago
|
||
I think I got all the details we discussed. I'd like your feedback before I submit for review though. We didn't have any related category for this settings in the developer settings page, so I kinda tacked it on the end? Also if we nominate for uplift to 1.4, does the new string create a problem?
Also, not sure if I'm doing the right thing about the localizable string that new setting requires.
The tests pass for me, do they look ok and like they are testing what you would expect?
Attachment #8401058 -
Flags: feedback?(aus)
Comment 4•11 years ago
|
||
Comment on attachment 8401058 [details] [review]
Add option to display appIcon in cards view
(In reply to Sam Foster [:sfoster] from comment #3)
> Created attachment 8401058 [details] [review]
> Add option to display appIcon in cards view
>
> I think I got all the details we discussed. I'd like your feedback before I
> submit for review though. We didn't have any related category for this
> settings in the developer settings page, so I kinda tacked it on the end?
That should be fine. :)
> Also if we nominate for uplift to 1.4, does the new string create a problem?
We won't request uplift to 1.4 for this so no worries there. If it were to require uplift, I think we would not hold up the release for a missing developer setting string.
> Also, not sure if I'm doing the right thing about the localizable string
> that new setting requires.
Yep, you're doing it right. :)
> The tests pass for me, do they look ok and like they are testing what you
> would expect?
It looks like there are merge conflicts in cards_view.js. :\
For the most part this looks good! Just have to fix those conflicts and get it to a green state. :)
Attachment #8401058 -
Flags: feedback?(aus) → feedback+
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 8401058 [details] [review]
Add option to display appIcon in cards view
Fixed up the merge problem, green on travis.
Attachment #8401058 -
Flags: review?(alive)
Updated•11 years ago
|
Attachment #8401058 -
Flags: review?(alive) → review+
Assignee | ||
Comment 6•11 years ago
|
||
I messed something up and couldn't update the existing pull request. This updated patch just uses SettingsListener per :alive's request, and updates the tests for this change. Carrying r+.
Attachment #8401058 -
Attachment is obsolete: true
Attachment #8402924 -
Flags: review+
Comment 7•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•