Skip to content

Feature/reader discovery#1347

Merged
roundhill merged 258 commits intodevelopfrom
feature/reader-discovery
May 14, 2014
Merged

Feature/reader discovery#1347
roundhill merged 258 commits intodevelopfrom
feature/reader-discovery

Conversation

@nbradbury
Copy link
Copy Markdown
Contributor

This PR adds some new features to the Reader and fixes some longstanding problems.

Blog Preview

Displays posts in a specific blog, with info about the blog (name, description, follower count) and an mshot of the blog above the posts. To display it:

  • Tap the avatar section above each post in the reader post list
  • Tap an avatar in a comment beneath a post
  • Tap an avatar in the list of users who like a post

Note that blog preview only works for wp blogs - it's disabled for feeds (see caveat below).

Tag Preview

Posts in the reader post list now show the "primary" tag for each post when available. Tapping this displays all public posts with the tag and enables easily following it.

Redesigned Tag Activity

ReaderTagActivity has been renamed to ReaderSubsActivity and significantly redesigned.

  • Switched to a ViewPager for easier movement between pages
  • Recommended & followed blogs are now shown, and integrate with the blog preview
  • You can now follow a blog by typing its URL (with or without http://)

Note that followed blogs does not show feeds you follow (see caveat below).

Backfill

In the past if you synced the reader then don't sync again for some time, with a popular tag there would often be posts missing between the posts previously retrieved and the posts just retrieved.

This PR resolves this problem to a certain degree by detecting when missing posts may exist and "backfills" them. Note that to avoid excessive bandwidth/battery consumption, there is a limit to how many posts will be backfilled.

Caveat

You may encounter problems related to following/unfollowing feeds while testing this PR. These problems are due to limitations in our API and have existed for a while, but may be more obvious now. I'm working to resolve them, and once they're resolved I'll submit a new PR with the fixes.

Issues fixed in this PR:

nbradbury added 30 commits April 8, 2014 05:53
…o table now uses normalized URL as primary key
* Blogs are now followed via their domain rather than via encoded full url
* Follow status is now updated for all posts after a blog is followed/unfollowed
…rom blog detail if device rotated while blog detail showing

* Merge branch 'develop' of https://github.com/wordpress-mobile/WordPress-Android into feature/reader-blog-detail
…ss-Android into feature/reader-blog-detail

Conflicts:
	src/org/wordpress/android/ui/reader/ReaderActivity.java
	src/org/wordpress/android/ui/reader/ReaderPostListFragment.java
@roundhill
Copy link
Copy Markdown
Contributor

How about using @drawable/list_divider in the tag lists so that the divider has the margin like in other areas of the app?

@roundhill
Copy link
Copy Markdown
Contributor

It's looking awesome, I say :shipit:

roundhill added a commit that referenced this pull request May 14, 2014
@roundhill roundhill merged commit 37cd4c0 into develop May 14, 2014
@roundhill roundhill deleted the feature/reader-discovery branch May 14, 2014 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment