Skip to content

docs(editor): global view models - #840

Merged
lancesnider merged 3 commits into
mainfrom
global-view-models
Aug 7, 2026
Merged

docs(editor): global view models#840
lancesnider merged 3 commits into
mainfrom
global-view-models

Conversation

@lancesnider

Copy link
Copy Markdown
Collaborator

No description provided.

@lancesnider
lancesnider requested a review from a team as a code owner August 6, 2026 02:49
@mintlify

mintlify Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
rive 🟢 Ready View Preview Aug 6, 2026, 2:51 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@lancesnider
lancesnider requested review from jeffatrive and a lite review from Copilot and removed request for a team August 6, 2026 02:49

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 the Editor data-binding documentation to introduce and explain Global View Models/Instances, and to clarify how to bind to global properties in the binding UI.

Changes:

  • Expands “Connecting View Model Instances to Artboards” to include Global View Model Instances as a first-class pattern.
  • Updates the “Create a View Model” flow to mention global vs non-global creation paths.
  • Adds a note to the binding docs describing how to select Globals when binding global properties.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 4 comments.

File Description
editor/data-binding/view-models.mdx Documents global view model instances and refreshes the patterns/steps copy accordingly.
editor/data-binding/binding-data.mdx Adds guidance and a visual for binding global properties via the Globals selector.

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

Comment thread editor/data-binding/view-models.mdx Outdated
Comment thread editor/data-binding/view-models.mdx Outdated
Comment thread editor/data-binding/view-models.mdx Outdated
Comment thread editor/data-binding/binding-data.mdx Outdated
Adding some of the minor Copilot edits

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

@jeffatrive jeffatrive 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.

Looks good!

@lancesnider
lancesnider merged commit 5321f51 into main Aug 7, 2026
2 checks passed
@lancesnider
lancesnider deleted the global-view-models branch August 7, 2026 15:14
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.

3 participants