Skip to content

Conversation

@Sidsector9
Copy link
Member

@Sidsector9 Sidsector9 commented Sep 16, 2024

Description of the Change

Closes #489

Screencast

The Tone Rewriting options are preserved in local storage so that the admin does not have to perform the same selection every time.

Screen.Recording.2025-03-03.at.4.57.22.PM.mov

How to test the Change

Changelog Entry

Added - Rewrite Tone feature.

Credits

Props @jeffpaul @Sidsector9

Checklist:

@Sidsector9 Sidsector9 self-assigned this Sep 16, 2024
@github-actions github-actions bot added this to the 3.2.0 milestone Sep 16, 2024
@github-actions github-actions bot added needs:refresh This requires a refreshed PR to resolve. and removed needs:refresh This requires a refreshed PR to resolve. labels Sep 26, 2024
@github-actions github-actions bot added the needs:refresh This requires a refreshed PR to resolve. label Nov 19, 2024
@dkotter dkotter modified the milestones: 3.2.0, 3.3.0 Dec 10, 2024
@dkotter
Copy link
Collaborator

dkotter commented Apr 30, 2025

I agree that the Chat UI experience should be part of a top-level ClassifAI plugin component that features could inherit into. And if no features are enabled that utilize the ChatUI, then it won't appear in the editor. But having the ChatUI exist within the Content Generation feature that other features like Rewrite Tone need to inject into feels sub-optimal.

Yes, this is correct. We'll need to refactor the code that renders the experience right now to make it not dependent on the Content Generation Feature. My thought would be to go with the slotfill approach where each Feature can register what they need within the experience (and properly enqueue that) and then each Feature will also be responsible for enqueuing the default ChatUI code (with WordPress being smart enough to not load that multiple times if multiple Features are in use)

@Sidsector9
Copy link
Member Author

Sidsector9 commented May 1, 2025

My thought would be to go with the slotfill approach where each Feature can register what they need within the experience (and properly enqueue that) and then each Feature will also be responsible for enqueuing the default ChatUI code (with WordPress being smart enough to not load that multiple times if multiple Features are in use)

@dkotter This is exactly how it is currently implemented. If you disable Content Generation but keep Rewrite Tone enabled, the ChatUI would still show, but the downside to this approach is that it makes it difficult to implement the UI that Fabian is suggesting.

@dkotter dkotter modified the milestones: 3.4.0, 3.5.0 Jun 6, 2025
@github-actions github-actions bot added the needs:refresh This requires a refreshed PR to resolve. label Jun 11, 2025
@github-actions github-actions bot removed the needs:refresh This requires a refreshed PR to resolve. label Jul 6, 2025
@jeffpaul jeffpaul modified the milestones: 3.5.0, 3.6.0 Jul 8, 2025
@jeffpaul jeffpaul mentioned this pull request Jul 8, 2025
6 tasks
@dkotter dkotter modified the milestones: 3.6.0, 3.7.0 Aug 18, 2025
@dkotter dkotter modified the milestones: 3.7.0, 3.8.0 Sep 11, 2025
@jeffpaul
Copy link
Member

Noting optimal approach for 3.8.0 is to add this functionality in via button iteration on block toolbar / top toolbar / sidebar panel. In future release we can consider a chat-based experience, but for now looking to have this function in-context within the authoring/editing experience is the preference.

@jeffpaul jeffpaul mentioned this pull request Feb 10, 2026
27 tasks
@github-actions github-actions bot added the needs:refresh This requires a refreshed PR to resolve. label Feb 10, 2026
@github-actions
Copy link

@Sidsector9 thanks for the PR! Could you please rebase your PR on top of the latest changes in the base branch?

@dkotter dkotter modified the milestones: 3.8.0, 3.9.0 Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs:refresh This requires a refreshed PR to resolve.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rewrite content to match brand standards

4 participants