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

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

Merged
merged 3 commits into from
Feb 12, 2020

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 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hypergrid doesnt resize when PerspectiveWidget is resized
3 participants