Skip to content

Add subscriptions page with filtering, sorting, and pagination#603

Merged
akirk merged 3 commits intomainfrom
add-subscriptions-page
Mar 24, 2026
Merged

Add subscriptions page with filtering, sorting, and pagination#603
akirk merged 3 commits intomainfrom
add-subscriptions-page

Conversation

@akirk
Copy link
Copy Markdown
Owner

@akirk akirk commented Mar 24, 2026

Summary

  • Replace the "under construction" placeholder on /friends/subscriptions/ with a full-featured page
  • Show stats: number of people (ActivityPub) and feeds (RSS/Atom) as separate translatable sentences
  • Filter by: All, Starred, and dynamically listed subscription folders
  • Sort by: Name, Newest, Oldest, Most Posts
  • Paginate at 20 items per page
  • Each subscription shows avatar, name, star/folder badges, post count, date, parser type, and description
  • CSS grid layout for both default (Spectre) and Google Reader themes

Test plan

  • Visit /friends/subscriptions/ and verify the page loads with subscription list
  • Test filtering by Starred and by folder (if folders exist)
  • Test all sort options (Name, Newest, Oldest, Most Posts)
  • Verify pagination appears when there are more than 20 subscriptions
  • Check layout in both default and Google Reader themes
  • Verify the page works with zero subscriptions

You can test this on WordPress Playground:
https://playground.wordpress.net/#{%22steps%22:[{%22step%22:%22installPlugin%22,%22pluginData%22:{%22resource%22:%22git:directory%22,%22url%22:%22https://github.com/akirk/friends%22,%22ref%22:%22add-subscriptions-page%22,%22refType%22:%22branch%22},%22options%22:{%22activate%22:true}}]}

akirk added 3 commits March 24, 2026 14:17
Replace the "under construction" placeholder with a full-featured
subscriptions page showing:
- Stats: people (ActivityPub) and feed counts as separate sentences
- Filtering: All, Starred, plus dynamic folder filters
- Sorting: Name, Newest, Oldest, Most Posts
- Pagination: 20 items per page
- Rich list items: avatar, name, star indicator, folder badge,
  post count, subscription date, parser type, and description
Add subscription list styles to friends.scss and recompile friends.css
to fix bullet point display in the default (Spectre) theme.
Use CSS grid instead of flexbox so the meta line (post count, date,
parser) aligns under the name rather than indenting to match the
link width.
@github-actions
Copy link
Copy Markdown
Contributor

Test this PR in WordPress Playground

You can test this pull request directly in WordPress Playground:

Launch WordPress Playground

This will install and activate the plugin with the changes from this PR.

@akirk akirk merged commit ef12809 into main Mar 24, 2026
25 checks passed
@akirk akirk deleted the add-subscriptions-page branch March 24, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant