Commit 42e3142
committed
feat(cortex-tui): use interactive panel for /mcp instead of modal
Change the /mcp command and KeyAction::OpenMcp to use the interactive
mode (displayed in the input area) instead of the modal overlay system.
This provides a consistent UX with the /settings command which already
uses this pattern.
Changes:
- ModalType::McpManager now enters interactive mode using build_mcp_selector
- KeyAction::OpenMcp uses interactive mode instead of modal_stack.push
- Implement McpServerAction handler to display server status on selection1 parent 1c5978c commit 42e3142
1 file changed
+37
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1978 | 1978 | | |
1979 | 1979 | | |
1980 | 1980 | | |
1981 | | - | |
1982 | | - | |
1983 | | - | |
1984 | | - | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
1985 | 1986 | | |
1986 | 1987 | | |
1987 | 1988 | | |
| |||
4127 | 4128 | | |
4128 | 4129 | | |
4129 | 4130 | | |
4130 | | - | |
| 4131 | + | |
| 4132 | + | |
4131 | 4133 | | |
4132 | | - | |
| 4134 | + | |
| 4135 | + | |
4133 | 4136 | | |
4134 | 4137 | | |
4135 | 4138 | | |
| |||
6021 | 6024 | | |
6022 | 6025 | | |
6023 | 6026 | | |
6024 | | - | |
| 6027 | + | |
| 6028 | + | |
| 6029 | + | |
| 6030 | + | |
| 6031 | + | |
| 6032 | + | |
| 6033 | + | |
| 6034 | + | |
| 6035 | + | |
| 6036 | + | |
| 6037 | + | |
| 6038 | + | |
| 6039 | + | |
| 6040 | + | |
| 6041 | + | |
| 6042 | + | |
| 6043 | + | |
| 6044 | + | |
| 6045 | + | |
| 6046 | + | |
| 6047 | + | |
| 6048 | + | |
| 6049 | + | |
| 6050 | + | |
| 6051 | + | |
| 6052 | + | |
| 6053 | + | |
| 6054 | + | |
6025 | 6055 | | |
6026 | 6056 | | |
6027 | 6057 | | |
| |||
0 commit comments