Automattic / Automattic/jetpack

Add undo to the AI assistant toolbar

Open
#33,122 0 comments 0 reactions 0 assignees View on GitHub
[AI Feature] AI Extension [Block] AI Assistant Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

I was a bit thrown off by the inability to discard/revert/undo the updated content, whenever running any of the controls. I know we have the main "Undo" control in the editor header, but it seems more appropriate to make a "Discard" control front and center in the block toolbar, which would omit anything the AI has done to/with my content.

I think this would encourage more experimenting as well, as you're much more confident to try it, if it's clear how to go back.

CleanShot 2023-09-15 at 17 17 21

Contributor guide

Open the contributing guide

Research direction

Start by locating the AI assistant block toolbar and the existing editor-header Undo control. Confirm how AI changes are tracked, then make the toolbar's discard action revert those changes and verify that the content returns to its prior state.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.