Merge lp://staging/~day-scope-team/day-scope/fixes-1500486-cache-sun-info into lp://staging/day-scope
Proposed by
Kyle Nitzsche
Status: | Merged |
---|---|
Merged at revision: | 41 |
Proposed branch: | lp://staging/~day-scope-team/day-scope/fixes-1500486-cache-sun-info |
Merge into: | lp://staging/day-scope |
Diff against target: |
433 lines (+186/-70) 4 files modified
CMakeLists.txt (+2/-2) include/query.h (+10/-4) src/CMakeLists.txt (+6/-6) src/query.cpp (+168/-58) |
To merge this branch: | bzr merge lp://staging/~day-scope-team/day-scope/fixes-1500486-cache-sun-info |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jin (community) | Approve | ||
Review via email:
|
Description of the change
cache sunrise/sunset info and use it:
* if it was retrieved today
* and if we have network and location. If we don't have those, show "No Information" (localized).
This should speed up Day scope and therefore speed up Today scope.
To post a comment you must log in.
Generally, the code looks good to me,
but some suggestions as below,
please take a look there,
thank you.