React-Roast is an innovative tool designed to enhance UI/UX testing and streamline feedback collection. It provides a user-friendly interface that allows teams to debug and refine user experiences efficiently, making it easier to deliver high-quality applications that users love.
React Roast is an innovative open-source app inspection tool designed to facilitate UI/UX testing, feedback collection, and user interface debugging. This powerful React widget enables users to effortlessly select elements on a webpage, capture their state including screenshots, and send the collected details to their preferred communication channels.
Key Features
- ✅ Element Selection: Effortlessly select any element on a webpage
- ✅ State Capture: Record element position, size, and screenshots
- ✅ Framework Compatibility: Fully supports React-based frameworks such as Next.js
- ✅ Customization: Options for self-hosting and customization for tailored use
- ✅ Lightweight Integration: Designed to be easy to integrate into existing projects
- ✅ Typescript Support: Built with Typescript and rollup for enhanced reliability
Demo
Explore the functionality of React Roast at RoastNest.com or Growati.com.
Usage Example
To implement React Roast in a React application, wrap the app with the WidgetProvider
component. Set the mode to local
and define the onFormSubmit
function to handle submissions. Below is a sample implementation:
import WidgetProvider, { FormDataProps } from "react-roast";
export default function App() {
const handleSubmit = async ({ message, screenshot }: FormDataProps): Promise<boolean> => {
try {
// Send message to desired channel like Slack or Discord
return true;
} catch (e) {
return false;
}
};
return (
<WidgetProvider mode="local" onFormSubmit={handleSubmit}>
<Main />
</WidgetProvider>
);
}
The widget also provides various properties for customization, including:
mode
: Choose betweenlocal
orremote
configurations.onFormSubmit
: Callback function to handle form submissions- Additional properties for customizing the appearance of the widget.
Contributing
Contributions to React Roast are encouraged. Interested contributors can follow these steps:
- Fork the repository.
- Create a new branch for feature additions or fixes.
- Implement changes and commit them.
- Submit a pull request.
Conformity to the project’s coding standards and best practices is expected. For assistance, contact here.
React Roast simplifies and enhances the process of UI/UX testing with a streamlined, user-friendly interface, making it an essential tool for developers aiming to improve the quality of their web applications.
No comments yet.
Sign in to be the first to comment.