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

JSAPI support for fetching full array from an array preview column #2102

Open
Tracked by #5927
dsmmcken opened this issue Mar 14, 2022 · 3 comments
Open
Tracked by #5927

JSAPI support for fetching full array from an array preview column #2102

dsmmcken opened this issue Mar 14, 2022 · 3 comments
Assignees

Comments

@dsmmcken
Copy link
Contributor

As a user, I would like to be able to view the full value from an array preview column's cell. Similar to how display cell overflow works.

This needs both jsapi support for fetching the array and a UI (should behave the same as display cell overflow)

@dsmmcken
Copy link
Contributor Author

Further, I would also like to be able to have a column that is a double[] for example, which is part of a grouping operation that ticks more values on to the array, and I would like to subscribe to get the full array for each row in the viewport with updates instead of a preview column. Also related to #3358

I am imagining being able to do something like:
t = quotes.tail_by(100, by=["sym"]).group_by("sym").format_column("price = sparkline(price)")

"Sparkline" example:
image

@niloc132
Copy link
Member

Likely should be done as part of #188, the final point about handling serializable types better.

@jnumainville
Copy link
Contributor

There are some cases where it would be useful to have the fully array for plotly figure objects. For example, the customdata object below. Both the first and second elements of the inner arrays are columns from a table. It would be best to reshape the columns into this array then substitute in that array to the customdata object.

'customdata': array([['Asia', 31889923],
                                   ['Europe', 3600523],
                                   ['Africa', 33333216],
                                   ...,
                                   ['Asia', 22211743],
                                   ['Africa', 11746035],
                                   ['Africa', 12311143]], dtype=object)

@niloc132 @mofojed @mattrunyon

mofojed pushed a commit that referenced this issue Jul 4, 2024
Release notes
https://github.com/deephaven/web-client-ui/releases/tag/v0.84.0

### ⚠ BREAKING CHANGES

* - @deephaven/jsapi-components - The contract of
`useSearchableViewportData` to be more consistent with
`useViewportData`. `usePickerWithSelectedValues` now requires
`timeZone`.
- @deephaven/jsapi-utils - `createSearchTextFilter` requires `timeZone`

### Features

* useSearchableViewportData - support non-text filters
([#2092](deephaven/web-client-ui#2092))
([7009e21](deephaven/web-client-ui@7009e21)),
closes [#2102](deephaven/web-client-ui#2102)
[#2091](deephaven/web-client-ui#2091)


### Bug Fixes

* `isElementOfType` Improved type inference
([#2099](deephaven/web-client-ui#2099))
([e13c9d7](deephaven/web-client-ui@e13c9d7)),
closes [#2094](deephaven/web-client-ui#2094)
* Console does not scroll to bottom when code run from notebook
([#2114](deephaven/web-client-ui#2114))
([e75e716](deephaven/web-client-ui@e75e716))
* make textValue default to key for Normalized Item
([#2113](deephaven/web-client-ui#2113))
([bd3e944](deephaven/web-client-ui@bd3e944))
* Update IrisGridContextMenuHandler getHeaderActions return type to be
more permissive
([#2117](deephaven/web-client-ui#2117))
([4e08b79](deephaven/web-client-ui@4e08b79))

Co-authored-by: deephaven-internal <66694643+deephaven-internal@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants