scopes not updated as often as expected

Bug #1421802 reported by Jamie Strandboge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Rest Scopes
New
Undecided
Unassigned
unity-scopes-api (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

When using the weather channel scope, I find it doesn't update when I expect. Eg, someone asked me what the temp was going to be and I said '46'. She responded with "What?!? No way, I heard it was supposed to be in the 70s!". Then I responded "oh, let me swipe down-- yes, there we go, 76". Seems that it should maybe update automatically after screen unlock and/or coming back in from another scope.

Other weather apps seem to be able to do this fine. Perhaps this automatic updating would be something a scope could opt in to?

summary: - scopes not updated as expected
+ scopes not updated as often as expected
Revision history for this message
Paweł Stołowski (stolowski) wrote :

We do have a (limited) support for automatic updating via "TTL" mechanism in the shell plugin; scopes opt in for it by declaring ttl value (small = 30 seconds, medium = 5 minutes, large = 1 hour) in their config file.

We could use it here, only bit missing is to support it for remote scopes - make them declare it in the json here https://dash.ubuntu.com/smartscopes/v2/remote-scopes and make smart scopes client code parse it and expose in scope metadata (so that shell can use it).

no longer affects: unity-scopes-shell (Ubuntu)
Changed in unity-scopes-api (Ubuntu):
status: New → Triaged
Changed in unity-scopes-api (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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