Skip to content

Conversation

@maxtara
Copy link
Collaborator

@maxtara maxtara commented Feb 13, 2026

Summary

Adds a refresh/clear button next to the tab close button that clears the session while staying in the same directory.

image

Changes

  • Add handleRefreshTab function to close current session and create a new one in the same cwd
  • Add refresh icon button (RepeatIcon) next to the close button on tab headers
  • Button appears on hover alongside the close button
  • Clears all messages, context, tools, and terminal state while preserving tab name and position

Testing

  • Build passes
  • All 395 tests pass
  • Manual testing confirms functionality works as expected

- Add handleRefreshTab function to close and recreate session in same cwd
- Add refresh icon button next to close button on tab headers
- Clears all messages, context, tools while preserving tab name/position
- Button appears on hover alongside close button
@maxtara maxtara marked this pull request as ready for review February 13, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant