confluentinc / confluentinc/vscode
Topic Message Viewer - make sure Updates preserve 'selected' items
- Dominant language
- TypeScript
- Stars
- 34
- Forks
- 17
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 8
Description
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
### On what operating system are you seeing the problem?
macOS (Apple/arm64)
### VS Code version
Version: 1.93.1 (Universal)
Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40
Date: 2024-09-11T17:20:05.685Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 22.6.0
### Version of Confluent extension
v0.16.3
### To Reproduce
1. Install, sign into CC, and open a topic message viewer with message constantly coming in.
2. Observe the behavior of the table showing messages
### Current vs. Expected behavior
1. When staying on the first page (to look at latest messages), the messages keeps scrolling/getting updated. So If I'm trying to copy a value, it's impossible to do on the table because the message will soon be gone and selection will be for some other message. Also select a particular message to view it's full content (which is needed in order to copy because what's previously mentioned), one would need to double click within a second or else it will be scrolled away.
2. Same goes for when viewing messages in say page 10. It always shows the latest 900-1000 messages. With messages keep arriving, it means the view constantly change.
Maybe consider a "sticky" behavior, where if a message is highlighted, the view is "locked/anchored" to that message. So that as new messages arrive, the selected message is kept in view, but rather the current page is updated as necessary, because that message will be on page 1 to begin with, but later on page 10, 20, etc.
### Relevant log output
_No response_
### Which area(s) are affected? (Select all that apply)
Topics
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.