docs: standardize UI terminology to use "view" consistently (#325)
* docs: standardize UI terminology to use "view" consistently Replaces "widget" and "Guest UI" terminology with "view" across the codebase as decided in the community survey. This change updates: - Specification document - SDK source code and JSDoc comments - Example servers and documentation - Plugin documentation and skills Closes #71 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
9e42ee05a3
commit
4fc71656a3
2 changed files with 381 additions and 393 deletions
|
|
@ -19,7 +19,7 @@ Invoke skills by asking Claude Code to:
|
|||
|
||||
- "Create an MCP App"
|
||||
- "Add a UI to an MCP tool"
|
||||
- "Build an interactive MCP widget"
|
||||
- "Build an interactive MCP View"
|
||||
- "Scaffold an MCP App"
|
||||
|
||||
### Migrate from OpenAI
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
name: Create MCP App
|
||||
description: This skill should be used when the user asks to "create an MCP App", "add a UI to an MCP tool", "build an interactive MCP widget", "scaffold an MCP App", or needs guidance on MCP Apps SDK patterns, UI-resource registration, MCP App lifecycle, or host integration. Provides comprehensive guidance for building MCP Apps with interactive UIs.
|
||||
description: This skill should be used when the user asks to "create an MCP App", "add a UI to an MCP tool", "build an interactive MCP View", "scaffold an MCP App", or needs guidance on MCP Apps SDK patterns, UI-resource registration, MCP App lifecycle, or host integration. Provides comprehensive guidance for building MCP Apps with interactive UIs.
|
||||
---
|
||||
|
||||
# Create MCP App
|
||||
|
|
@ -253,7 +253,7 @@ app.ontoolinput = (params) => {
|
|||
|
||||
### Visibility-Based Resource Management
|
||||
|
||||
Pause expensive operations (animations, WebGL, polling) when widget scrolls out of viewport:
|
||||
Pause expensive operations (animations, WebGL, polling) when view scrolls out of viewport:
|
||||
|
||||
```typescript
|
||||
const observer = new IntersectionObserver((entries) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue