You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cf0da24
Browse filesBrowse the repository at this point in the historyBrowse files
|`ReasoningBlock` (was `ActivityBlock`) |`src/ui/reasoning-block.tsx`| 1 importer |**Fixed** — added optional `open`/`onOpenChange` over the native `<details>`|
222
223
|`SubagentDock` (per-row disclosure) |`src/ui/subagent-dock.tsx`| 1 importer | Deferred — lifting it means a parent tracking one open flag per subagent row (a map, not a boolean); a bigger surface change than this pass covers |
223
224
224
225
All five fixes are additive: `open`/`onOpenChange` are optional, and the
@@ -227,10 +228,7 @@ calls these components today changes behavior.
227
228
228
229
A few more components hold local `open`/`expanded`-shaped state and were
229
230
checked against the same bar, but don't belong on the fix list:
230
-
`ActivityBlock` is backed by a native `<details>` on purpose (see its own
231
-
doc comment) — the browser supplies the disclosure semantics, keyboard
232
-
behavior and find-in-page expansion, which making it controlled would mean
233
-
re-deriving by hand. `ApprovalCard`'s per-detail "show more" is a text
231
+
`ApprovalCard`'s per-detail "show more" is a text
234
232
truncation toggle, not a layout region — nobody outside the row has a reason
235
233
to know or set it. `ConfirmButton`'s `armed` state is already documented as
236
234
deliberately uncontrolled (`defaultArmed` only seeds the initial value).
0 commit comments