Merge lp:~cimi/unity8/more-dash-visual-tweaks into lp:unity8

Proposed by Andrea Cimitan
Status: Merged
Approved by: Albert Astals Cid
Approved revision: 2668
Merged at revision: 2684
Proposed branch: lp:~cimi/unity8/more-dash-visual-tweaks
Merge into: lp:unity8
Prerequisite: lp:~aacid/unity8/dashPreviewTableFixed1stColumnWidth
Diff against target: 113 lines (+7/-45)
3 files modified
qml/Dash/DashPageHeader.qml (+0/-1)
qml/Dash/GenericScopeView.qml (+0/-36)
qml/Dash/Previews/PreviewAudioPlayback.qml (+7/-8)
To merge this branch: bzr merge lp:~cimi/unity8/more-dash-visual-tweaks
Reviewer Review Type Date Requested Status
Albert Astals Cid (community) Approve
Unity8 CI Bot continuous-integration Needs Fixing
Review via email: mp+309956@code.launchpad.net

Commit message

More visual tweaks

Description of the change

 * Are there any related MPs required for this MP to build/function as expected? Please list.
n
 * Did you perform an exploratory manual test run of your code change and any related functionality?
y
 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
n/a
 * If you changed the UI, has there been a design review?
n/a

To post a comment you must log in.
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

FAILED: Continuous integration, rev:2668
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/2469/
Executed test runs:
    FAILURE: https://unity8-jenkins.ubuntu.com/job/build/3247/console
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/3275
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=vivid+overlay/3129
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=vivid+overlay/3129/artifact/output/*zip*/output.zip
    FAILURE: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/3129/console
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/3129
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/3129/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=vivid+overlay/3129
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=vivid+overlay/3129/artifact/output/*zip*/output.zip
    FAILURE: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/3129/console
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/3129
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/3129/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=vivid+overlay/3129
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=vivid+overlay/3129/artifact/output/*zip*/output.zip
    FAILURE: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/3129/console
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/3129
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/3129/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/2469/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Albert Astals Cid (aacid) wrote :

If that's what design wants i see nothing wrong with the code

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qml/Dash/DashPageHeader.qml'
2--- qml/Dash/DashPageHeader.qml 2016-08-16 14:06:26 +0000
3+++ qml/Dash/DashPageHeader.qml 2016-11-03 13:55:29 +0000
4@@ -327,7 +327,6 @@
5 anchors {
6 verticalCenter: parent.verticalCenter
7 right: parent.right
8- rightMargin: units.gu(2)
9 leftMargin: units.gu(1)
10 }
11 }
12
13=== modified file 'qml/Dash/GenericScopeView.qml'
14--- qml/Dash/GenericScopeView.qml 2016-09-22 10:33:39 +0000
15+++ qml/Dash/GenericScopeView.qml 2016-11-03 13:55:29 +0000
16@@ -593,31 +593,6 @@
17 color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
18 }
19 }
20-
21- Image {
22- visible: index != 0
23- anchors {
24- top: parent.top
25- left: parent.left
26- right: parent.right
27- }
28- fillMode: Image.Stretch
29- source: "graphics/dash_divider_top_lightgrad.png"
30- z: -1
31- }
32-
33- Image {
34- // FIXME Should not rely on model.count but view.count, but ListViewWithPageHeader doesn't expose it yet.
35- visible: index != categoryView.model.count - 1
36- anchors {
37- bottom: seeAll.bottom
38- left: parent.left
39- right: parent.right
40- }
41- fillMode: Image.Stretch
42- source: "graphics/dash_divider_top_darkgrad.png"
43- z: -1
44- }
45 }
46
47 sectionProperty: "name"
48@@ -789,17 +764,6 @@
49 color: scopeStyle ? scopeStyle.foreground : theme.palette.normal.baseText
50 }
51
52- Image {
53- anchors {
54- bottom: parent.bottom
55- left: parent.left
56- right: parent.right
57- }
58- fillMode: Image.Stretch
59- source: "graphics/dash_divider_top_darkgrad.png"
60- z: -1
61- }
62-
63 Connections {
64 target: floatingSeeLess.companionTo ? categoryView : null
65 onContentYChanged: floatingSeeLess.updateVisibility();
66
67=== modified file 'qml/Dash/Previews/PreviewAudioPlayback.qml'
68--- qml/Dash/Previews/PreviewAudioPlayback.qml 2016-11-03 13:55:27 +0000
69+++ qml/Dash/Previews/PreviewAudioPlayback.qml 2016-11-03 13:55:29 +0000
70@@ -58,7 +58,7 @@
71 Row {
72 id: trackRow
73
74- readonly property int column1Width: units.gu(3)
75+ readonly property int column1Width: units.gu(2)
76 readonly property int column2Width: width - (2 * spacing) - column1Width - column3Width
77 readonly property int column3Width: units.gu(4)
78
79@@ -66,16 +66,10 @@
80 width: parent.width
81 spacing: units.gu(1)
82
83- Button {
84+ AbstractButton {
85 objectName: "playButton"
86 width: trackRow.column1Width
87 height: width
88- iconSource: DashAudioPlayer.playing && trackItem.isPlayingItem ? "image://theme/media-playback-pause" : "image://theme/media-playback-start"
89- activeFocusOnPress: false
90-
91- // Can't be "transparent" or "#00xxxxxx" as the button optimizes away the surrounding shape
92- // FIXME when this is resolved: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1251685
93- color: "#01000000"
94
95 onClicked: {
96 if (trackItem.isPlayingItem) {
97@@ -92,6 +86,11 @@
98 DashAudioPlayer.playSource(sourceUrl, playlist);
99 }
100 }
101+
102+ Icon {
103+ anchors.fill: parent
104+ source: DashAudioPlayer.playing && trackItem.isPlayingItem ? "image://theme/media-preview-pause" : "image://theme/media-preview-start"
105+ }
106 }
107
108 Item {
109
110=== removed file 'qml/Dash/graphics/dash_divider_top_darkgrad@27.png'
111Binary files qml/Dash/graphics/dash_divider_top_darkgrad@27.png 2016-06-03 23:00:28 +0000 and qml/Dash/graphics/dash_divider_top_darkgrad@27.png 1970-01-01 00:00:00 +0000 differ
112=== removed file 'qml/Dash/graphics/dash_divider_top_lightgrad@27.png'
113Binary files qml/Dash/graphics/dash_divider_top_lightgrad@27.png 2016-06-03 23:00:28 +0000 and qml/Dash/graphics/dash_divider_top_lightgrad@27.png 1970-01-01 00:00:00 +0000 differ

Subscribers

People subscribed via source and target branches