-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Feature Request
Create a dropdown on the home page that filters the articles by sentiment.
Description
We need to add a filtering mechanism to our home page to allow users to view articles based on their sentiment analysis results. This will improve user experience by enabling them to quickly find articles with specific emotional tones.
Proposed Implementation
Add a dropdown menu to the home page
The dropdown should contain 4 options:
Very Good
Good
Neutral
Bad
When a user selects an option, the displayed articles should be filtered accordingly
Current Functionality
Currently, our website:
Retrieves news articles from an API based on user-specified parameters
Performs sentiment analysis on these articles using Python
Displays the articles for users to click and navigate to
Expected Behavior
After implementing this feature:
Users should see the new dropdown on the home page
Selecting a sentiment option should immediately update the displayed articles
Only articles matching the selected sentiment should be shown
The default view (before any selection) should continue to show all articles
Additional Considerations
Think about how this feature will interact with any existing filtering or sorting mechanisms
Benefits
This feature will:
Enhance user experience by allowing quick access to articles of a specific tone
Showcase the value of our sentiment analysis functionality
Possible Challenges
Ensuring accurate sentiment classification