Document interaction service updates: progress dialogs, file input, and TypeScript support#1347
Open
JamesNK wants to merge 1 commit into
Open
Document interaction service updates: progress dialogs, file input, and TypeScript support#1347JamesNK wants to merge 1 commit into
JamesNK wants to merge 1 commit into
Conversation
9c59d8c to
7f691b3
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Aspire docs to cover progress dialogs for commands and the new IInteractionService.PromptProgressAsync API, and adds TypeScript AppHost examples throughout the interaction service guidance.
Changes:
- Added a “Command progress” section documenting
CommandOptions.Progress/CommandProgressOptionswith C# + TypeScript examples. - Expanded the interaction service docs to include
PromptProgressAsyncplus a new “Display progress” section. - Introduced
<Tabs syncKey="aspire-lang">blocks across the interaction service page to provide TypeScript examples alongside C#.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
| src/frontend/src/content/docs/fundamentals/custom-resource-commands.mdx | Adds command progress documentation and examples, including cancel button behavior and a link to the interaction service progress section. |
| src/frontend/src/content/docs/extensibility/interaction-service.mdx | Adds PromptProgressAsync to the API table/cautions, adds a progress section, and integrates TypeScript examples throughout via tabs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
fa20d37 to
c8cefb0
Compare
Contributor
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
c8cefb0 to
ed3f1af
Compare
ed3f1af to
e73137a
Compare
…action service - Add PromptProgressAsync to the interaction service docs with C# and TypeScript examples - Add CommandProgressOptions section to custom resource commands page - Integrate TypeScript tabs throughout interaction service documentation - Update method table and context notes to include PromptProgressAsync Documents changes from microsoft/aspire#18493
e73137a to
00a5519
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents interaction service changes from Aspire 13.5:
PromptProgressAsyncAPI andCommandProgressOptionsIInteractionService(TypeScript AppHost support)Fileinput type for file uploads[Experimental]fromIInteractionService(exceptPromptProgressAsync)Changes
Interaction service page (
extensibility/interaction-service.mdx)<Tabs syncKey='aspire-lang'>— resolving the service, message boxes, notifications, confirmations, multi-input prompts, dynamic loading, validation, and progress dialogsPromptProgressAsyncwith experimental API warning and work callback / no-work-callback patternsFileinput type with single and multiple file examplesPromptProgressAsyncandFileto the methods/input-types tablesPromptProgressAsyncCustom resource commands page (
fundamentals/custom-resource-commands.mdx)CommandOptions.ProgresswithCommandProgressOptions(C# and TypeScript)HideCancelButtonoption