Closed Bug 814055 Opened 12 years ago Closed 6 years ago

[Updates] don't delay the updates notification if the user forced the check

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-basecamp:-)

RESOLVED WONTFIX
blocking-basecamp -

People

(Reporter: julienw, Unassigned)

References

Details

(Whiteboard: interaction, UX-P2 [perf-reviewed])

Right now we delay the updates notification (30 seconds IIRC) so that we can group the notifications.

But we should not delay the notification if this is a forced check (which means the user pushed the "check updates now" button in the settings app).
Great point, Julien. Totally agree.
Severity: minor → normal
Priority: -- → P2
Whiteboard: interaction
Summary: [system] don't delay the updates notification if the user forced the check → [Updates] don't delay the updates notification if the user forced the check
That was really Etienne's idea but he likes me to open his bugs ;)
Priority: P2 → --
Whiteboard: interaction → interaction, UX-P2
blocking-basecamp: --- → ?
gaia triage : - ; users shouldn't need to update so often.
blocking-basecamp: ? → -
(In reply to Julien Wajsberg [:julienw] from comment #0)
> Right now we delay the updates notification (30 seconds IIRC) so that we can
> group the notifications.
> 
> But we should not delay the notification if this is a forced check (which
> means the user pushed the "check updates now" button in the settings app).

Actually now I give this some more thought, we delay showing a notification so that the remote sources we poll for available updates have time to respond back. Wouldn't we still need this delay, for the same reason, even in manual checks? In the interim while the user is waiting, could we display a spinner GIF next to the manual check button in Settings?
Actually, I don't remember why we have to delay the notification at all, because we can know (with the ugly setting change) when the update is complete and then show the notification immediately.

Etienne, could you help us here ?
Flags: needinfo?(etienne)
(In reply to Julien Wajsberg [:julienw] from comment #5)
> Actually, I don't remember why we have to delay the notification at all,
> because we can know (with the ugly setting change) when the update is
> complete and then show the notification immediately.
> 
> Etienne, could you help us here ?

We're getting various download available events in a row (that's what triggers the notifications), so we're waiting a bit to make sure we're showing the notification only once with the total update count.

Keep in mind that the force-check is not the only path to the update available notifications.
Flags: needinfo?(etienne)
etienne> yeah but we still should get the "gecko/apps.updateStatus" settings change with the "check-complete" value, and then we can display the notification asap.

The only problem with this approach is if an update check is very long (like the server is down and the request times out), so we may have to use both the timeout and the settings change. But then it would work for both possibilities.
(In reply to Julien Wajsberg [:julienw] from comment #7)
> etienne> yeah but we still should get the "gecko/apps.updateStatus" settings
> change with the "check-complete" value, and then we can display the
> notification asap.

And I have nothing against that!
Just answering the previous question :)
ok, so that might be a plan if we decide to fix this bug (that is BB-, so maybe later in january ;) )
Whiteboard: interaction, UX-P2 → interaction, UX-P2 [perf-reviewed]
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.