Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

favorites filtering blog posts #21236

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

suhaib-mousa
Copy link
Contributor

Add Favorites Filter to Blog Posts

This PR adds the ability for users to filter blog posts by their favorites when the marked item feature is enabled. Users can now toggle between viewing all posts and their favorite posts in the blog listing.

Changes Made

  • Add FilterOnFavorites filter option to BlogPostGetListInput
  • Add favoriteOfUserId parameter to repository layer for filtering
  • Update BlogPostPublicAppService to handle favorites filtering
  • Integrate with CmsKit's existing MarkedItems system
  • Handle authentication state for favorites access

Demo

video-to-gif-converter

@suhaib-mousa
Copy link
Contributor Author

Good morning @enisn, I hope this PR is ready for your review. 🙏

@enisn enisn self-requested a review November 4, 2024 06:25
@enisn enisn added this to the 9.1-preview milestone Nov 4, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants