Merge lp:~boiko/dialer-app/do_not_call_directly into lp:dialer-app

Proposed by Gustavo Pichorim Boiko
Status: Merged
Approved by: Bill Filler
Approved revision: 282
Merged at revision: 284
Proposed branch: lp:~boiko/dialer-app/do_not_call_directly
Merge into: lp:dialer-app
Diff against target: 34 lines (+3/-10)
2 files modified
src/qml/HistoryPage/HistoryDelegate.qml (+2/-5)
src/qml/HistoryPage/HistoryDetailsPage.qml (+1/-5)
To merge this branch: bzr merge lp:~boiko/dialer-app/do_not_call_directly
Reviewer Review Type Date Requested Status
Bill Filler (community) Approve
PS Jenkins bot continuous-integration Needs Fixing
Review via email: mp+235039@code.launchpad.net

Commit message

Do not call the phone numbers directly when clicking the items in call log.
Clicking them should only populate dialpad.

Description of the change

Do not call the phone numbers directly when clicking the items in call log.
Clicking them should only populate dialpad.

== Checklist ==
Are there any related MPs required for this MP to build/function as expected? Please list.
No

Is your branch in sync with latest trunk (e.g. bzr pull lp:trunk -> no changes)
Yes

Did you perform an exploratory manual test run of your code change and any related functionality on device or emulator?
Yes

Did you successfully run all tests found in your component's Test Plan (https://wiki.ubuntu.com/Process/Merges/TestPlan/<package-name>) on device or emulator?
Yes

If you changed the UI, was the change specified/approved by design?
Yes

If you changed UI labels, did you update the pot file?
N/A

If you changed the packaging (debian), did you add a core-dev as a reviewer to this MP?
N/A

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
282. By Gustavo Pichorim Boiko

Do not call directly not even from the details page.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Bill Filler (bfiller) wrote :

Did you perform an exploratory manual test run of the code change and any related functionality on device or emulator?
yes

Did you successfully run all tests found in your component's Test Plan (https://wiki.ubuntu.com/Process/Merges/TestPlan/<package-name>) on device or emulator?
yes

Did CI run pass? If not, please explain why.
yes

Have you checked that submitter has accurately filled out the submitter checklist and has taken no shortcut?
yes

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/qml/HistoryPage/HistoryDelegate.qml'
2--- src/qml/HistoryPage/HistoryDelegate.qml 2014-09-12 21:06:54 +0000
3+++ src/qml/HistoryPage/HistoryDelegate.qml 2014-09-19 14:29:37 +0000
4@@ -50,11 +50,8 @@
5 return;
6 }
7
8- if (fullView && mainView.account) {
9- mainView.call(participant.phoneNumber, mainView.account.accountId);
10- } else {
11- mainView.populateDialpad(participant.phoneNumber, mainView.account ? mainView.account.accountId : "");
12- }
13+ // clicking an item only populates the dialpad view, it doesn't call directly
14+ mainView.populateDialpad(participant.phoneNumber, mainView.account ? mainView.account.accountId : "");
15 }
16
17 function selectCallType() {
18
19=== modified file 'src/qml/HistoryPage/HistoryDetailsPage.qml'
20--- src/qml/HistoryPage/HistoryDetailsPage.qml 2014-08-20 19:58:12 +0000
21+++ src/qml/HistoryPage/HistoryDetailsPage.qml 2014-09-19 14:29:37 +0000
22@@ -226,11 +226,7 @@
23 anchors.centerIn: parent
24 }
25 onClicked: {
26- if (mainView.account) {
27- mainView.call(phoneNumber, mainView.account.accountId);
28- } else {
29- mainView.populateDialpad(phoneNumber, mainView.account ? mainView.account.accountId : "");
30- }
31+ mainView.populateDialpad(phoneNumber, mainView.account ? mainView.account.accountId : "");
32 }
33 }
34 }

Subscribers

People subscribed via source and target branches