This PR adds a new functionality to the extension that allows users to add custom brands in the popup. Users can input brands one by one in a tag-like input field in the popup, and these custom brands will be stored in the local storage. The custom brands will then be displayed on the page with a red flag emoji.
Summary of Changes
Modified popup.html to add an input field and a button for users to input custom brands.
Modified popup.js to handle the input of custom brands and send a message to the background script.
Modified background.js to handle the new message type for adding custom brands and update the brandData in the local storage.
Modified content_script.js to display the custom brands on the page with a red flag emoji.
Please review and merge this PR to add the functionality for users to add custom brands in the popup.
Fixes #1.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/add-custom-brands_2
🎉 Latest improvements to Sweep:
Getting Sweep to run linters before committing! Check out Sweep Sandbox Configs to set it up.
Added support for self-hosting! Check out Self-hosting Sweep to get started.
[Self Hosting] Multiple options to compute vector embeddings, configure your .env file using VECTOR_EMBEDDING_SOURCE
💡 To get Sweep to edit this pull request, you can:
Leave a comment below to get Sweep to edit the entire PR
Leave a comment in the code will only modify the file
Edit the original issue to get Sweep to recreate the PR from scratch
Description
This PR adds a new functionality to the extension that allows users to add custom brands in the popup. Users can input brands one by one in a tag-like input field in the popup, and these custom brands will be stored in the local storage. The custom brands will then be displayed on the page with a red flag emoji.
Summary of Changes
popup.html
to add an input field and a button for users to input custom brands.popup.js
to handle the input of custom brands and send a message to the background script.background.js
to handle the new message type for adding custom brands and update the brandData in the local storage.content_script.js
to display the custom brands on the page with a red flag emoji.Please review and merge this PR to add the functionality for users to add custom brands in the popup.
Fixes #1.
To checkout this PR branch, run the following command in your terminal:
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: