[feat] : Add inline message actions#439
Conversation
|
The changes for this feature are relatively minor, primarily involving test cases. Therefore, I have merged it first. @sudo-tee |
|
This is a fairly large commit. I am ok with small MR being merged. But this one is not small 😅 by any means. Wouldn't it have been simpler to simply use vim.ui.select for listing message actions ?. |
|
Sorry, I was too impatient. I didn’t use vim.ui.select because I wanted the actions to stay anchored to the message in the output window and work naturally with mouse clicks there. That required touching the shared dialog/render path, which made the MR larger. I'll submit a PR to revert this one in a moment. My apologies 🙇♂️ |
|
No worries. I don't mind small bug fixes or smaller PR being merged. But for bigger UX features I like testing them out first. |
|
I have an issue with the mouse click with this MR. once the output window is focused it will eat all mouse clicks in the editor, so I cannot focus other panes. Screen.Recording.2026-07-02.091749.mp4 |
|
i will revert it firstly @sudo-tee |
|
I pushed a fix 2d7e792 oops didn't saw your previous message |
|
If the confusion caused by this PR makes you feel it's not worth continuing, please don't hesitate to revert it |
|
( 'ω' ) get! |

Reverting the latest message in the TUI is a very common action for me; I fine-tune my prompts by observing the model's output