Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
c315bb7
Init
vbabich Jul 17, 2025
3e1b47a
WIP
vbabich Jul 18, 2025
838ce81
WIP
vbabich Jul 23, 2025
89d10d3
Totals row
vbabich Jul 25, 2025
f1186a6
Unit tests for pivot viewport/snapshots. Expandable columns.
vbabich Aug 8, 2025
68ea770
Unit tests, fix viewport offset
vbabich Aug 12, 2025
bbe5d1d
Unit tests cleanup - extract makePivotTable and makeUpdateEvent
vbabich Aug 13, 2025
909f858
Cleanup
vbabich Aug 14, 2025
90793bd
Column viewport
vbabich Aug 22, 2025
d936338
WIP
vbabich Aug 26, 2025
5e0a0c0
WIP
vbabich Aug 28, 2025
c1d8d11
Groups
vbabich Aug 29, 2025
78b4c23
WIP
vbabich Sep 5, 2025
fe6b168
Cleanup
vbabich Sep 5, 2025
30fbfff
Cleanup
vbabich Sep 5, 2025
7fbf1ee
Cleanuo
vbabich Sep 5, 2025
c23ccbf
Cleanup, fix bugs, expand/collapse indicators
vbabich Sep 10, 2025
bb08948
Merge remote-tracking branch 'origin/main' into pivot-plugin
vbabich Sep 10, 2025
2bd8296
Fix manifest
vbabich Sep 10, 2025
900bbfd
Format values in column headers
vbabich Sep 10, 2025
cca12a5
Update plugins/pivot/src/js/src/PivotPlugin.ts
vbabich Sep 18, 2025
58d4d19
Update plugins/pivot/src/deephaven/pivot/register.py
vbabich Sep 18, 2025
7de499c
Update plugins/pivot/src/js/src/ExpandableColumnHeaderGroup.ts
vbabich Sep 18, 2025
a412653
Merge branch 'pivot-plugin' of https://github.com/vbabich/deephaven-p…
vbabich Sep 18, 2025
efe7527
Add missing IrisGridModel methods
vbabich Sep 18, 2025
94a48fa
Address review comments
vbabich Sep 19, 2025
ff1b00b
Address review comments
vbabich Sep 19, 2025
fe7547e
Address review comments
vbabich Sep 19, 2025
e21bbc6
Render IrisGridPanel in pivot plugin
vbabich Sep 19, 2025
7560ef6
Update package.json
vbabich Sep 19, 2025
cec8ebe
Update package.json
vbabich Sep 19, 2025
0dd7b3c
Update packages, clean up components
vbabich Sep 22, 2025
43e7072
Fix types, update unit tests
vbabich Sep 23, 2025
4952cba
package-lock reset
vbabich Sep 23, 2025
0b8da2e
package-lock reset
vbabich Sep 23, 2025
f430765
Merge remote-tracking branch 'origin/main' into pivot-plugin
vbabich Sep 23, 2025
ec2530d
Cleanup diff
vbabich Sep 23, 2025
5fdde35
Cleanup diff
vbabich Sep 23, 2025
7b2f2c0
Cleanup diff
vbabich Sep 23, 2025
4508d5c
Fix types
vbabich Sep 23, 2025
cea808c
Update coreplus types package
vbabich Sep 23, 2025
b05730b
Fix types
vbabich Sep 23, 2025
cd21395
Fix class name
vbabich Sep 23, 2025
e3764af
TODO
vbabich Sep 23, 2025
b6f18b5
Update readme
vbabich Sep 24, 2025
f7d1ce5
Version bump
vbabich Sep 24, 2025
0d63a3d
Disable provenance for js plugin alpha release
vbabich Sep 24, 2025
535e6ca
Fix click handling on nested header groups
vbabich Sep 24, 2025
ca674df
encode keys in group header names
vbabich Sep 24, 2025
a48eabc
Remove provenance: false
vbabich Sep 24, 2025
5b061b1
Add repository info in package.json
vbabich Sep 24, 2025
45c3a21
Add forward ref for state persistence
vbabich Sep 25, 2025
219e99d
Cleanup, review comments
vbabich Sep 29, 2025
e05048f
Delete comments
vbabich Sep 30, 2025
fa8a83a
Remove Python part of the plugin
vbabich Oct 2, 2025
3c473b3
Merge remote-tracking branch 'origin/main' into pivot-plugin-remove-p…
vbabich Oct 2, 2025
b3057ff
Delete python files
vbabich Oct 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions plugins/pivot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,16 @@ This plugin adds UI support for Pivot tables in Core+ workers in Enterprise.

## Plugin Structure

`src/deephaven/pivot/register.py` registers the plugin with Deephaven. This file will not need to be modified for most plugins at the initial stages, but will need to be if the package is renamed or JavaScript files are moved.

The JavaScript files have the following structure:
`PivotPlugin.ts` registers the plugin with Deephaven. This contains the client equivalent of the type in `pivot_type.py` and these should be kept in sync.
`PivotWidget.tsx` defines the plugin panel and message handling. This is where messages are received when sent from the Python side of the plugin. This file is a good starting point for adding more complex plugin functionality.

Additionally, the `test` directory contains Python tests for the plugin. This demonstrates how the embedded Deephaven server can be used in tests.
It's recommended to use `tox` to run the tests, and the `tox.ini` file is included in the project.
`PivotPlugin.ts` registers the plugin with Deephaven.
`PivotWidget.tsx` defines the plugin panel and widget handling.

## Building the Plugin

Use the [`plugin_builder.py`](../../README.md#using-plugin_builderpy) from the root directory.
Run `npm run build` from the root directory.

## Installation

1. Add `deephaven-plugin-pivot` to Core+ dependencies in `requirements.txt`

2. Add `@deephaven/js-plugin-pivot` js package to `pluginList` in `DhcInDhe/gradle.build`
Add `@deephaven/js-plugin-pivot` js package to `pluginList` in `DhcInDhe/gradle.build`

## Using the Plugin

Expand Down
3 changes: 0 additions & 3 deletions plugins/pivot/pyproject.toml

This file was deleted.

5 changes: 0 additions & 5 deletions plugins/pivot/requirements.txt

This file was deleted.

27 changes: 0 additions & 27 deletions plugins/pivot/setup.cfg

This file was deleted.

12 changes: 0 additions & 12 deletions plugins/pivot/setup.py

This file was deleted.

2 changes: 0 additions & 2 deletions plugins/pivot/src/deephaven/pivot/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions plugins/pivot/src/deephaven/pivot/__init__.py

This file was deleted.

18 changes: 0 additions & 18 deletions plugins/pivot/src/deephaven/pivot/register.py

This file was deleted.

2 changes: 1 addition & 1 deletion plugins/pivot/src/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@deephaven/js-plugin-pivot",
"version": "0.0.3-dev.983+f7d1ce54",
"version": "0.0.4",
"description": "Pivot plugin for Deephaven",
"keywords": [
"Deephaven",
Expand Down
10 changes: 0 additions & 10 deletions plugins/pivot/test/__init__.py

This file was deleted.

24 changes: 0 additions & 24 deletions plugins/pivot/test/pivot/BaseTest.py

This file was deleted.

Empty file.
14 changes: 0 additions & 14 deletions plugins/pivot/test/pivot/test.py

This file was deleted.

24 changes: 0 additions & 24 deletions plugins/pivot/tox.ini

This file was deleted.

Loading