Skip to content

Preserve selected message in inspector on updates - #249

Open
adranjan4 wants to merge 1 commit into
swyddfa:developfrom
adranjan4:fix-247-preserve-message-selection
Open

Preserve selected message in inspector on updates#249
adranjan4 wants to merge 1 commit into
swyddfa:developfrom
adranjan4:fix-247-preserve-message-selection

Conversation

@adranjan4

@adranjan4 adranjan4 commented Jul 22, 2026

Copy link
Copy Markdown

Summary

Test plan

  • cd lib/lsp-devtools && hatch test (or pytest on tests/inspector/test_message_browser.py)
  • Run lsp-devtools inspect, feed chatty traffic, select a middle row — selection should stick
  • Move to the last row — new messages should still follow the tail

Stop always jumping to the latest row when new LSP traffic arrives.
Auto-follow only when the cursor is already on the last message (swyddfa#247).
@adranjan4

Copy link
Copy Markdown
Author

pre-commit.ci is failing with the same ruff/mypy issues present on develop (not introduced here). Happy to help clean those up in a follow-up if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

inspector overrides user's selected message on update

1 participant