Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

✨ Enhancement: Add Filter by Author in Blog Page #1269

Open
Adi-204 opened this issue Jan 9, 2025 · 5 comments
Open

✨ Enhancement: Add Filter by Author in Blog Page #1269

Adi-204 opened this issue Jan 9, 2025 · 5 comments
Labels
✨ Enhancement Indicates that the issue suggests an improvement or new feature. Status: Triage This is the initial status for an issue that requires triage.

Comments

@Adi-204
Copy link
Contributor

Adi-204 commented Jan 9, 2025

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

  1. Introduce a dropdown or search-based filter to select an author.
  2. 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

@Adi-204 Adi-204 added Status: Triage This is the initial status for an issue that requires triage. ✨ Enhancement Indicates that the issue suggests an improvement or new feature. labels Jan 9, 2025
@Adi-204
Copy link
Contributor Author

Adi-204 commented Jan 10, 2025

Please assign this issue to me if it aligns with the organization's goals and can add value.

@DhairyaMajmudar
Copy link
Member

@Adi-204 you can pls. share you're ideas for implementation of authors filter.

@Adi-204
Copy link
Contributor Author

Adi-204 commented Jan 19, 2025

@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!

@Adi-204
Copy link
Contributor Author

Adi-204 commented Jan 23, 2025

@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.

@cbum-dev
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Enhancement Indicates that the issue suggests an improvement or new feature. Status: Triage This is the initial status for an issue that requires triage.
Projects
None yet
Development

No branches or pull requests

3 participants