Skip to content

Consolidate Writing Tools definition#1490

Merged
cyanzhong merged 1 commit into
mainfrom
develop
Jun 16, 2026
Merged

Consolidate Writing Tools definition#1490
cyanzhong merged 1 commit into
mainfrom
develop

Conversation

@cyanzhong

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates MarkEdit’s internal Writing Tools identifiers to match the WebKit WritingTools SPI definitions, and adjusts selection-reselect behavior accordingly when invoking Writing Tools from the menu.

Changes:

  • Renamed the default tool from panel to index and updated all fallbacks to use it.
  • Consolidated/expanded the Tool enum cases and raw values to align with WebKit SPI (adds rewriteProofread, rewriteOpenEnded, transform variants, and smartReply).
  • Updated shouldReselect logic to avoid reselection for smartReply and compose tools.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cyanzhong cyanzhong merged commit 80c90df into main Jun 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants