Repository navigation
feat: chat and form for MAUI and Avalonia - #20
Merged
Merged
Conversation
Two more ShellUI Blazor components that had no native version, each for MAUI and Avalonia. - chat (Chat, ChatMessage, ChatInput): a conversation panel with header and footer slots and a message list that follows the newest message. Messages are styled by role, with a sender, timestamp, avatar and a typing indicator. The message box grows with its text and has a send button with a loading state. - form (Form, FormField): fields with a label, description, required marker and error message. Validation stays with the app; the form reports whether it is valid and which field fails first. The message's name property is Sender on both platforms, because Avalonia controls already have a Name. On Avalonia, Enter sends and Shift+Enter starts a new line; on MAUI the button sends.
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.
Summary
Two more ShellUI Blazor components that had no native version, each for MAUI and Avalonia. The registry now has 105 entries (102 CLI targets, 71 families).
Error, and the form reports whether it is valid and which field fails first.Both demos show the new components, and the docs cover them.
Notes
Senderon both platforms, because Avalonia controls already have aName.HasError; the docs show how to set both.chatdepends onbutton, whichadd chatinstalls.Verification
dotnet new mauiapp (Windows target), building with 0 warnings.