Add CLI login form example demonstrating input validation and error highlighting#97
Merged
LittleLittleCloud merged 10 commits intomainfrom Nov 9, 2025
Merged
Conversation
Co-authored-by: LittleLittleCloud <16876986+LittleLittleCloud@users.noreply.github.com>
Co-authored-by: LittleLittleCloud <16876986+LittleLittleCloud@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add login screen with input validation
Add CLI login form example demonstrating input validation and error highlighting
Nov 5, 2025
…n message refactor(TextInput): simplify markup structure by removing redundant columns
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new LoginForm example demonstrating form validation and input handling, along with layout improvements to gallery components and enhancements to the Markdown gallery.
- Adds a comprehensive login form example with validation, error handling, and password masking
- Updates TextInput component to use vertical layout (label above input) instead of horizontal
- Adds table rendering examples to the Markdown gallery
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/RazorConsole.Gallery/Components/SyntaxHighlighterGallery.razor | Wraps syntax highlighter examples in <Rows> for better vertical layout |
| src/RazorConsole.Gallery/Components/MarkupGallery.razor | Wraps markup examples in <Rows> for consistent vertical layout |
| src/RazorConsole.Gallery/Components/MarkdownGallery.razor | Adds comprehensive table examples demonstrating basic and advanced table formatting |
| src/RazorConsole.Gallery/Components/HtmlInlineTextGallery.razor | Refactors for improved code formatting and indentation consistency |
| src/RazorConsole.Core/Components/TextInput.razor | Removes <Columns> wrapper to enable vertical label-above-input layout |
| examples/LoginForm/README.md | Adds detailed documentation for the login form example with visual previews |
| examples/LoginForm/Program.cs | Implements entry point for the login form example application |
| examples/LoginForm/LoginForm.csproj | Configures project dependencies for the login form example |
| examples/LoginForm/Components/LoginForm.razor | Implements interactive login form with validation and state management |
| README.md | Updates main README with login form example description |
…m/LittleLittleCloud/RazorConsole into copilot/simulate-login-validation
Member
|
@copilot Review PR |
Co-authored-by: LittleLittleCloud <16876986+LittleLittleCloud@users.noreply.github.com>
LittleLittleCloud
approved these changes
Nov 9, 2025
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.
CLI Login + Form Validation Example ✅
Successfully implemented a new example that demonstrates:
Implementation Complete ✅
examples/LoginFormRecent Changes
Build & Test Results
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.