Repository navigation
fix(messages): support mouse selection and scrolling - #404
Merged
Merged
Conversation
A second command sent to an RPC plugin that is still starting was refused with a default-priority warning, which the foreground "is starting" notice hid until it expired about 4 seconds later. The refusal answers the keypress, so it now replaces that notice right away. The delay also left the lazy-initialization test about 1 second before the plugin's 5-second initialize timeout, which slower Windows runners now exceed.
Collaborator
Author
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 613c68937f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Messages dialog ignored mouse input, so selecting a notification or scrolling its details required the keyboard. This adds click selection on both the summary and metadata rows, wheel navigation over the message list, and independent scrolling over the detail pane.
Rendering and hit testing share the same layout, including the narrow stacked view and scrolled lists. Click actions carry the notification ID so a notice moving from active to history does not change which message is selected. Detail scrolling clamps at the visible bottom, allowing the next upward gesture to respond immediately.
How to Test
cargo run --bin red -- -c 'disable_ai = true' README.md. Run:!seq 1 60and:!echo second-message, using Esc to return to editing as needed, then open:messages. Click a summary and then another message's timestamp row; the selection and details should follow each click.seqmessage and scroll over its details to scroll only that pane. Scroll beyond the detail bottom, then upward; the first upward gesture should move the content.seqwith/and click the matching message. Resize the terminal to about 64 columns to use the stacked layout and repeat selection and scrolling. Clicking blank space or a border should leave the selection unchanged.Focused automated coverage:
These cover responsive hit testing, pane-specific scroll bounds, and editor routing that preserves notification identity without acknowledging messages or editing the buffer.
Validation
Cargo.lockis unchanged; these results do not establish validation against that exact lockfile.