[Blazor] Add ClaimApp multimodal sample and its E2E coverage - #69308
Draft
dariatiurina wants to merge 21 commits into
Draft
dariatiurina wants to merge 21 commits into
dariatiurina wants to merge 21 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8305953e-ce14-4a55-b291-77beaac47b0a
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8305953e-ce14-4a55-b291-77beaac47b0a
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8305953e-ce14-4a55-b291-77beaac47b0a
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8305953e-ce14-4a55-b291-77beaac47b0a
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0ab398e0-c70e-427e-93a8-134ee977fb17
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0ab398e0-c70e-427e-93a8-134ee977fb17
Azure Identity can wrap a canceled token request in an AuthenticationFailedException. Normalize that specific case to an OperationCanceledException so canceling voice transcription does not terminate the Blazor circuit. Add regression coverage for the wrapped cancellation.
Add configurable speech recognition modes, auto-submit, and continuous listening to AudioCaptureButton, replacing LiveSpeechButton.
…oads and causes compiler errors.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 94653859-e420-46e8-828f-80dd291e33e5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 94653859-e420-46e8-828f-80dd291e33e5
Keep audio button content stable while microphone permission is pending and render accessible requesting, denied, and unavailable feedback above the message composer. Support custom messages, rendering, state inspection, and dismissal. Harden late permission cleanup, update ClaimApp for the current media API, and add unit and browser coverage.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4f835455-8409-4733-b968-69f7d3b9dd90
Co-authored-by: Milos Kotlar <kotlarmilos@gmail.com>
Contributor
|
Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at. |
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.
Overview
This splits the vehicle claim sample out of #68672 so that change stays focused on the reusable multimodal message input components. This one adds the production-oriented sample that exercises them end to end.
Implementation
The vehicle claim sample demonstrates the complete composition model:
MessageInput.claim-agentrequest endpoint.ClaimAgent:BaseAddressand otherwise resolves fromNavigationManager.BaseUri, preserving reverse-proxy path prefixes.DojoClient.E2E.Testsis renamed toComponents.AI.E2E.Testsso the project hosts both the dojo scenarios and the new ClaimApp scenarios. The solution, solution filter, build props, andInternalsVisibleToentries are updated to match.E2E tests replace only
IClaimAssistantBackend.AGUIChatClient, HTTP, SSE serialization,AGUI.Server, client tools, state mapping, and approval continuations remain production code.The sample also covers light, dark, and high-contrast themes, keyboard submission and cancellation, accessible attachment and voice controls, cumulative evidence reassessment, approval rejection, and retry recovery.
Validation
ClaimAppbuildComponents.AI.E2E.Testsbuild