Skip to content
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

fix: DH-17851: Fix snapshot error in TreeTable model when selection extends past viewport #2251

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

vbabich
Copy link
Collaborator

@vbabich vbabich commented Oct 8, 2024

IrisGridTreeTableModel.snapshot was attempting to access data outside of the populated viewportData array.

@vbabich vbabich self-assigned this Oct 8, 2024
@vbabich vbabich requested review from a team and bmingles and removed request for a team October 8, 2024 17:53
@vbabich vbabich added this to the October 2024 milestone Oct 8, 2024
@vbabich vbabich changed the title DH-17851: Fix snapshot error in TreeTable model when selection extends past viewport fix: DH-17851: Fix snapshot error in TreeTable model when selection extends past viewport Oct 8, 2024
Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.57%. Comparing base (9e83393) to head (10ae62e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2251      +/-   ##
==========================================
+ Coverage   46.41%   46.57%   +0.15%     
==========================================
  Files         698      698              
  Lines       38767    38767              
  Branches     9683     9866     +183     
==========================================
+ Hits        17993    18054      +61     
+ Misses      20763    20659     -104     
- Partials       11       54      +43     
Flag Coverage Δ
unit 46.57% <ø> (+0.15%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vbabich vbabich enabled auto-merge (squash) October 9, 2024 14:04
Copy link
Contributor

@bmingles bmingles left a comment

Choose a reason for hiding this comment

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

Looks good. 1 suggestion for using a test util to simplify.

Copy link
Contributor

@bmingles bmingles left a comment

Choose a reason for hiding this comment

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

LGTM

@vbabich vbabich merged commit cac799f into deephaven:main Oct 9, 2024
11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants