[PR #10497] fix(tui): Move animations toggle to global System category (resolves #10495) #13463

Closed
opened 2026-02-16 18:18:19 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10497

State: closed
Merged: Yes


What does this PR do?

Improves adherence to the Principle of Least Surprise (as well as consistency with other similar menu commands in OpenCode) by moving the code for the "Disable / Enable Animations" menu item in the command_list such that it will be visible at all times instead of only once a session has been started.

  • Remove animations toggle command from Session component
  • Add animations toggle command to global System category in App component
  • Makes animation toggle available immediately when OpenCode starts
  • Uses consistent kv.get/kv.set pattern for animations_enabled flag

How did you verify your code works?

Manual A/B testing.

After

Screenshot 2026-01-25 at 12 31 26 AM

Before

Screenshot 2026-01-25 at 12 31 38 AM

Resolves #10495.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10497 **State:** closed **Merged:** Yes --- ### What does this PR do? Improves adherence to the Principle of Least Surprise (as well as consistency with other similar menu commands in OpenCode) by moving the code for the "Disable / Enable Animations" menu item in the `command_list` such that it will be visible at all times instead of only once a session has been started. - Remove animations toggle command from Session component - Add animations toggle command to global System category in App component - Makes animation toggle available immediately when OpenCode starts - Uses consistent kv.get/kv.set pattern for animations_enabled flag ### How did you verify your code works? Manual A/B testing. #### After <img width="770" height="532" alt="Screenshot 2026-01-25 at 12 31 26 AM" src="https://github.com/user-attachments/assets/96f055e9-4a15-47b6-8f4a-40182470a2e9" /> #### Before <img width="777" height="521" alt="Screenshot 2026-01-25 at 12 31 38 AM" src="https://github.com/user-attachments/assets/56cf69c8-d3f9-4e2a-a5d6-611779ae0432" /> Resolves #10495.
yindo added the pull-request label 2026-02-16 18:18:19 -05:00
yindo closed this issue 2026-02-16 18:18:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13463