Skip to content

Remove @finos/perspective-phosphor and fix #825 regression.#919

Merged
texodus merged 3 commits intomasterfrom
remove-perspective-phosphor
Feb 12, 2020
Merged

Remove @finos/perspective-phosphor and fix #825 regression.#919
texodus merged 3 commits intomasterfrom
remove-perspective-phosphor

Conversation

@texodus
Copy link
Member

@texodus texodus commented Feb 12, 2020

Fix #825 "Hypergrid doesn't resize when PerspectiveWidget is resized" was unintentionally reverted. This is due to the use of a MutationObserver on the style attribute of the .p-Widget container - while this may be appropriate for Jupyterlab, we cannot rely on this expense catch-all in performance critical environments like @finos/perspective-workspace.

However, @finos/perspective-workspace no longer shares @finos/perspective-phosphor. Ergo, this path also removes this module and merges it with @finos/perspective-jupyterlab.

Additionally, a test suite for @finos/perspective-jupyterlab has been added, and tests for resizing (as in #825) have been written to ensure this never happens again.

@texodus texodus added bug Concrete, reproducible bugs Jupyter labels Feb 12, 2020
@texodus texodus requested a review from sc1f February 12, 2020 06:25
@texodus texodus force-pushed the remove-perspective-phosphor branch from 86d24ef to a0c67e1 Compare February 12, 2020 06:56
@texodus texodus merged commit de37d85 into master Feb 12, 2020
@texodus texodus deleted the remove-perspective-phosphor branch February 12, 2020 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Concrete, reproducible bugs Jupyter

Development

Successfully merging this pull request may close these issues.

Hypergrid doesnt resize when PerspectiveWidget is resized

3 participants