mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:50:52 +00:00
## Why The sidebar shortcut can hide an open sidebar, but pressing it again can fail to bring back the content the user was viewing. ## What changed Make the default `Ctrl+X`, `s` shortcut restore hidden sidebar content and show “Restore sidebar” in the shortcut guide. Hide the previous and next tab hints when there is no other tab to switch to, and show “Pane right” when focus can move from the main pane to an open sidebar panel. ## Testing Extend the sidebar tests to verify that the shortcut restores the same document with its updated text. Snapshot the restore hint and the directional hints shown when switching focus between panes. GitOrigin-RevId: 1093039deb8390ca532ae00613c7c0e7ceb29b5c