acp: Fix accidentally reverted thread view changes (#36825)

Merge conflict resolution for #36741 accidentally reverted the changes
in #36670 to allow expanding terminals individually and in #36675 to
allow collapsing edit cards. This PR re-applies those changes, fixing
the regression.

Release Notes:

- N/A
1b91f3de41Cole Miller committed on 8/24/2025, 12:02:23 AM· committed by GitHubparent1976479
1 file changedLine totals unavailable