Disable sidebar if agent panel is disabled (#54713)

Closes https://github.com/zed-industries/zed/issues/54523

Release Notes:

- N/A
8cd2d599aeMax Brunsfeld committed on 4/23/2026, 9:45:01 PM· committed by GitHubparenta5c5dd0
1 file changedLine totals unavailable