wordpress-mobile / WordPress-iOS

WordPress for iOS - Official repository
http://ios.wordpress.org/
GNU General Public License v2.0
3.69k stars 1.12k forks source link

My Site Dashboard: Posts Card content #17697

Closed leandroalonso closed 2 years ago

leandroalonso commented 2 years ago

This task groups all the steps necessary to create the content of the Posts Card (which can be embedded inside other views). The aim is to create the part that shows the posts/opens the editor, not the actual card frame.

Known issues:

Removed from this issue:

Both should be tackled as part of the whole dashboard updating.

Additional info: Posts List screen and the card

One of the biggest issues I found while working on the POC was that the NSFetchedResultsController basically doesn't respect the fetchLimit. In some cases, you'll be able to see 2 or 4 posts — which is not a big deal. However, if you go to the post list screen and go back to the main screen, all the posts seen on the Posts List will be displayed on the card. I managed to do a workaround on the POC branch that seems to work fine, but more testing will be necessary.

POC

My explorations/POC can be found here.

leandroalonso commented 2 years ago

Closing the issue since the overall work is done. Bugs will be tracked in their own issues.