-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Code Editing Interface Specifications
As a user, I want a Chrome extension that allows me to modify code on any website, propose changes through GPT, and submit these to the website owner.
Acceptance Criteria
- Users can activate the extension on any webpage.
- Extension can extract the HTML/CSS/JavaScript code of the current webpage.
- Users can highlight the code they wish to change and request a rewrite.
- Extension integrates with GPT to suggest modifications.
- Users can view the suggested changes and accept or reject them.
- Users can submit the accepted changes to the website owner via email.
- Extension provides a user-friendly interface for code editing.
- Extension includes a feature to revert changes to the original website code.
sequenceDiagram
participant User
participant Extension
participant GPT
participant WebsiteOwner
User->>Extension: Activate on webpage
Extension->>User: Extract and display code
User->>Extension: Highlight and request rewrite
Extension->>GPT: Send code for suggestion
GPT-->>Extension: Provide changes
Extension-->>User: Display suggestions
User->>Extension: Accept/Reject changes
Extension-->>User: Apply accepted changes
User->>Extension: Submit changes
Extension->>WebsiteOwner: Email changes