Skip to content

Updated the UI for docs Plugin#5

Open
Almoizs-1310 wants to merge 1 commit intoMC-4102-improve-performance-of-inserting-diagram-in-google-doc-plugin-and-add-analyticsfrom
PLUG-1-improve-the-navigation-ans-diagram-selection-ui-for-google-doc-plugin
Open

Updated the UI for docs Plugin#5
Almoizs-1310 wants to merge 1 commit intoMC-4102-improve-performance-of-inserting-diagram-in-google-doc-plugin-and-add-analyticsfrom
PLUG-1-improve-the-navigation-ans-diagram-selection-ui-for-google-doc-plugin

Conversation

@Almoizs-1310
Copy link
Copy Markdown

This pull request introduces improvements to the dialog components for creating, editing, and selecting diagrams, focusing on better handling of iframe navigation events and updating the plugin URL for diagram selection. The main changes are grouped below:

Iframe Navigation Handling:

  • Added support for handling the 'navigateBack' action with the 'mermaid-chart-google-docs-back' type in the message event listeners of CreateDiagramDialog, EditDiagramDialog, and SelectDiagramDialog. When this event is received, the dialogs will now close appropriately, improving user experience when navigating back from embedded iframes. [1] [2] [3]

  • Updated the message event listeners in all three dialog components to extract the type property from incoming messages, enabling more precise event handling. [1] [2] [3]

Plugin URL Update:

  • Changed the plugin selection URL in SelectDiagramDialog from '/app/plugins/select?pluginSource=googledocs' to '/app/plugins/confluence/select?pluginSource=googledocs', ensuring the correct plugin context is used for diagram selection.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
google-plugin Error Error Mar 5, 2026 9:56am

Request Review

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.

1 participant