Skip to content

feat: Plot uses subscribeMessageRange#1004

Merged
rodrigo-rodrigues-ctw merged 29 commits intodevelopfrom
feature/plot-message-range
Mar 30, 2026
Merged

feat: Plot uses subscribeMessageRange#1004
rodrigo-rodrigues-ctw merged 29 commits intodevelopfrom
feature/plot-message-range

Conversation

@rodrigo-rodrigues-ctw
Copy link
Copy Markdown
Contributor

@rodrigo-rodrigues-ctw rodrigo-rodrigues-ctw commented Mar 24, 2026

User-Facing Changes

Use subscribeMessageRange for improved data handling in Plot panel.

Description

Refactor existing plot components to support subscribeMessageRange, enhancing performance and usability. Key changes include the rework of interaction handlers and dataset builders to accommodate the new message range functionality.

The main idea of this PR is to stop the use of BlockLoader in Plot panel. BlockTopicCursor should be deprecated.

Created useSubscribeMessageRange hook to enable Panels that are not using PanelExtensionAdapter to use its logic directly. Down the line I think it would make sense to convert all the panels to PanelExtensionAdapter.

In this video, I'm comparing both implementations of Plot
https://github.com/user-attachments/assets/d5e55820-9733-4142-be24-1ca92a71df2d

Checklist

  • The web version was tested and it is running ok
  • The desktop version was tested and it is running ok
  • This change is covered by unit tests
  • Files constants.ts, types.ts and *.style.ts have been checked and relevant code snippets have been relocated

@rodrigo-rodrigues-ctw rodrigo-rodrigues-ctw marked this pull request as draft March 24, 2026 17:07
@rodrigo-rodrigues-ctw rodrigo-rodrigues-ctw marked this pull request as ready for review March 26, 2026 14:48
Copy link
Copy Markdown
Member

@luluiz luluiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good work!

@sonarqubecloud
Copy link
Copy Markdown

@rodrigo-rodrigues-ctw rodrigo-rodrigues-ctw merged commit 4438799 into develop Mar 30, 2026
18 of 19 checks passed
@rodrigo-rodrigues-ctw rodrigo-rodrigues-ctw deleted the feature/plot-message-range branch March 30, 2026 12:56
rodrigo-rodrigues-ctw added a commit that referenced this pull request Mar 31, 2026
## User-Facing Changes

N/A

## Description

This update introduces a `PlotCoordinatorBuilder` to streamline the
creation of series keys by topic.
It also refactors code that was mentioned in a previous PR (#1004)

## Checklist

- [x] The web version was tested and it is running ok
- [x] The desktop version was tested and it is running ok
- [x] This change is covered by unit tests
- [x] Files constants.ts, types.ts and *.style.ts have been checked and
relevant code snippets have been relocated
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.

4 participants