Merge lp://qastaging/~nik90/ubuntu-clock-app/migrate-u1db-to-qtlabs into lp://qastaging/ubuntu-clock-app

Proposed by Nekhelesh Ramananthan
Status: Work in progress
Proposed branch: lp://qastaging/~nik90/ubuntu-clock-app/migrate-u1db-to-qtlabs
Merge into: lp://qastaging/ubuntu-clock-app
Diff against target: 241 lines (+40/-53)
8 files modified
app/clock/ClockPage.qml (+10/-20)
app/clock/MainClock.qml (+1/-1)
app/components/Clock.qml (+1/-4)
app/ubuntu-clock-app.qml (+12/-14)
app/worldclock/UserWorldCityDelegate.qml (+2/-2)
debian/changelog (+1/-0)
debian/control (+1/-0)
tests/unit/MockClockApp.qml (+12/-12)
To merge this branch: bzr merge lp://qastaging/~nik90/ubuntu-clock-app/migrate-u1db-to-qtlabs
Reviewer Review Type Date Requested Status
Bartosz Kosiorek Needs Fixing
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+268384@code.qastaging.launchpad.net

Commit message

Migrated user clock settings from u1db to qt.labs.settings.

Description of the change

Migrates clock settings such as user location settings, digital/analogue mode setting from u1db to Qt.labs.settings for the following reasons,

- Recommended by the SDK developers to store app settings using Qt.labs.settings
- Code syntax is also much easier to understand and maintain
- Future stopwatch branch is also using Qt.labs.settings to store stopwatch status. So this will be a good point to unify them.

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: Needs Fixing (continuous-integration)
342. By Nekhelesh Ramananthan

Added qt labs depedency to debian to fix failing unit test

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
343. By Nekhelesh Ramananthan

Added u1db database as it is needed for world city list

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
Bartosz Kosiorek (gang65) wrote :

I notices some issues regarding restoring clock type (analog or digital).
Steps to reproduce:

1. Add several world clock
2. Change clock from analog to digital. Notice that world clock are changed to digital
3. Close app
4. Run clock again
5. Notice that main clock face is digital, but all world clock is analog. Switching to analog is causing that world cities times are switching to digital

review: Needs Fixing
Revision history for this message
Bartosz Kosiorek (gang65) wrote :

After further testing, it seems that time need to start increased from 3,825s to 5.15s

I think it needs to be fixed.

review: Needs Fixing

Unmerged revisions

343. By Nekhelesh Ramananthan

Added u1db database as it is needed for world city list

342. By Nekhelesh Ramananthan

Added qt labs depedency to debian to fix failing unit test

341. By Nekhelesh Ramananthan

Updated debian changelog

340. By Nekhelesh Ramananthan

merged lp:ubuntu-clock-app

339. By Nekhelesh Ramananthan

Migrated clock settings from U1db to Qt.labs.settings

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