-
Notifications
You must be signed in to change notification settings - Fork 571
Replace TimesPerTimeline with TimeHistogramPerTimeline for time-stepp… #11744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Replace TimesPerTimeline with TimeHistogramPerTimeline for time-stepp… #11744
Conversation
a6d2c1f to
bd51dee
Compare
emilk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, but I'm pretty sure prev_key_before breaks for large histograms
|
Will fix! |
b91c925 to
003b1ed
Compare
|
why did any screenshots change at all if this is supposed to an internal refactor? A lot of them seem to be missing the time display which is obviously a bug |
|
I had AI analyze the snapshot differences. Here's the summary, after commit 7041436... All 18 snapshot changes relate to the time control panel fix. The fix ensures play/pause/follow buttons show the correct selected state even when no time histogram data is available. Visual changes:
Root cause: Previously, when More specifically:
|
bad8462 to
9f29cf0
Compare
emilk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Getting close!
tests/rust/re_integration_test/tests/snapshots/collapse_stream_root_1.png
Show resolved
Hide resolved
c3a7959 to
ce5d373
Compare
|
It's like to justify updating snapshots with this analysis of Internal changesOld code (TimesPerTimeline):→ Timeline selector always shows New code (TimeHistogramPerTimeline):→ Timeline selector shows no timelines with no data UI rendering changes:Old timeline selector loop:New timeline selector loop:Conclusion:
So the snapshot needs to be updated. This is not a bug, it's the correct behavior for an empty recording. |
ce5d373 to
ab19617
Compare
ab19617 to
5938952
Compare
|
Crap, thanks for pointing it out! Will fix and watch out for this going forward. |
5938952 to
dc57d03
Compare
|
Sorry about that! Should be fixed now. |
It's not. Converted to draft until the diff is clean and CI green |
|
Where are you looking? I checked c765a7a and the |
|
Will take care of CI tomorrow. |
137386e to
7144d58
Compare
…ing (rerun-io#7084) Changes: - Added next_key_after() and prev_key_before() methods to Int64Histogram to support time-stepping functionality - Updated TimeControl and related UI components to use TimeHistogramPerTimeline - Updated EntityDb to remove times_per_timeline - Added tests for new histogram methods and time-stepping
The histogram was incorrectly incrementing/decrementing by event.num_components() instead of 1. This caused timelines with 'wide' archetypes (many components) to appear far more active than timelines with few components, breaking timeline selection and navigation logic.
7144d58 to
2725554
Compare
|
Comparing against |
TimesPerTimeline#7084.Changes: