Merge lp:~boiko/messaging-app/fix_bubble into lp:messaging-app
- fix_bubble
- Merge into trunk
Status: | Merged |
---|---|
Merged at revision: | 499 |
Proposed branch: | lp:~boiko/messaging-app/fix_bubble |
Merge into: | lp:messaging-app |
Prerequisite: | lp:~tiagosh/messaging-app/checkmarks |
Diff against target: |
364 lines (+127/-95) 10 files modified
src/qml/DeliveryStatus.qml (+3/-2) src/qml/MMS/MMSContact.qml (+2/-2) src/qml/MessageBubble.qml (+58/-88) src/qml/assets/blue_bubble@27.sci (+5/-0) src/qml/assets/double_tick.svg (+21/-0) src/qml/assets/green_bubble@27.sci (+5/-0) src/qml/assets/red_bubble@27.sci (+5/-0) src/qml/assets/single_tick.svg (+20/-0) src/qml/assets/white_bubble@27.sci (+5/-0) tests/qml/tst_MessageBubble.qml (+3/-3) |
To merge this branch: | bzr merge lp:~boiko/messaging-app/fix_bubble |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Needs Fixing | |
Tiago Salem Herrmann | Pending | ||
Review via email: mp+280015@code.launchpad.net |
This proposal supersedes a proposal from 2015-11-24.
Commit message
Update the bubble to match the designs.
Description of the change
Update the bubble to match the designs.
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
Tiago Salem Herrmann (tiagosh) wrote : Posted in a previous version of this proposal | # |
Looks good, one small remark.
Gustavo Pichorim Boiko (boiko) : Posted in a previous version of this proposal | # |
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:479
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Tiago Salem Herrmann (tiagosh) wrote : Posted in a previous version of this proposal | # |
Looks good now.
Thanks.
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:480
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:481
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 482. By Gustavo Pichorim Boiko
-
Update the bubbles according to the designs.
- 483. By Gustavo Pichorim Boiko
-
Fix tests.
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:483
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
Preview Diff
1 | === modified file 'src/qml/DeliveryStatus.qml' | |||
2 | --- src/qml/DeliveryStatus.qml 2015-12-16 13:18:12 +0000 | |||
3 | +++ src/qml/DeliveryStatus.qml 2015-12-16 13:18:12 +0000 | |||
4 | @@ -22,15 +22,16 @@ | |||
5 | 22 | property int status: -1 | 22 | property int status: -1 |
6 | 23 | property bool enabled: true | 23 | property bool enabled: true |
7 | 24 | height: enabled ? units.gu(1) : 0 | 24 | height: enabled ? units.gu(1) : 0 |
8 | 25 | width: enabled ? undefined : 0 | ||
9 | 25 | fillMode: Image.PreserveAspectFit | 26 | fillMode: Image.PreserveAspectFit |
10 | 26 | source: { | 27 | source: { |
11 | 27 | if (!enabled) { | 28 | if (!enabled) { |
12 | 28 | return "" | 29 | return "" |
13 | 29 | } | 30 | } |
14 | 30 | if (status == HistoryThreadModel.MessageStatusDelivered) { | 31 | if (status == HistoryThreadModel.MessageStatusDelivered) { |
16 | 31 | return Qt.resolvedUrl("./assets/check_single_white.png") | 32 | return Qt.resolvedUrl("./assets/single_tick.svg") |
17 | 32 | } else if (status == HistoryThreadModel.MessageStatusRead) { | 33 | } else if (status == HistoryThreadModel.MessageStatusRead) { |
19 | 33 | return Qt.resolvedUrl("./assets/check_double_white.png") | 34 | return Qt.resolvedUrl("./assets/double_tick.svg") |
20 | 34 | } | 35 | } |
21 | 35 | return "" | 36 | return "" |
22 | 36 | } | 37 | } |
23 | 37 | 38 | ||
24 | === modified file 'src/qml/MMS/MMSContact.qml' | |||
25 | --- src/qml/MMS/MMSContact.qml 2015-12-16 13:18:12 +0000 | |||
26 | +++ src/qml/MMS/MMSContact.qml 2015-12-16 13:18:12 +0000 | |||
27 | @@ -77,8 +77,8 @@ | |||
28 | 77 | return "#3fb24f" | 77 | return "#3fb24f" |
29 | 78 | } | 78 | } |
30 | 79 | } | 79 | } |
33 | 80 | border.color: "#ACACAC" | 80 | border.color: incoming ? "#ACACAC" : "transparent" |
34 | 81 | radius: height * 0.1 | 81 | radius: units.gu(1) |
35 | 82 | 82 | ||
36 | 83 | ContactAvatar { | 83 | ContactAvatar { |
37 | 84 | id: avatar | 84 | id: avatar |
38 | 85 | 85 | ||
39 | === modified file 'src/qml/MessageBubble.qml' | |||
40 | --- src/qml/MessageBubble.qml 2015-12-16 13:18:12 +0000 | |||
41 | +++ src/qml/MessageBubble.qml 2015-12-16 13:18:12 +0000 | |||
42 | @@ -24,7 +24,7 @@ | |||
43 | 24 | import "dateUtils.js" as DateUtils | 24 | import "dateUtils.js" as DateUtils |
44 | 25 | import "3rd_party/ba-linkify.js" as BaLinkify | 25 | import "3rd_party/ba-linkify.js" as BaLinkify |
45 | 26 | 26 | ||
47 | 27 | Rectangle { | 27 | BorderImage { |
48 | 28 | id: root | 28 | id: root |
49 | 29 | 29 | ||
50 | 30 | property int messageStatus: -1 | 30 | property int messageStatus: -1 |
51 | @@ -74,28 +74,33 @@ | |||
52 | 74 | return text | 74 | return text |
53 | 75 | } | 75 | } |
54 | 76 | 76 | ||
56 | 77 | color: { | 77 | property string color: { |
57 | 78 | if (error) { | 78 | if (error) { |
59 | 79 | return "#fc4949" | 79 | return "red" |
60 | 80 | } else if (sending) { | 80 | } else if (sending) { |
62 | 81 | return "#b2b2b2" | 81 | return "gray" |
63 | 82 | } else if (messageIncoming) { | 82 | } else if (messageIncoming) { |
65 | 83 | return "#ffffff" | 83 | return "white" |
66 | 84 | } else { | 84 | } else { |
68 | 85 | return "#3fb24f" | 85 | // FIXME: use blue for IM accounts |
69 | 86 | return "green" | ||
70 | 86 | } | 87 | } |
71 | 87 | } | 88 | } |
76 | 88 | border.color: "#ACACAC" | 89 | source: "assets/" + color + "_bubble.sci" |
77 | 89 | 90 | smooth: true | |
78 | 90 | radius: units.gu(1) | 91 | |
79 | 91 | height: senderName.height + senderName.anchors.topMargin + textLabel.height + textTimestamp.height + units.gu(1) | 92 | // FIXME: maybe we should put everything inside a container to make width and height calculation easier |
80 | 93 | height: senderName.height + senderName.anchors.topMargin + textLabel.height + border.bottom + units.gu(0.5) + (oneLine ? 0 : messageFooter.height + messageFooter.anchors.topMargin) | ||
81 | 94 | |||
82 | 95 | // if possible, put the timestamp and the delivery status in the same line as the text | ||
83 | 96 | property int oneLineWidth: textLabel.contentWidth + messageFooter.width | ||
84 | 97 | property bool oneLine: oneLineWidth <= units.gu(27) | ||
85 | 92 | width: Math.min(units.gu(27), | 98 | width: Math.min(units.gu(27), |
87 | 93 | Math.max(textLabel.contentWidth, textTimestamp.contentWidth + deliveryStatus.width, senderName.contentWidth)) | 99 | Math.max(oneLine ? oneLineWidth : textLabel.contentWidth, |
88 | 100 | messageFooter.width, | ||
89 | 101 | senderName.contentWidth, | ||
90 | 102 | border.right + border.left - units.gu(3))) | ||
91 | 94 | + units.gu(3) | 103 | + units.gu(3) |
92 | 95 | anchors{ | ||
93 | 96 | leftMargin: units.gu(1) | ||
94 | 97 | rightMargin: units.gu(1) | ||
95 | 98 | } | ||
96 | 99 | 104 | ||
97 | 100 | Label { | 105 | Label { |
98 | 101 | id: senderName | 106 | id: senderName |
99 | @@ -131,84 +136,49 @@ | |||
100 | 131 | color: root.messageIncoming ? UbuntuColors.darkGrey : "white" | 136 | color: root.messageIncoming ? UbuntuColors.darkGrey : "white" |
101 | 132 | } | 137 | } |
102 | 133 | 138 | ||
106 | 134 | Label { | 139 | Row { |
107 | 135 | id: textTimestamp | 140 | id: messageFooter |
108 | 136 | objectName: "messageDate" | 141 | width: childrenRect.width |
109 | 142 | spacing: units.gu(1) | ||
110 | 137 | 143 | ||
112 | 138 | anchors{ | 144 | anchors { |
113 | 139 | top: textLabel.bottom | 145 | top: textLabel.bottom |
117 | 140 | topMargin: units.gu(0.5) | 146 | topMargin: oneLine ? -textTimestamp.height : units.gu(0.5) |
118 | 141 | left: parent.left | 147 | right: parent.right |
119 | 142 | leftMargin: units.gu(1) | 148 | rightMargin: units.gu(1) |
120 | 143 | } | 149 | } |
121 | 144 | 150 | ||
135 | 145 | visible: !root.sending | 151 | Label { |
136 | 146 | height: units.gu(2) | 152 | id: textTimestamp |
137 | 147 | width: visible ? maxDelegateWidth : 0 | 153 | objectName: "messageDate" |
138 | 148 | fontSize: "xx-small" | 154 | |
139 | 149 | color: root.messageIncoming ? UbuntuColors.lightGrey : "white" | 155 | anchors.bottom: parent.bottom |
140 | 150 | opacity: root.messageIncoming ? 1.0 : 0.8 | 156 | visible: !root.sending |
141 | 151 | elide: Text.ElideRight | 157 | height: units.gu(2) |
142 | 152 | text: { | 158 | width: paintedWidth > maxDelegateWidth ? maxDelegateWidth : undefined |
143 | 153 | if (messageTimeStamp === "") | 159 | fontSize: "xx-small" |
144 | 154 | return "" | 160 | color: root.messageIncoming ? UbuntuColors.lightGrey : "white" |
145 | 155 | 161 | opacity: root.messageIncoming ? 1.0 : 0.8 | |
146 | 156 | var str = Qt.formatTime(messageTimeStamp, Qt.DefaultLocaleShortDate) | 162 | elide: Text.ElideRight |
147 | 157 | if (root.accountName.length === 0 || !root.messageIncoming) { | 163 | verticalAlignment: Text.AlignVCenter |
148 | 164 | text: { | ||
149 | 165 | if (messageTimeStamp === "") | ||
150 | 166 | return "" | ||
151 | 167 | |||
152 | 168 | var str = Qt.formatTime(messageTimeStamp, Qt.DefaultLocaleShortDate) | ||
153 | 169 | if (root.accountName.length === 0 || !root.messageIncoming) { | ||
154 | 170 | return str | ||
155 | 171 | } | ||
156 | 172 | str += " @ %1".arg(root.accountName) | ||
157 | 158 | return str | 173 | return str |
158 | 159 | } | 174 | } |
212 | 160 | str += " @ %1".arg(root.accountName) | 175 | } |
213 | 161 | return str | 176 | |
214 | 162 | } | 177 | DeliveryStatus { |
215 | 163 | } | 178 | id: deliveryStatus |
216 | 164 | 179 | status: messageStatus | |
217 | 165 | DeliveryStatus { | 180 | enabled: deliveryStatusAvailable |
218 | 166 | id: deliveryStatus | 181 | anchors.verticalCenter: textTimestamp.verticalCenter |
219 | 167 | status: messageStatus | 182 | } |
167 | 168 | enabled: deliveryStatusAvailable | ||
168 | 169 | anchors { | ||
169 | 170 | right: parent.right | ||
170 | 171 | rightMargin: units.gu(0.5) | ||
171 | 172 | verticalCenter: textTimestamp.verticalCenter | ||
172 | 173 | } | ||
173 | 174 | } | ||
174 | 175 | |||
175 | 176 | ColoredImage { | ||
176 | 177 | id: bubbleArrow | ||
177 | 178 | |||
178 | 179 | source: Qt.resolvedUrl("./assets/conversation_bubble_arrow.png") | ||
179 | 180 | color: root.color | ||
180 | 181 | asynchronous: false | ||
181 | 182 | anchors { | ||
182 | 183 | bottom: parent.bottom | ||
183 | 184 | bottomMargin: units.gu(2) | ||
184 | 185 | leftMargin: -1 | ||
185 | 186 | rightMargin: -1 | ||
186 | 187 | } | ||
187 | 188 | width: units.gu(1) | ||
188 | 189 | height: units.gu(1.5) | ||
189 | 190 | |||
190 | 191 | states: [ | ||
191 | 192 | State { | ||
192 | 193 | when: root.messageIncoming | ||
193 | 194 | name: "incoming" | ||
194 | 195 | AnchorChanges { | ||
195 | 196 | target: bubbleArrow | ||
196 | 197 | anchors.right: root.left | ||
197 | 198 | } | ||
198 | 199 | }, | ||
199 | 200 | State { | ||
200 | 201 | when: !root.messageIncoming | ||
201 | 202 | name: "outgoing" | ||
202 | 203 | AnchorChanges { | ||
203 | 204 | target: bubbleArrow | ||
204 | 205 | anchors.left: root.right | ||
205 | 206 | } | ||
206 | 207 | PropertyChanges { | ||
207 | 208 | target: bubbleArrow | ||
208 | 209 | mirror: true | ||
209 | 210 | } | ||
210 | 211 | } | ||
211 | 212 | ] | ||
220 | 213 | } | 183 | } |
221 | 214 | } | 184 | } |
222 | 215 | 185 | ||
223 | === added file 'src/qml/assets/blue_bubble@27.png' | |||
224 | 216 | Binary files src/qml/assets/blue_bubble@27.png 1970-01-01 00:00:00 +0000 and src/qml/assets/blue_bubble@27.png 2015-12-16 13:18:12 +0000 differ | 186 | Binary files src/qml/assets/blue_bubble@27.png 1970-01-01 00:00:00 +0000 and src/qml/assets/blue_bubble@27.png 2015-12-16 13:18:12 +0000 differ |
225 | === added file 'src/qml/assets/blue_bubble@27.sci' | |||
226 | --- src/qml/assets/blue_bubble@27.sci 1970-01-01 00:00:00 +0000 | |||
227 | +++ src/qml/assets/blue_bubble@27.sci 2015-12-16 13:18:12 +0000 | |||
228 | @@ -0,0 +1,5 @@ | |||
229 | 1 | border.left:135 | ||
230 | 2 | border.top: 27 | ||
231 | 3 | border.bottom: 48 | ||
232 | 4 | border.right: 135 | ||
233 | 5 | source: blue_bubble@27.png | ||
234 | 0 | \ No newline at end of file | 6 | \ No newline at end of file |
235 | 1 | 7 | ||
236 | === added file 'src/qml/assets/blue_bubble@27_1.png' | |||
237 | 2 | Binary files src/qml/assets/blue_bubble@27_1.png 1970-01-01 00:00:00 +0000 and src/qml/assets/blue_bubble@27_1.png 2015-12-16 13:18:12 +0000 differ | 8 | Binary files src/qml/assets/blue_bubble@27_1.png 1970-01-01 00:00:00 +0000 and src/qml/assets/blue_bubble@27_1.png 2015-12-16 13:18:12 +0000 differ |
238 | === removed file 'src/qml/assets/check_double_white.png' | |||
239 | 3 | Binary files src/qml/assets/check_double_white.png 2015-12-16 13:18:12 +0000 and src/qml/assets/check_double_white.png 1970-01-01 00:00:00 +0000 differ | 9 | Binary files src/qml/assets/check_double_white.png 2015-12-16 13:18:12 +0000 and src/qml/assets/check_double_white.png 1970-01-01 00:00:00 +0000 differ |
240 | === removed file 'src/qml/assets/check_single_white.png' | |||
241 | 4 | Binary files src/qml/assets/check_single_white.png 2015-12-16 13:18:12 +0000 and src/qml/assets/check_single_white.png 1970-01-01 00:00:00 +0000 differ | 10 | Binary files src/qml/assets/check_single_white.png 2015-12-16 13:18:12 +0000 and src/qml/assets/check_single_white.png 1970-01-01 00:00:00 +0000 differ |
242 | === removed file 'src/qml/assets/conversation_bubble_arrow.png' | |||
243 | 5 | Binary files src/qml/assets/conversation_bubble_arrow.png 2015-08-17 17:39:45 +0000 and src/qml/assets/conversation_bubble_arrow.png 1970-01-01 00:00:00 +0000 differ | 11 | Binary files src/qml/assets/conversation_bubble_arrow.png 2015-08-17 17:39:45 +0000 and src/qml/assets/conversation_bubble_arrow.png 1970-01-01 00:00:00 +0000 differ |
244 | === added file 'src/qml/assets/double_tick.svg' | |||
245 | --- src/qml/assets/double_tick.svg 1970-01-01 00:00:00 +0000 | |||
246 | +++ src/qml/assets/double_tick.svg 2015-12-16 13:18:12 +0000 | |||
247 | @@ -0,0 +1,21 @@ | |||
248 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
249 | 2 | <svg width="52px" height="28px" viewBox="0 0 52 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> | ||
250 | 3 | <!-- Generator: Sketch 3.4.2 (15857) - http://www.bohemiancoding.com/sketch --> | ||
251 | 4 | <title>path4041-9 copy + path4041-9 copy 2</title> | ||
252 | 5 | <desc>Created with Sketch.</desc> | ||
253 | 6 | <defs></defs> | ||
254 | 7 | <g id="Messaging" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> | ||
255 | 8 | <g id="Compose-SMS-empty-state-Copy-56" sketch:type="MSArtboardGroup" transform="translate(-948.000000, -512.000000)" fill="#FFFFFF"> | ||
256 | 9 | <g id="tick" sketch:type="MSLayerGroup" transform="translate(941.000000, 499.000000)"> | ||
257 | 10 | <g id="svg4874" sketch:type="MSShapeGroup"> | ||
258 | 11 | <g id="layer1"> | ||
259 | 12 | <g id="path4041-9-copy-+-path4041-9-copy-2" transform="translate(7.000000, 13.000000)"> | ||
260 | 13 | <path d="M15.3523623,21.1776844 L1.97756181,9.70609227 L0.120056,11.8063782 L15.3437936,27.824149 L39.756042,2.13611253 L38.5926018,0.824149 L15.3523623,21.1776844 Z" id="path4041-9-copy"></path> | ||
261 | 14 | <path d="M27.3523623,21.1776844 L13.9775618,9.70609227 L12.120056,11.8063782 L27.3437936,27.824149 L51.756042,2.13611253 L50.5926018,0.824149 L27.3523623,21.1776844 Z" id="path4041-9-copy-2"></path> | ||
262 | 15 | </g> | ||
263 | 16 | </g> | ||
264 | 17 | </g> | ||
265 | 18 | </g> | ||
266 | 19 | </g> | ||
267 | 20 | </g> | ||
268 | 21 | </svg> | ||
269 | 0 | \ No newline at end of file | 22 | \ No newline at end of file |
270 | 1 | 23 | ||
271 | === added file 'src/qml/assets/green_bubble@27.png' | |||
272 | 2 | Binary files src/qml/assets/green_bubble@27.png 1970-01-01 00:00:00 +0000 and src/qml/assets/green_bubble@27.png 2015-12-16 13:18:12 +0000 differ | 24 | Binary files src/qml/assets/green_bubble@27.png 1970-01-01 00:00:00 +0000 and src/qml/assets/green_bubble@27.png 2015-12-16 13:18:12 +0000 differ |
273 | === added file 'src/qml/assets/green_bubble@27.sci' | |||
274 | --- src/qml/assets/green_bubble@27.sci 1970-01-01 00:00:00 +0000 | |||
275 | +++ src/qml/assets/green_bubble@27.sci 2015-12-16 13:18:12 +0000 | |||
276 | @@ -0,0 +1,5 @@ | |||
277 | 1 | border.left:135 | ||
278 | 2 | border.top: 27 | ||
279 | 3 | border.bottom: 48 | ||
280 | 4 | border.right: 135 | ||
281 | 5 | source: green_bubble@27.png | ||
282 | 0 | 6 | ||
283 | === added file 'src/qml/assets/red_bubble@27.png' | |||
284 | 1 | Binary files src/qml/assets/red_bubble@27.png 1970-01-01 00:00:00 +0000 and src/qml/assets/red_bubble@27.png 2015-12-16 13:18:12 +0000 differ | 7 | Binary files src/qml/assets/red_bubble@27.png 1970-01-01 00:00:00 +0000 and src/qml/assets/red_bubble@27.png 2015-12-16 13:18:12 +0000 differ |
285 | === added file 'src/qml/assets/red_bubble@27.sci' | |||
286 | --- src/qml/assets/red_bubble@27.sci 1970-01-01 00:00:00 +0000 | |||
287 | +++ src/qml/assets/red_bubble@27.sci 2015-12-16 13:18:12 +0000 | |||
288 | @@ -0,0 +1,5 @@ | |||
289 | 1 | border.left:135 | ||
290 | 2 | border.top: 27 | ||
291 | 3 | border.bottom: 48 | ||
292 | 4 | border.right: 135 | ||
293 | 5 | source: red_bubble@27.png | ||
294 | 0 | \ No newline at end of file | 6 | \ No newline at end of file |
295 | 1 | 7 | ||
296 | === added file 'src/qml/assets/red_bubble@27_1.png' | |||
297 | 2 | Binary files src/qml/assets/red_bubble@27_1.png 1970-01-01 00:00:00 +0000 and src/qml/assets/red_bubble@27_1.png 2015-12-16 13:18:12 +0000 differ | 8 | Binary files src/qml/assets/red_bubble@27_1.png 1970-01-01 00:00:00 +0000 and src/qml/assets/red_bubble@27_1.png 2015-12-16 13:18:12 +0000 differ |
298 | === added file 'src/qml/assets/single_tick.svg' | |||
299 | --- src/qml/assets/single_tick.svg 1970-01-01 00:00:00 +0000 | |||
300 | +++ src/qml/assets/single_tick.svg 2015-12-16 13:18:12 +0000 | |||
301 | @@ -0,0 +1,20 @@ | |||
302 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
303 | 2 | <svg width="40px" height="28px" viewBox="0 0 40 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> | ||
304 | 3 | <!-- Generator: Sketch 3.4.2 (15857) - http://www.bohemiancoding.com/sketch --> | ||
305 | 4 | <title>path4041-9</title> | ||
306 | 5 | <desc>Created with Sketch.</desc> | ||
307 | 6 | <defs></defs> | ||
308 | 7 | <g id="Messaging" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"> | ||
309 | 8 | <g id="Compose-SMS-empty-state-Copy-54" sketch:type="MSArtboardGroup" transform="translate(-961.000000, -512.000000)" fill="#FFFFFF"> | ||
310 | 9 | <g id="bubble-1" sketch:type="MSLayerGroup" transform="translate(535.000000, 373.500000)"> | ||
311 | 10 | <g id="tick" transform="translate(426.000000, 138.500000)" sketch:type="MSShapeGroup"> | ||
312 | 11 | <g id="svg4874"> | ||
313 | 12 | <g id="layer1"> | ||
314 | 13 | <path d="M15.3523623,21.1776844 L1.97756181,9.70609227 L0.120056,11.8063782 L15.3437936,27.824149 L39.756042,2.13611253 L38.5926018,0.824149 L15.3523623,21.1776844 Z" id="path4041-9"></path> | ||
315 | 14 | </g> | ||
316 | 15 | </g> | ||
317 | 16 | </g> | ||
318 | 17 | </g> | ||
319 | 18 | </g> | ||
320 | 19 | </g> | ||
321 | 20 | </svg> | ||
322 | 0 | \ No newline at end of file | 21 | \ No newline at end of file |
323 | 1 | 22 | ||
324 | === added file 'src/qml/assets/white_bubble@27.png' | |||
325 | 2 | Binary files src/qml/assets/white_bubble@27.png 1970-01-01 00:00:00 +0000 and src/qml/assets/white_bubble@27.png 2015-12-16 13:18:12 +0000 differ | 23 | Binary files src/qml/assets/white_bubble@27.png 1970-01-01 00:00:00 +0000 and src/qml/assets/white_bubble@27.png 2015-12-16 13:18:12 +0000 differ |
326 | === added file 'src/qml/assets/white_bubble@27.sci' | |||
327 | --- src/qml/assets/white_bubble@27.sci 1970-01-01 00:00:00 +0000 | |||
328 | +++ src/qml/assets/white_bubble@27.sci 2015-12-16 13:18:12 +0000 | |||
329 | @@ -0,0 +1,5 @@ | |||
330 | 1 | border.left:143 | ||
331 | 2 | border.top: 27 | ||
332 | 3 | border.bottom: 48 | ||
333 | 4 | border.right: 135 | ||
334 | 5 | source: white_bubble@27.png | ||
335 | 0 | 6 | ||
336 | === added file 'src/qml/assets/white_bubble@27_1.png' | |||
337 | 1 | Binary files src/qml/assets/white_bubble@27_1.png 1970-01-01 00:00:00 +0000 and src/qml/assets/white_bubble@27_1.png 2015-12-16 13:18:12 +0000 differ | 7 | Binary files src/qml/assets/white_bubble@27_1.png 1970-01-01 00:00:00 +0000 and src/qml/assets/white_bubble@27_1.png 2015-12-16 13:18:12 +0000 differ |
338 | === modified file 'tests/qml/tst_MessageBubble.qml' | |||
339 | --- tests/qml/tst_MessageBubble.qml 2014-08-27 17:50:35 +0000 | |||
340 | +++ tests/qml/tst_MessageBubble.qml 2015-12-16 13:18:12 +0000 | |||
341 | @@ -73,20 +73,20 @@ | |||
342 | 73 | function test_incomingMessageBubbleMustUseIncomingSource() { | 73 | function test_incomingMessageBubbleMustUseIncomingSource() { |
343 | 74 | var incomingMessageBubble = findChild( | 74 | var incomingMessageBubble = findChild( |
344 | 75 | root, 'incomingMessageBubble'); | 75 | root, 'incomingMessageBubble'); |
346 | 76 | compare(incomingMessageBubble.color, "#ffffff") | 76 | compare(incomingMessageBubble.color, "white") |
347 | 77 | } | 77 | } |
348 | 78 | 78 | ||
349 | 79 | function test_outgoingMessageBubbleMustUseOutgoingSource() { | 79 | function test_outgoingMessageBubbleMustUseOutgoingSource() { |
350 | 80 | var outgoingMessageBubble = findChild( | 80 | var outgoingMessageBubble = findChild( |
351 | 81 | root, 'outgoingMessageBubble'); | 81 | root, 'outgoingMessageBubble'); |
353 | 82 | compare(outgoingMessageBubble.color, "#3fb24f") | 82 | compare(outgoingMessageBubble.color, "green") |
354 | 83 | } | 83 | } |
355 | 84 | 84 | ||
356 | 85 | function test_changeIncomingMustUpdateSource() { | 85 | function test_changeIncomingMustUpdateSource() { |
357 | 86 | var changeIncomingMessageBubble = findChild( | 86 | var changeIncomingMessageBubble = findChild( |
358 | 87 | root, 'changeIncomingMessageBubble'); | 87 | root, 'changeIncomingMessageBubble'); |
359 | 88 | changeIncomingMessageBubble.messageIncoming = false; | 88 | changeIncomingMessageBubble.messageIncoming = false; |
361 | 89 | compare(changeIncomingMessageBubble.color, "#3fb24f") | 89 | compare(changeIncomingMessageBubble.color, "green") |
362 | 90 | } | 90 | } |
363 | 91 | } | 91 | } |
364 | 92 | } | 92 | } |
FAILED: Continuous integration, rev:478 jenkins. qa.ubuntu. com/job/ messaging- app-ci/ 748/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 5391 jenkins. qa.ubuntu. com/job/ messaging- app-vivid- i386-ci/ 257 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-touch/ 4262 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 5405 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 5405/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 25474
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/messaging- app-ci/ 748/rebuild
http://