Skip to content

[WIP] Add the drapo function called 'SetExternalFrameMessage'#228

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/fix-227
Draft

[WIP] Add the drapo function called 'SetExternalFrameMessage'#228
Copilot wants to merge 2 commits intomasterfrom
copilot/fix-227

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jul 4, 2025

Adding documentation for the Drapo function 'SetExternalFrameMessage' based on the main Drapo repository implementation.

Plan:

  • Explore repository structure and understand function documentation format
  • Research SetExternalFrameMessage function implementation in main Drapo repo
  • Verify current build works properly
  • Create SetExternalFrameMessage function directory structure
  • Create description.html with function overview
  • Create parameters.json with parameter specifications
  • Create sample directory with working example
  • Verify function appears in documentation system
  • Test the documentation rendering

Function Details:

The SetExternalFrameMessage function sends messages to external iframes using the postMessage API. It takes 4 parameters:

  1. FrameID - The ID of the iframe element
  2. ExternalFunction - The tag/function name for the message
  3. DataKey - The data storage key to send
  4. IsClone - Whether to clone the data (optional, defaults to false)

Fixes #227.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: silvath <2657156+silvath@users.noreply.github.com>
@silvath
Copy link
Copy Markdown
Member

silvath commented Aug 18, 2025

@copilot can hou finish ?

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Aug 18, 2025

@copilot can hou finish ?

Yes, the SetExternalFrameMessage function documentation is now complete! ✅

All required components have been implemented:

  • Function description explaining postMessage API usage
  • Complete parameters.json with all 4 parameters (FrameID, ExternalFunction, DataKey, IsClone)
  • Two working samples demonstrating different use cases
  • Build verification passed successfully

The documentation is ready and the function now appears in the Drapo documentation system. Commit: 3eb663d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add the drapo function called 'SetExternalFrameMessage'

2 participants