From 388cc7ff1af3df228c3dcee595ad4a6021d40c32 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 2 Jul 2026 02:49:02 +0000 Subject: [PATCH] Enforce visual parity for TuiExpander in Home.razor Co-authored-by: tedd <493224+tedd@users.noreply.github.com> --- .jules/vanguard.md | 3 +++ src/Tedd.TUI.Demo.Blazor/Pages/Home.razor | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.jules/vanguard.md b/.jules/vanguard.md index a93be15..dd9021a 100644 --- a/.jules/vanguard.md +++ b/.jules/vanguard.md @@ -28,3 +28,6 @@ ## 2026-06-11 - TabControl Selection Synchronization Parity **Observation:** The bifurcated architecture correctly synced navigation from the TreeView to the TabControl across all paradigms. However, bidirectional synchronization—where navigating via the TabControl updates the TreeView state—was absent in the Blazor deployment targets (Home.razor and Programmatic.razor). **Strategic Action:** Implemented identical `SelectionChanged` logic within the TabControl across the Blazor deployments to map active tabs back to the TreeView context. Introduced derived `@bind-IsSelected` boolean bindings on Razor TreeViewItems, driven from `_selectedTabIndex`, to keep navigation state synchronized between the TreeView and TabControl. +## 2025-02-24 - Structural Sync for TuiExpander +**Observation:** In declarative configurations (like Blazor's `Home.razor`), the `TuiExpander` layout was lacking the explicit `Width="20"` attribute present in programmatic approaches, leading to rendering discrepancies in the bifurcated architecture. +**Strategic Action:** Synchronized `Home.razor` to enforce strict layout parameters by applying `Width="20"` to `TuiExpander`, thereby establishing unified layout rendering consistency across all vectors. diff --git a/src/Tedd.TUI.Demo.Blazor/Pages/Home.razor b/src/Tedd.TUI.Demo.Blazor/Pages/Home.razor index 5589ef3..d756bf7 100644 --- a/src/Tedd.TUI.Demo.Blazor/Pages/Home.razor +++ b/src/Tedd.TUI.Demo.Blazor/Pages/Home.razor @@ -52,7 +52,7 @@ - +