
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
react-collect-feedback
Advanced tools
A React plugin to collect feedback easily from webpages. The react-collect-feedback plugin has props through which feedback collection can be customized extensively.
React-Collect-Feedback is a highly customizable feedback widget component built with React. It allows easy collection of user feedback through ratings, emojis, or text inputs. The widget can be integrated into any React application, providing seamless feedback collection that can be adapted to fit your needs.
npm install react-collect-feedbackimport React from 'react';
import FeedbackWidget from 'react-collect-feedback';
function App() {
const handleFeedbackSubmit = (data) => {
console.log("Feedback submitted:", data);
};
const feedbackWidgetProps = {
template: "rating",
promptText: "How did we do?",
showThumb: false,
position: "bottom-right",
onSubmitFeedback: handleFeedbackSubmit,
feedbackTitle: "Tell us what you think",
closeAfter: 5000,
options: [
{ title: "What kind of feedback do you have?" },
{ icon: "👍", text: "I like something" },
{ icon: "👎", text: "I don't like something" },
{ icon: "💡", text: "I have an idea" }
],
captureUserInfo: { name: true, email: true, contact: true },
ratings: [
{ value: "Speed of website", mandatory: true },
{ value: "Content quality", mandatory: true },
{ value: "Ease of navigation", mandatory: false }
],
score: [
{ title: "How satisfied are you?", number: 5 },
{ title: "How likely are you to recommend us?", number: 10 }
]
};
return (
<div>
<FeedbackWidget {...feedbackWidgetProps} />
</div>
);
}
export default App;
template: Choose a template for feedback collection. Options includeproduct: For collecting product-related feedback.page: General page feedback.rating: Star ratings for specific feedback categories.score: Score-based feedback, e.g., 1 to 5 or 1 to 10.promptText: Text prompt for initiating the feedback collection (default is "How did we do?").showThumb: Show thumbs up/down for quick reactions. Default is false.position: Position of the feedback widget on the screen. Available positions:bottom-rightbottom-lefttop-righttop-leftonSubmitFeedback: Callback function that will receive the collected feedback data when the user submits it.feedbackTitle: Title text that appears at the top of the feedback popup (e.g., "Tell us what you think").closeAfter: Time in milliseconds after which the widget will close automatically after submission. Default is 5000.options: Array of objects defining feedback options (icons, text) for quick user feedback.captureUserInfo: Boolean values for capturing user information (name, email, contact).ratings: Array of objects for rating different aspects (value, mandatory status). Example:If you want to contribute to this project, feel free to submit pull requests or open issues for suggestions and bug reports.
This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
A React plugin to collect feedback easily from webpages. The react-collect-feedback plugin has props through which feedback collection can be customized extensively.
The npm package react-collect-feedback receives a total of 16 weekly downloads. As such, react-collect-feedback popularity was classified as not popular.
We found that react-collect-feedback demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.