Closed Bug 1141861 Opened 9 years ago Closed 9 years ago

[P2P Sharing] Refresh local app list when receiving `install` and `uninstall` events

Categories

(Firefox OS Graveyard :: Gaia::P2P Sharing, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: drs, Assigned: drs)

References

Details

(Whiteboard: [spark])

Attachments

(1 file)

We should cache the app list to speed up retrieval. Right now, we:
a. Don't do any caching for network requests, so we have to re-get the whole app list on every request.
b. Don't refresh the local app list when an app is (un)installed.

We should refresh this cached app list and re-render the local apps when we receive `install` and `uninstall` events.
Blocks: 1141866
Status: NEW → ASSIGNED
Comment on attachment 8575977 [details] [review]
Refresh local app list when receiving `install` and `uninstall` events.

I only looked at the last 2 commits since the rest of the patch seems to have been based off of the other visual refinements patch. LGTM.
Attachment #8575977 - Flags: review?(jdarcangelo) → review+
https://github.com/fxos/sharing/commit/f7fd1cdcacb9a0a2d58180d8bd4afc0bc3f320c8
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [lightsaber] → [ignite]
Whiteboard: [ignite] → [spark]
Component: Gaia → Gaia::P2P Sharing
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: