Claus Ibsen created CAMEL-23633:
-----------------------------------
Summary: camel-jbang - TUI auto-reselect integration after restart
Key: CAMEL-23633
URL: https://issues.apache.org/jira/browse/CAMEL-23633
Project: Camel
Issue Type: Improvement
Components: camel-jbang
Reporter: Claus Ibsen
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 is especially annoying when iterating on a single integration — you stay
on a detail tab (Routes, HTTP, etc.), restart the app, and suddenly see "No
integration selected."
The improvement is to remember the name of the last selected integration when
it disappears. When a process with the same name reappears and nothing else has
been explicitly selected, auto-select it. This allows users to stay on a detail
tab and restart their apps without losing context.
The remembered name should be cleared on explicit deselection (Escape key) or
when the user manually selects a different integration.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)