As a user, I want to be able to suggest changes to website owners by editing the website's code with the help of a Chrome extension, which makes it easier for me to communicate my suggestions efficiently and accurately.
Acceptance Criteria
[ ] User can select the part of the website they wish to edit.
[ ] User can invoke the GPT-powered feature to suggest rewrites for the selected code.
[ ] User can edit the code manually if desired.
[ ] Edited code can be previewed within the Chrome extension.
[ ] Extension provides a mechanism to submit the proposed changes to the website owner.
[ ] Submission includes a diff of the original code and the user's proposed changes.
[ ] User receives confirmation after the change suggestion is successfully submitted.
sequenceDiagram
participant U as User
participant E as Extension
participant W as Website
U->>E: Select code on the website
E->>U: Provide interface for code editing
U->>E: Input edited code or invoke GPT rewrite
E->>U: Render code preview
U->>E: Submit changes
E->>W: Create and send change suggestion
Change Submission Mechanism
As a user, I want to be able to suggest changes to website owners by editing the website's code with the help of a Chrome extension, which makes it easier for me to communicate my suggestions efficiently and accurately.
Acceptance Criteria