Skip to content

fix: Improve health scoring accuracy + add CI snapshot generation#480

Merged
csharpfritz merged 1 commit intoFritzAndFriends:devfrom
csharpfritz:feature/component-health-gaps
Mar 19, 2026
Merged

fix: Improve health scoring accuracy + add CI snapshot generation#480
csharpfritz merged 1 commit intoFritzAndFriends:devfrom
csharpfritz:feature/component-health-gaps

Conversation

@csharpfritz
Copy link
Collaborator

Summary

Two improvements to the Component Health Dashboard:

Health Scoring Accuracy

The counting algorithm was under-reporting implemented properties:

  1. [Obsolete] properties were skipped Properties like Chart's AntiAliasing, BackHatchStyle, and DropDownList's AutoPostBack are marked [Obsolete] for Blazor migration guidance but ARE implemented [Parameter] properties. They should count toward parity.

  2. DataBoundComponent<> was a stop type This prevented counting DataMember, SelectMethod, etc. for data-bound controls like Repeater, GridView, and ListView.

Impact

Component Before After Reason
Chart 83.5% 100% 5 [Obsolete] props + 1 event now counted
DropDownList 94.5% 100% AutoPostBack now counted
Repeater 70% 100% DataMember from DataBoundComponent counted
TextBox 97% 100% AutoPostBack now counted
CheckBox 95% 100% AutoPostBack now counted
RadioButton 85.7% 90% AutoPostBack now counted
BulletedList 84% 90% [Obsolete] props counted

44 of 59 components now at 100% (up from 37).

CI Health Snapshot

Added health snapshot generation to build.yml as a build artifact.

Tests

All 2,448 tests pass.

Health Scoring:
- Count [Obsolete] properties as migration-compatible (Pattern B+)
- Remove DataBoundComponent<> from stop types so DataMember etc. are counted
- Chart: 83.5% -> 100%, DropDownList: 94.5% -> 100%, Repeater: 70% -> 100%
- 44 of 59 components now at 100% (up from 37)

CI:
- Add health snapshot generation to build.yml workflow
- Restore, generate, and upload health-snapshot.json as build artifact

Tests:
- Update counting test assertions to match new algorithm
- All 2448 tests pass

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@csharpfritz csharpfritz merged commit 6e0fc67 into FritzAndFriends:dev Mar 19, 2026
4 checks passed
@csharpfritz csharpfritz deleted the feature/component-health-gaps branch March 19, 2026 11:11
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