Merge lp:~lukas-kde/unity8/fixNotificationsColorWithNewUitk into lp:unity8
| Status: | Merged | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Approved by: | Michael Terry on 2016-03-16 | ||||||||
| Approved revision: | 2279 | ||||||||
| Merged at revision: | 2281 | ||||||||
| Proposed branch: | lp:~lukas-kde/unity8/fixNotificationsColorWithNewUitk | ||||||||
| Merge into: | lp:unity8 | ||||||||
| Diff against target: |
195 lines (+27/-25) 5 files modified
qml/Notifications/Notification.qml (+10/-16) qml/Notifications/Notifications.qml (+2/-0) qml/Notifications/OptionToggle.qml (+1/-1) qml/Shell.qml (+1/-0) tests/qmltests/Notifications/tst_Notifications.qml (+13/-8) |
||||||||
| To merge this branch: | bzr merge lp:~lukas-kde/unity8/fixNotificationsColorWithNewUitk | ||||||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Terry | 2016-03-13 | Approve on 2016-03-16 | |
| Unity8 CI Bot | continuous-integration | Needs Fixing on 2016-03-15 | |
|
Review via email:
|
|||
Commit Message
Fix notifications with the new UITK color schemes
Description of the Change
Fix notifications with the new UITK color schemes
Try to follow the new SDK palette as closely as possible
* Are there any related MPs required for this MP to build/function as expected? Please list.
No
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* Did you make sure that your branch does not contain spurious tags?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
Yes
* If you changed the UI, has there been a design review?
No (altho this patch tries to follow the SDK Palette as closely as possible)
| Daniel d'Andrada (dandrader) wrote : | # |
"""
- readonly property color red: "#fc4949"
- readonly property color green: "#3fb24f"
+ readonly property color red: UbuntuColors.red
+ readonly property color green: UbuntuColors.green
"""
Looks like those red and green properties are now redundant. You could refer directly to UbuntuColors.red and UbuntuColors.green and the code will be clear just the same.
| Michael Terry (mterry) wrote : | # |
Agreed with Daniel.
And what's with the continued use of sdLightGrey and the manually-specified rgba value? Can we replace that with a theme equivalent?
Otherwise, works fine in my brief testing on the phone, and playing with the tryNotifications window (which, if we had more time, I would ask you to expand to include more scenarios, like a light/dark mode toggle).
- 2278. By Lukáš Tinkl on 2016-03-14
-
remove useless aliases for builtin colors
| Lukáš Tinkl (lukas-kde) wrote : | # |
> Agreed with Daniel.
>
> And what's with the continued use of sdLightGrey and the manually-specified
> rgba value? Can we replace that with a theme equivalent?
Yeah, definitely something for the future (most probably together with designers at the upcoming sprint)...
> Otherwise, works fine in my brief testing on the phone, and playing with the
> tryNotifications window (which, if we had more time, I would ask you to expand
> to include more scenarios, like a light/dark mode toggle).
.... and this too
| Lukáš Tinkl (lukas-kde) wrote : | # |
That said, I removed the hardcoded aliases
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2278
https:/
Executed test runs:
SUCCESS: https:/
UNSTABLE: https:/
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
- 2279. By Lukáš Tinkl on 2016-03-15
-
fix the broken binding (reaching out of context)
for inverseMode and make it propertly exported, so that it can
be tested
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2279
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Michael Terry (mterry) wrote : | # |
* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes, everything I tested seemed fine.
* Did CI run pass? If not, please explain why.
No, some weird autopilot env failure
* Did you make sure that the branch does not contain spurious tags?
Yes
It would be nice if we could do something more dynamic for sdLightGrey, but Lukas says there isn't a good replacement in the theme yet.

PASSED: Continuous integration, rev:2277 /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/697/ /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= vivid+overlay, testname= qmluitests. sh/397 /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= xenial, testname= qmluitests. sh/397 /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=phone- armhf,release= vivid+overlay, testname= autopilot. sh/397 /unity8- jenkins. ubuntu. com/job/ build-0- fetch/918 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 934 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial/ 934 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 932 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 932/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial/ 932 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial/ 932/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 932 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 932/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial/ 932 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial/ 932/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 932 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 932/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial/ 932 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial/ 932/artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/697/ rebuild
https:/