Skip to content

feat: Quick wins - sample pages, docs, and integration tests#484

Merged
csharpfritz merged 1 commit intoFritzAndFriends:devfrom
csharpfritz:feature/quick-wins-docs-and-samples
Mar 19, 2026
Merged

feat: Quick wins - sample pages, docs, and integration tests#484
csharpfritz merged 1 commit intoFritzAndFriends:devfrom
csharpfritz:feature/quick-wins-docs-and-samples

Conversation

@csharpfritz
Copy link
Collaborator

Summary

Implements 4 of the 5 quick wins from the component audit (excluding login control sample pages):

New Sample Pages

  • Content - Standalone page showing Content component with ContentPlaceHolderID binding
  • ContentPlaceHolder - Standalone page showing default content, replacement, multiple regions
  • View - Standalone page with basic navigation, wizard-style form, OnActivate/OnDeactivate events

Documentation

  • BaseValidator.md - Abstract base class docs (ControlRef, Display modes, validation lifecycle)
  • BaseCompareValidator.md - Type conversion and comparison validator docs
  • Added both to mkdocs.yml nav

Integration Tests (14 new)

  • 3 smoke tests for Content, ContentPlaceHolder, View
  • 8 interaction tests for CompareValidator, RangeValidator, RegularExpressionValidator, CustomValidator
  • 1 interaction test for ValidationSummary
  • 2 render/interaction tests for new pages

Test Results

258/258 integration tests passing, 0 failures.

- Add standalone sample pages for Content, ContentPlaceHolder, and View
  (previously only available via shared MasterPage/MultiView group pages)
- Update ComponentCatalog routes to point to individual pages
- Create BaseValidator and BaseCompareValidator documentation
- Add to mkdocs.yml navigation
- Add 14 integration tests: 3 smoke tests + 11 interaction tests
  - Validator interaction tests for CompareValidator, RangeValidator,
    RegularExpressionValidator, CustomValidator, ValidationSummary
  - Content, ContentPlaceHolder, View smoke and render tests
- Fix validator test assertions to check visibility (not DOM text content)
  since validators keep error text in DOM when hidden

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@csharpfritz csharpfritz merged commit a66a911 into FritzAndFriends:dev Mar 19, 2026
4 checks passed
@csharpfritz csharpfritz deleted the feature/quick-wins-docs-and-samples branch March 19, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant