✨ Enhancement: Add Filter by Author in Blog Page
Is your feature request related to a problem? Please describe
Currently, users can only filter blogs by category. To improve usability and convenience, we should add an "Author" filter to the Blog page, allowing users to view blogs written by a specific author.
Describe the solution you'd like
Proposed Solution
- Introduce a dropdown or search-based filter to select an author.
- Also change existing filter by category to a dropdown.
Describe alternatives you've considered
No response
Additional context
No response
Are you working on this?
Yes
Please assign this issue to me if it aligns with the organization's goals and can add value.
@Adi-204 you can pls. share you're ideas for implementation of authors filter.
@DhairyaMajmudar, I suggest we introduce filtering options, such as 'Author' and 'Category,' to enhance functionality. This will improve the user experience. Let me know your thoughts!
@DhairyaMajmudar I implemented the filter feature.
https://github.com/user-attachments/assets/be1bcc2f-5a7a-4ed6-adaf-ae1cda8d3442
But because I write code to extract all authors name from blogs the getStaticProps is showing following error. Warning: data for page "/blog" is 443 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance. Please provide feedback.
@DhairyaMajmudar I implemented the filter feature. Untitled.video.-.Made.with.Clipchamp.mp4
But because I write code to extract all authors name from blogs the getStaticProps is showing following error. Warning: data for page "/blog" is 443 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance. Please provide feedback.
I have figured out an implementation to reduce the 443kB of data. I will be raising an issue once its done.
@DhairyaMajmudar can you please provide feedback/suggestions? Can I raise PR?
@benjagm @DhairyaMajmudar can you provide any update on this please thanks : )
I think we will pause this feature for now. We would like to have the codebase as lean as possible and we dont have a large amount of posts.
Thanks a lot for your contributions.