Merge lp:~rpadovani/reminders-app/1392197 into lp:reminders-app

Proposed by Riccardo Padovani
Status: Rejected
Rejected by: David Planella
Proposed branch: lp:~rpadovani/reminders-app/1392197
Merge into: lp:reminders-app
Diff against target: 11 lines (+1/-1)
1 file modified
src/app/qml/reminders.qml (+1/-1)
To merge this branch: bzr merge lp:~rpadovani/reminders-app/1392197
Reviewer Review Type Date Requested Status
David Planella Disapprove
Michael Zanetti (community) Needs Fixing
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+241668@code.launchpad.net

Commit message

Fixed #1392197 - Support for multiple accounts does not work

Description of the change

Fixed #1392197 - Support for multiple accounts does not work

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

this seems to work fine, however there still is an issue with non authorized accounts. The account selection says "accountname - Tap to authorize" as expected, but tapping it actually doesn't do anyhting.

Fine with me to address that in a separate MP though. David, your opinion?

review: Approve
Revision history for this message
David Planella (dpm) wrote :

I think it'd be good to fix it in this branch. However, another question:
- I remember having done the change that's being reverted here to enable using the sandbox service (which we might still be using for some tests?), as instructed by mardy. Does this new change mean that we won't be able to use the sandbox anymore?

review: Needs Information
Revision history for this message
Michael Zanetti (mzanetti) wrote :

@David, no this doesn't break logging in with sandbox accounts, however, thinking about it, this would list enabled sandbox accounts AND production accounts in the list. Given that we only switch between those two using a cmdline argument, I guess that's still bogus. Changing my vote to needs fixing.

Also, as David said, please try to fix the "tap to authorize"

review: Needs Fixing
Revision history for this message
David Planella (dpm) wrote :

Ah, that reminds me of something else I wanted to mention. Some time after the work was started on the original multiple accounts branch, we had a talk with mardy and he pointed us to this workflow for multiple accounts:

https://wiki.ubuntu.com/OnlineAccounts#App_access

Rather than the originally suggested "tap to authorize" workflow, we should probably implement the above. Perhaps it will need to be in two stages: first fix the fact that accounts are not shown in this branch, and implement the app access workflow in another.

Revision history for this message
David Planella (dpm) wrote :

After talking to Riccardo, we'll reject it and work on this once the offline mode has landed.

review: Disapprove

Unmerged revisions

312. By Riccardo Padovani

Fixed 1392197 - Support for multiple accounts does not work

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/app/qml/reminders.qml'
2--- src/app/qml/reminders.qml 2014-11-07 20:45:48 +0000
3+++ src/app/qml/reminders.qml 2014-11-13 11:16:46 +0000
4@@ -137,7 +137,7 @@
5
6 AccountServiceModel {
7 id: allAccounts
8- service: useSandbox ? "evernote-sandbox" : "evernote"
9+ applicationId: "com.ubuntu.reminders_reminders"
10 includeDisabled: true
11 }
12

Subscribers

People subscribed via source and target branches