Skip to content

TINYDOC-3570: The tinymceai_chat_fetch_sources option can now nominate default sources for chat conversations. - #4318

Open
kemister85 wants to merge 2 commits into
feature/8.9/TINYDOC-3570from
feature/8.9/TINYDOC-3570_TINYMCE-14777
Open

TINYDOC-3570: The tinymceai_chat_fetch_sources option can now nominate default sources for chat conversations.#4318
kemister85 wants to merge 2 commits into
feature/8.9/TINYDOC-3570from
feature/8.9/TINYDOC-3570_TINYMCE-14777

Conversation

@kemister85

@kemister85 kemister85 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Ticket: TINYDOC-3570 (TINYMCE-14777), TINYDOC-3561

Site: Staging

TINYMCE-14777 supersedes the tinymceai_chat_default_sources option added under TINYMCE-14703, which was removed before release. Default Chat sources are now nominated through the existing tinymceai_chat_fetch_sources option. Replaces #4306, which was closed when the branch was renamed.

Changes:

  • Rewrote the tinymceai_chat_fetch_sources section in modules/ROOT/partials/configuration/tinymceai_options.adoc to cover both accepted shapes (the original array of source groups, and an object holding menu.sources plus a defaults array), the defaults semantics, and the console error cases.
  • Removed the tinymceai_chat_default_sources section from modules/ROOT/partials/configuration/tinymceai_options.adoc.
  • Updated the release note entry in modules/ROOT/pages/8.9.0-release-notes.adoc for TINYMCE-14777, noting that the array form still works and is not a breaking change.
  • Removed tinymceai_chat_default_sources from the complete setup example in modules/ROOT/pages/tinymceai.adoc.
  • Pointed the default sources cross-reference in modules/ROOT/pages/tinymceai-chat.adoc at tinymceai_chat_fetch_sources and its defaults property.

Note: the implemented shape differs from the ticket description. The ticket specifies menu: [ ...groups ], but plugins/tinymceai/src/main/ts/ui/Sources.ts on rc/8.9 defines menu: { sources: ExternalSourcesList[] }, nesting the groups one level deeper. The documented shape follows the implementation, confirmed against DefaultChatSourcesTest.ts and DemoApp.ts.


Pre-checks:

  • Branch is correctly prefixed (release-note branch)
  • Files have been included where required (if applicable).
  • Build passes without console errors, warnings, or issues.

Review:

  • Documentation Team Lead has reviewed.

…8.9.0 release note

Documents the new TinyMCE AI chat option and adds the accompanying release
note entry for the 8.9.0 release.

Covers TINYDOC-3561 (option reference section) and TINYMCE-14703.
@kemister85 kemister85 added this to the TinyMCE 8.9.0 milestone Aug 20, 2026
@kemister85 kemister85 added the upcoming release Documentation for features currently under development/QA label Aug 20, 2026
@kemister85
kemister85 marked this pull request as ready for review August 20, 2026 06:29
@kemister85
kemister85 requested review from a team and soritaheng as code owners August 20, 2026 06:29
@kemister85
kemister85 requested review from MitchC1999 and ShiridiGandham and removed request for a team August 20, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upcoming release Documentation for features currently under development/QA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant