Welcome to the internal documentation for commentcast, a proprietary Chrome extension developed using React. This tool is designed to enhance our app's user experience by enabling companies to allow their users to make comments directly on the UI of the app, which can be viewed internally by their engineers or product managers. It's a crucial development tool aimed at ensuring our app delivers a seamless and inclusive user experience across various regions by capturing and managing UI feedback efficiently.
Installation: Add commentcast to your Chrome browser. The installation package can be found in our internal tools repository.
Configuration: Launch the commentcast extension and set up your target audiences along with specific parameters tailored to our app's needs for efficient UI feedback collection.
Initiate UI Feedback Collection: With commentcast activated, navigate through the app. The extension will highlight areas that your cursor hovers over. Click to then open a text box to begin commenting.
Issue Resolution: Utilize the captured comments to pinpoint and resolve any detected issues within the app related to UI feedback collection.
To ensure a smooth development process for our commentcast Chrome Extension, follow these steps:
Environment Setup: Make sure you have Node.js and npm installed. Clone the repository and run npm install
to install all dependencies.
Development Build: Use the command npm run build
to compile the TypeScript and React files into JavaScript. This command uses webpack to bundle the application, as specified in webpack.config.js
.
Testing Changes: To test your changes, load the dist
folder as an unpacked extension in Chrome. Navigate to chrome://extensions/
, enable Developer mode, and click on "Load unpacked". Select the dist
folder within the project directory.
Watching for Changes: For a more efficient development workflow, use npm run watch
to automatically rebuild the project when files are changed. This allows for rapid testing and iteration.
Submitting Changes: Once you're satisfied with your changes, submit a pull request for review. Ensure your PR includes a detailed description of the changes and any necessary testing instructions.
Review and Merge: The code will be reviewed by a peer, and upon approval, it will be merged into the main branch. Continuous integration tools will automatically deploy the new version of the extension.