davsclaus opened a new pull request, #23587:
URL: https://github.com/apache/camel/pull/23587

   ## Summary
   
   When a user selects an integration in the TUI, stops it, and starts it 
again, the selection is lost because the PID changes. The user has to manually 
re-select it every time.
   
   This adds auto-reselect: when a selected integration disappears, its name is 
remembered. When a process with the same name reappears and nothing else has 
been explicitly selected, the TUI automatically reselects it. This lets users 
stay on detail tabs (Routes, HTTP, etc.) while restarting their integrations.
   
   The remembered name is cleared on:
   - Explicit deselection (Escape key)
   - Manual selection of a different integration
   
   _Claude Code on behalf of Claus Ibsen_
   
   ## Test plan
   
   - Start TUI, run an integration, select it, switch to a detail tab
   - Stop the integration — selection clears
   - Start the same integration again — should auto-reselect
   - Press Escape to deselect, then restart — should NOT auto-reselect
   - Select integration A, then manually select integration B — 
`lastSelectedName` clears, no stale reselect


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to