From 0a5b0701b0c16bf1d604cf5c02d16729471a996f Mon Sep 17 00:00:00 2001 From: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 Date: Sat, 25 Jul 2026 15:58:10 -0400 Subject: [PATCH] refactor(desktop): drop the UserProfilePanel file-size ratchet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merging main brought in #2098, which removed the additional-agents gallery and shrank `UserProfilePanel.tsx` from 1014 to 983 lines. This branch's additions land it at 1009 — under main's existing 1025 ceiling — so the ratchet to 1040 is no longer load-bearing. The branch now leaves the override map byte-identical to main: no new entries, no raised ceilings, no lowered ones. Co-authored-by: Will Pfleger Signed-off-by: Will Pfleger --- desktop/scripts/check-file-sizes.mjs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/desktop/scripts/check-file-sizes.mjs b/desktop/scripts/check-file-sizes.mjs index 80ae3286f..f34b6dc33 100644 --- a/desktop/scripts/check-file-sizes.mjs +++ b/desktop/scripts/check-file-sizes.mjs @@ -362,10 +362,7 @@ const overrides = new Map([ ["src/features/profile/ui/UserProfilePanelSections.tsx", 1140], // +14 for openEditAgent event subscription (config-nudge card "Open Edit Agent" action). // +11 for editAgentFocus state + initialFocus prop threading (deep-link granularity). - // +1 for A13 fail-closed canViewUsage wiring + AgentUsageFocusedView mount. - // +14 for query-derived usageIngressTrailing summary threaded into the - // Info-tab ingress row (replaces the hardcoded "View" label, plan:328). - ["src/features/profile/ui/UserProfilePanel.tsx", 1040], + ["src/features/profile/ui/UserProfilePanel.tsx", 1025], // PersistBackend enum + marker-on-keyring-success plumbing and its three // fail-closed regression tests (silent identity rotation on keyring outage). // A small overage from load-bearing security plumbing on a file already at