Skip to content

Improve UI docs - #4875

Merged
Kenny Kerr (kennykerr) merged 2 commits into
masterfrom
more-docs
Sep 3, 2026
Merged

Improve UI docs#4875
Kenny Kerr (kennykerr) merged 2 commits into
masterfrom
more-docs

Conversation

@kennykerr

Copy link
Copy Markdown
Collaborator

These bring the other UI crates in line with the Reactor getting started guide.

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.

🟡 Changes recommended

The updated docs include at least one Rust snippet that does not type-check (SwapChain::present return type) and a couple of consistency issues that should be corrected before merge.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR refreshes the getting-started documentation for the UI-focused crates to match the style and progression of the Reactor guide, emphasizing first-run workflows and “what to read next” pointers.

Changes:

  • Reframes each guide around a “basic idea” mental model and a first complete workflow.
  • Updates examples and narrative to focus on common lifetimes, event registrations, and hosting patterns.
  • Reorganizes sample recommendations into “What to read next” tables with clearer “what it shows” descriptions.
File summaries
File Description
docs/crates/windows-webview.md Reworks the guide into a first-host workflow plus focused sections for events, navigation, messaging, scripts, local hosting, and Reactor integration.
docs/crates/windows-composition.md Rewrites the intro around retained visuals, adds a complete first program, clarifies core operations (tree, sizing, animation, shapes), and modernizes sample guidance.
docs/crates/windows-canvas.md Reframes Canvas as immediate-mode drawing, adds a first Reactor-hosted example, and reorganizes common drawing workflows and sample pointers.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 4
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/crates/windows-canvas.md Outdated
Comment thread docs/crates/windows-composition.md Outdated
Comment thread docs/crates/windows-composition.md
Comment thread docs/crates/windows-webview.md Outdated
@kennykerr
Kenny Kerr (kennykerr) merged commit f4014bd into master Sep 3, 2026
5 checks passed
@kennykerr
Kenny Kerr (kennykerr) deleted the more-docs branch September 3, 2026 14:52
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