Merge lp://qastaging/~renatofilho/address-book-app/choose-default-address-book into lp://qastaging/address-book-app

Proposed by Renato Araujo Oliveira Filho
Status: Merged
Approved by: Bill Filler
Approved revision: 502
Merged at revision: 520
Proposed branch: lp://qastaging/~renatofilho/address-book-app/choose-default-address-book
Merge into: lp://qastaging/address-book-app
Diff against target: 529 lines (+330/-46)
8 files modified
src/app/addressbookapp.cpp (+1/-0)
src/app/addressbookapp.h (+1/-0)
src/imports/ABContactEditorPage.qml (+4/-0)
src/imports/Settings/CMakeLists.txt (+1/-0)
src/imports/Settings/SettingsDefaultSyncTarget.qml (+229/-0)
src/imports/Settings/SettingsPage.qml (+10/-0)
src/imports/Ubuntu/AddressBook/ContactEditor/ContactDetailSyncTargetEditor.qml (+81/-40)
tests/qml/tst_ContactEditor.qml (+3/-6)
To merge this branch: bzr merge lp://qastaging/~renatofilho/address-book-app/choose-default-address-book
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing
Bill Filler (community) Needs Fixing
Gustavo Pichorim Boiko (community) Approve
Review via email: mp+279135@code.qastaging.launchpad.net

Commit message

Implemented the ability to choose the default address-book from settings page.

Description of the change

TESTING
========

 * Test change the default address-book:
  * Open address-book app
  * Enter on settings page
  * Select a different "Default address book"
  * Close settings page
  * Do a bottom edge swipe to create a new contact
  * Check if the selected address-book is the one that you choose on settings page.
  * Save the contact
  * Open the recent created contact and check if the address-book is the correct one

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

Just a couple remarks.

review: Needs Fixing
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

All comments fixed on rev.497

Revision history for this message
Gustavo Pichorim Boiko (boiko) wrote :

Looks good now!

review: Approve
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 :

If I switch off contact syncing for any account in the list, it should be removed from the list. If the account was the default account, then Personal should be made the new default account.

review: Needs Fixing
Revision history for this message
Bill Filler (bfiller) wrote :

If I switch contact-sync back on for the account then it should be added back to the list, but not made the default

review: Needs Fixing
498. By Renato Araujo Oliveira Filho

Update source list on application active to keep it in sync.

499. By Renato Araujo Oliveira Filho

Make sure the correct source is selected after reload source list.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
500. By Renato Araujo Oliveira Filho

Trunk merged.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
501. By Renato Araujo Oliveira Filho

Created 'saveActionEnabled' property to avoid problems on tests.
Used that new property instead of search for Action.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
502. By Renato Araujo Oliveira Filho

Update source list if sources change while the settings and edit page are visible.

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches