-
Notifications
You must be signed in to change notification settings - Fork 33
feat: DH-20769: Use new JS API in useViewportData to retrieve data #2557
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
Merged
ericlln
merged 25 commits into
deephaven:main
from
ericlln:DH-20769_use-new-jsapi-in-use-viewport-data
Oct 29, 2025
Merged
Changes from 21 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
7407a7d
use TableViewportSubscription in useViewportData
ericlln 4f8577b
update jsapi-types
ericlln 1bdfb7a
update root package-json and ran npm install
ericlln 9e2ea71
avoid breaking change by providing default value
ericlln 1901be9
remove unnecessary optional chaining
ericlln c089c56
avoid creating subscription in useEffect
ericlln 6aa2394
add suggested test
ericlln 57b390f
reorder check
ericlln 0d26b09
add table null check and remove optional chaining
ericlln 546f13c
move test constants outside tests
ericlln bc2a5bf
add test for testing if subscription was updated
ericlln 68d1846
add test to check if subscription is closed on unmount
ericlln 6559cef
add more defensive checks
ericlln 07fa28a
remove unnecessary chaining
ericlln cd82f58
avoid cleaning up due to dependency change in useEffect
ericlln 8aab5f4
update test with augmented version
ericlln e0407b3
Revert update to package-lock
ericlln 50fe94b
Revert update to package-lock 2
ericlln cf12764
Update package-lock.json
ericlln ee19879
Revert "Update package-lock.json"
ericlln 5b81381
update package-lock.json final
ericlln f3a7836
refactor cleanup step into function
ericlln ee168a4
ensure subscription was closed in test
ericlln 37e932f
use a more clear formatting
ericlln 026cb7d
simplify cleanup call
ericlln File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.