A new 'AI-powered Copy Suggestion' feature for the Visual Editor.
Upon selecting an HTML element, we detect if the innerHTML contains human-readable text, and offer a way to transform the text based on a list of tones (e.g. 'concise', 'humorous'). The user then has the ability to edit this suggestion before either applying the change or throwing it away.
A new 'AI-powered Copy Suggestion' feature for the Visual Editor.
Upon selecting an HTML element, we detect if the innerHTML contains human-readable text, and offer a way to transform the text based on a list of tones (e.g. 'concise', 'humorous'). The user then has the ability to edit this suggestion before either applying the change or throwing it away.
This is supported by a new endpoint on the backend: https://github.com/growthbook/growthbook/pull/1307
Changes:
AIEditorSection
component (a higher-orderVisualEditorSection
component)AICopySuggestor
component, which houses main functionality of featureIDrop
component for tooltip helpershumanReadableText
transformCopy
API method to interface w/ GB APIScreen captures
New section in the Visual Editor pane, collapsed by default
Tooltip
Expanded
Hover-over action
Loading state
New generated copy
Generated copy, applied
Error state
"Peek out" behavior
Happy path