Skip to content

Conversation

@mofojed
Copy link
Member

@mofojed mofojed commented Nov 6, 2025

  • We should wrap pivot tables in AgGrid for them to work correctly. Should be fixed now.

- We should wrap pivot tables in AgGrid for them to work correctly. Should be fixed now.
@mofojed mofojed requested a review from mattrunyon November 6, 2025 15:11
@mofojed mofojed self-assigned this Nov 6, 2025
Copy link
Collaborator

@mattrunyon mattrunyon left a comment

Choose a reason for hiding this comment

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

Just curious why not do the widget type check in Python? Seems like both pivot and normal table widgets are handled the same in the modified code. Is there any reason to throw on the client instead of the server?

- You can fetch and pass a table direct into AgGridView if you want to use it
@mofojed mofojed requested a review from mattrunyon November 6, 2025 20:07
- I think React v18 update makes the initial loading spinner skip, and it didn't used to
mattrunyon
mattrunyon previously approved these changes Nov 7, 2025
Comment on lines +50 to 54
}
if (!cancelled) {
log.info('Loaded table', newTable);
setTable(newTable);
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since there's no server side validation, you could also end up with a Figure here technically. I think it's the only non-generic widget that would hit this. We weren't checking it before, so I'm indifferent here (there's no type field on table, figure, etc. so you have to feature detect)

@mofojed mofojed enabled auto-merge (squash) November 7, 2025 18:40
- We would count the number of panels before we were waiting for the "Panels" button to be visible, which would sometimes be incorrect if the loading spinner had flashed/disappeared
- Just count the number of panels right before we click the "Panels" button
- deephaven/web-client-ui#2569 should also fix it from UI side, but this fixes the issue on the deephaven-plugins side
@mofojed mofojed merged commit 8186466 into deephaven:main Nov 10, 2025
16 checks passed
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.

2 participants