Commit 67a10f6
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- build/social-web
- src/social-web
- components/type-filter
- hooks
- routes/feed
7 files changed
+101
-8
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments