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

Chrome Extension for Headline Replacement #7

Open
MelvinSninkle opened this issue Oct 20, 2024 · 2 comments
Open

Chrome Extension for Headline Replacement #7

MelvinSninkle opened this issue Oct 20, 2024 · 2 comments

Comments

@MelvinSninkle
Copy link
Collaborator

Title: Develop Chrome Extension for Replacing Headlines
Description: Build a Chrome extension that replaces the original headlines from Fox News, CNN, and MSNBC with newly generated headlines, while keeping old headlines available via hover.
Tasks:
1. Develop the basic structure of the Chrome extension.
2. Integrate with the backend to fetch the new headlines from the database.
3. Replace old headlines on the specified sites with new ones. Should be a find and replace function but should look for header tags to ensure we are not over-replacing.
4. Implement hover functionality to display the old headline.
5. Ensure user interface is clear, with distinct styling for replaced headlines. Suggestion to use blue for the replaced headlines. (Note: In future, I would like black for native headlines, blue for replaced headlines, green or gold for verified headlines, and red for headlines on articles found to be in violation of policy.)
Acceptance Criteria:
• Extension replaces headlines in real-time on supported sites.
• Old headlines are accessible via hover text.
• Extension functions smoothly on Chrome and meets UI requirements.
Priority: High
Labels: Frontend, Extension, MVP

@Melvillian
Copy link
Collaborator

Should be a find and replace function but should look for header tags to ensure we are not over-replacing

I'm not sure what the problem is here you're solving for. Can you explain in more detail?

@MelvinSninkle
Copy link
Collaborator Author

I'm not sure what the problem is here you're solving for. Can you explain in more detail?
If we replace a string of text without sensitivity to the tags around it (say

) I’m thinking we might have a bug where someone mentions the title of their article within the article itself and then we end up replacing that as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants