DiffViewer refactor � 6 section cards + 1000-row cap (#156) #137
Reference in New Issue
Block a user
Delete Branch "diff-viewer-refactor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #156. New DiffSection.razor reusable card (title + description + +/-/~ badge summary + 1000-row cap with overflow banner). DiffViewer refactored to static Sections table driving one card per TableName (Namespace/DriverInstance/Equipment/Tag currently populated by sp_ComputeGenerationDiff; UnsLine/NodeAcl cards stay empty until proc extended, covered by tasks #196 + follow-up). Admin 76/76 unchanged.
sectiontosecbecause@sectioncollides with the Razor section directive + trips RZ2005; helper method renamed from Group to RowsFor because the Razor generator gets confused by a parameter-flowing method whose name clashes with LINQ's Group extension (the source-gen output referenced TypeCheck<T> with no argument). Admin project builds 0 errors; Admin.Tests suite 76/76 (unchanged — the refactor is structural + no service-layer logic changed, so the existing DraftValidator + EquipmentService + AdminServicesIntegrationTests cover the consuming paths). No bUnit in this project so the cap behavior isn't unit-tested at the component level; DiffSection.OnParametersSet is small + deterministic (int counts + Take(RowCap)) + reviewed before ship. c8a38bc57b