Skip to content

Commit 67a10f6

Browse files
pfefferleclaude
andcommitted
Add type filter for feed based on ap_object_type taxonomy
This adds a button-based filter to the feed that allows users to filter posts by ActivityPub object type (Article, Note, etc.). Changes: - Add ap_object_type field to FeedPost interface - Add apObjectType parameter to useFeed hook with REST API integration - Create TypeFilter component using WordPress ButtonGroup - Integrate TypeFilter into feed stage with localStorage persistence - Filter buttons appear in DataViews header aligned to the right The selected filter is persisted to localStorage so it's remembered across sessions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 5b87b55 commit 67a10f6

File tree

7 files changed

+101
-8
lines changed

7 files changed

+101
-8
lines changed

build/social-web/feed-stage.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/social-web/index.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-preferences', 'wp-primitives', 'wp-private-apis', 'wp-url', 'wp-warning'), 'version' => '658866a5e77c1bf57d37');
1+
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-commands', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-preferences', 'wp-primitives', 'wp-private-apis', 'wp-url', 'wp-warning'), 'version' => '28980da823d4c9a1ef30');

0 commit comments

Comments
 (0)