-
Notifications
You must be signed in to change notification settings - Fork 57
[Modal Layout Picker] Cache the results of the fetched the layouts call #2456
Copy link
Copy link
Closed
Labels
Page Templates[Type] EnhancementImproves a current area of the editorImproves a current area of the editor
Description
Is your feature request related to a problem? Please describe.
This task is part of the effort to rework the Starter Page Template Picker for new pages. This part of the initiative will focus on caching the data as a result of the call made in #2443 and as modified by related issues.
Goals
- The data from the API should be fetched every time the picker loads for WPCOM sites.
- The UI should be updated only if there are changes as a result of the fetch.
- Suggested strategy: iOS may benefit from NSFetchedResultsController
- Suggested strategy: Android might benefit from using the ListStore from FluxC.
- The fetching and updating of the data should be transparent to users. ie they shouldn't be waiting on the fetch or unnecessarily loosing "progress" by not having the same template selected.
- Future iteration consider pull to refresh.
- This should also handle the caching of Image data
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Page Templates[Type] EnhancementImproves a current area of the editorImproves a current area of the editor

