Merge lp:~renatofilho/address-book-app/enable-share-button into lp:~phablet-team/address-book-app/staging
- enable-share-button
- Merge into staging
Status: | Merged |
---|---|
Approved by: | Tiago Salem Herrmann |
Approved revision: | 203 |
Merged at revision: | 201 |
Proposed branch: | lp:~renatofilho/address-book-app/enable-share-button |
Merge into: | lp:~phablet-team/address-book-app/staging |
Diff against target: |
171 lines (+36/-28) 4 files modified
po/address-book-app.pot (+17/-13) src/imports/ContactView/ContactView.qml (+11/-13) src/imports/Ubuntu/Contacts/ContactListView.qml (+8/-1) src/imports/Ubuntu/Contacts/MostCalledModel.qml (+0/-1) |
To merge this branch: | bzr merge lp:~renatofilho/address-book-app/enable-share-button |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tiago Salem Herrmann (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Review via email:
|
Commit message
Enabled share button again.
Load frequently called contact when the list became visible.
Description of the change
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Tiago Salem Herrmann (tiagosh) wrote : | # |
looks good.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:202
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:202
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:202
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
- 203. By Renato Araujo Oliveira Filho
-
Staging merged.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:203
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Tiago Salem Herrmann (tiagosh) : | # |
Preview Diff
1 | === modified file 'po/address-book-app.pot' |
2 | --- po/address-book-app.pot 2014-06-27 12:54:55 +0000 |
3 | +++ po/address-book-app.pot 2014-07-02 14:31:19 +0000 |
4 | @@ -8,7 +8,7 @@ |
5 | msgstr "" |
6 | "Project-Id-Version: address-book-app\n" |
7 | "Report-Msgid-Bugs-To: \n" |
8 | -"POT-Creation-Date: 2014-06-27 09:54-0300\n" |
9 | +"POT-Creation-Date: 2014-06-30 15:01-0300\n" |
10 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
11 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
12 | "Language-Team: LANGUAGE <LL@li.org>\n" |
13 | @@ -55,12 +55,12 @@ |
14 | |
15 | #: src/imports/ContactEdit/AddFieldDialog.qml:133 |
16 | #: src/imports/ContactEdit/ContactEditor.qml:372 |
17 | -#: src/imports/ContactList/ContactListPage.qml:324 |
18 | +#: src/imports/ContactList/ContactListPage.qml:314 |
19 | #: src/imports/Ubuntu/Contacts/DialogButtons.qml:37 |
20 | msgid "Cancel" |
21 | msgstr "" |
22 | |
23 | -#: src/imports/ContactList/ContactListPage.qml:252 |
24 | +#: src/imports/ContactList/ContactListPage.qml:242 |
25 | msgid "Cancel selection" |
26 | msgstr "" |
27 | |
28 | @@ -86,8 +86,8 @@ |
29 | msgstr "" |
30 | |
31 | #: src/imports/ContactEdit/ContactEditor.qml:337 |
32 | -#: src/imports/ContactList/ContactListPage.qml:148 |
33 | -#: src/imports/ContactList/ContactListPage.qml:277 |
34 | +#: src/imports/ContactList/ContactListPage.qml:146 |
35 | +#: src/imports/ContactList/ContactListPage.qml:267 |
36 | msgid "Delete" |
37 | msgstr "" |
38 | |
39 | @@ -96,7 +96,7 @@ |
40 | msgstr "" |
41 | |
42 | #: src/imports/ContactEdit/ContactEditor.qml:141 |
43 | -#: src/imports/ContactView/ContactView.qml:219 |
44 | +#: src/imports/ContactView/ContactView.qml:217 |
45 | msgid "Edit" |
46 | msgstr "" |
47 | |
48 | @@ -173,7 +173,7 @@ |
49 | msgid "Loading" |
50 | msgstr "" |
51 | |
52 | -#: src/imports/ContactList/ContactListPage.qml:242 |
53 | +#: src/imports/ContactList/ContactListPage.qml:232 |
54 | msgid "Loading..." |
55 | msgstr "" |
56 | |
57 | @@ -246,15 +246,15 @@ |
58 | msgid "Save" |
59 | msgstr "" |
60 | |
61 | -#: src/imports/ContactList/ContactListPage.qml:302 |
62 | +#: src/imports/ContactList/ContactListPage.qml:292 |
63 | msgid "Search" |
64 | msgstr "" |
65 | |
66 | -#: src/imports/ContactList/ContactListPage.qml:277 |
67 | +#: src/imports/ContactList/ContactListPage.qml:267 |
68 | msgid "Select" |
69 | msgstr "" |
70 | |
71 | -#: src/imports/ContactList/ContactListPage.qml:261 |
72 | +#: src/imports/ContactList/ContactListPage.qml:251 |
73 | msgid "Select All" |
74 | msgstr "" |
75 | |
76 | @@ -266,6 +266,10 @@ |
77 | msgid "Select a field" |
78 | msgstr "" |
79 | |
80 | +#: src/imports/ContactView/ContactView.qml:206 |
81 | +msgid "Share" |
82 | +msgstr "" |
83 | + |
84 | #: src/imports/Ubuntu/Contacts/ContactDetailOnlineAccountTypeModel.qml:67 |
85 | msgid "Skype" |
86 | msgstr "" |
87 | @@ -279,15 +283,15 @@ |
88 | msgid "Street" |
89 | msgstr "" |
90 | |
91 | -#: src/imports/ContactList/ContactListPage.qml:293 |
92 | +#: src/imports/ContactList/ContactListPage.qml:283 |
93 | msgid "Sync" |
94 | msgstr "" |
95 | |
96 | -#: src/imports/ContactList/ContactListPage.qml:293 |
97 | +#: src/imports/ContactList/ContactListPage.qml:283 |
98 | msgid "Syncing" |
99 | msgstr "" |
100 | |
101 | -#: src/imports/ContactList/ContactListPage.qml:242 |
102 | +#: src/imports/ContactList/ContactListPage.qml:232 |
103 | msgid "Syncing..." |
104 | msgstr "" |
105 | |
106 | |
107 | === modified file 'src/imports/ContactView/ContactView.qml' |
108 | --- src/imports/ContactView/ContactView.qml 2014-06-13 19:54:01 +0000 |
109 | +++ src/imports/ContactView/ContactView.qml 2014-07-02 14:31:19 +0000 |
110 | @@ -200,19 +200,17 @@ |
111 | } |
112 | } |
113 | } |
114 | - // FIXME: Having more than 3 options in the header causes a bug that make difficult to reach the component behind it. |
115 | - // Enable it again when the bug #1329557 get fix |
116 | -// ToolbarButton { |
117 | -// action: Action { |
118 | -// objectName: "share" |
119 | -// text: i18n.tr("Share") |
120 | -// iconName: "share" |
121 | -// onTriggered: { |
122 | -// pageStack.push(Qt.resolvedUrl("../ContactShare/ContactSharePage.qml"), |
123 | -// { contactModel: root.model, contact: root.contact}) |
124 | -// } |
125 | -// } |
126 | -// } |
127 | + ToolbarButton { |
128 | + action: Action { |
129 | + objectName: "share" |
130 | + text: i18n.tr("Share") |
131 | + iconName: "share" |
132 | + onTriggered: { |
133 | + pageStack.push(Qt.resolvedUrl("../ContactShare/ContactSharePage.qml"), |
134 | + { contactModel: root.model, contact: root.contact}) |
135 | + } |
136 | + } |
137 | + } |
138 | ToolbarButton { |
139 | action: Action { |
140 | objectName: "edit" |
141 | |
142 | === modified file 'src/imports/Ubuntu/Contacts/ContactListView.qml' |
143 | --- src/imports/Ubuntu/Contacts/ContactListView.qml 2014-06-27 21:27:30 +0000 |
144 | +++ src/imports/Ubuntu/Contacts/ContactListView.qml 2014-07-02 14:31:19 +0000 |
145 | @@ -440,8 +440,15 @@ |
146 | |
147 | model: MostCalledModel { |
148 | id: calledModel |
149 | + |
150 | + readonly property bool visible: view.favouritesIsSelected |
151 | + |
152 | + onVisibleChanged: { |
153 | + if (visible) { |
154 | + filterEntries() |
155 | + } |
156 | + } |
157 | maxCount: 20 |
158 | - |
159 | onInfoRequested: root.infoRequested(contact) |
160 | onDetailClicked: root.detailClicked(contact, detail, action) |
161 | onAddContactClicked: root.addContactClicked(label) |
162 | |
163 | === modified file 'src/imports/Ubuntu/Contacts/MostCalledModel.qml' |
164 | --- src/imports/Ubuntu/Contacts/MostCalledModel.qml 2014-06-27 13:48:19 +0000 |
165 | +++ src/imports/Ubuntu/Contacts/MostCalledModel.qml 2014-07-02 14:31:19 +0000 |
166 | @@ -124,7 +124,6 @@ |
167 | sortField: "timestamp" |
168 | sortOrder: HistorySort.DescendingOrder |
169 | } |
170 | - Component.onCompleted: root.filterEntries() |
171 | } |
172 | |
173 |
PASSED: Continuous integration, rev:201 jenkins. qa.ubuntu. com/job/ phablet- team-address- book-app- staging- ci/179/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- utopic- touch/1372 jenkins. qa.ubuntu. com/job/ generic- mediumtests- utopic/ 1197 jenkins. qa.ubuntu. com/job/ phablet- team-address- book-app- staging- utopic- amd64-ci/ 179 jenkins. qa.ubuntu. com/job/ phablet- team-address- book-app- staging- utopic- armhf-ci/ 179 jenkins. qa.ubuntu. com/job/ phablet- team-address- book-app- staging- utopic- armhf-ci/ 179/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ phablet- team-address- book-app- staging- utopic- i386-ci/ 179 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- mako/1678 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- armhf/2309 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- armhf/2309/ artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 9056 jenkins. qa.ubuntu. com/job/ autopilot- testrunner- otto-utopic/ 988 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- amd64/1340 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- amd64/1340/ artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/phablet- team-address- book-app- staging- ci/179/ rebuild
http://