cache all data for the day to reduce net calls

Bug #1500486 reported by Kyle Nitzsche
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Day Scope
Fix Released
High
Penk Chen

Bug Description

The day scope currently caches lunar data, but it should cache all data for the current day and use the cache for every refresh after the first on each day.

Related branches

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Note: using cached data is important for speed, especially since this scope is the first scope in Today scope and any delay here delays the rest of Today scope's categories from displaying.

Changed in day-scope:
status: New → In Progress
Changed in day-scope:
importance: Undecided → High
assignee: nobody → Kyle Nitzsche (knitzsche)
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

fixed with com.canonical.scopes.day_1.3_armhf.click (attached)

tags: added: ota10
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Penk, Can you please have the attached tested and released?

(I added tag ota10)

Note that I did NOT place it in clicks.

Changed in day-scope:
status: In Progress → Fix Committed
assignee: Kyle Nitzsche (knitzsche) → Penk Chen (penk)
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Penk, There is another small change to Day scope (see https://bugs.launchpad.net/day-scope/+bug/1543793).

The MR is not yet reviewed for this, but it is simple.

How do you want me to handle this?

Revision history for this message
Penk Chen (penk) wrote :

@Kyle, let's get this QA'd first, bump the version and verify again once you have bug #1543793 fixed.

@Elsa, please advice.

Changed in day-scope:
assignee: Penk Chen (penk) → Elsa Wang (elsawang)
Revision history for this message
Elsa Wang (elsawang) wrote :

@Ethan, please help to verify this issue with the latest package, thanks!

Changed in day-scope:
assignee: Elsa Wang (elsawang) → Ethan Chang (ethan.chang)
Revision history for this message
Ethan Chang (ethan.chang) wrote :

Verified with ver 1.3

tags: added: cqa-verified
Changed in day-scope:
assignee: Ethan Chang (ethan.chang) → Penk Chen (penk)
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Thanks Ethan.

Penk, I have pushed 1.3 day scope to clicks branch for release.

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

ota 13 contains day scope 1.5, so this was fix released some time ago.

Changed in day-scope:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.