This repository has been archived by the owner on Apr 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/ switch explorer rendering to use react-virtualized (#2182)
* experiment with changing scrollIntoView fn in explorer * switch to using react virtualized to render explorer * add react virtualised list and typescript Styled components plugin * add missing style item to rowrenderer which fixes scrolling * add key as per docs example * update snapshot test for explorer * add ability to dynamically calculate row with inputs * remove overscan rows * re-add overscan re-trigger build * use ui.fontSize for row sizing * destructure vars (primarily to trigger re-test) * switch scroll to alignment to end as center causes scroll lag * add font size in px function switch to cell measurer * add the definition file for units-css * update jest mocks * remove shadowed variable in explorer * update react-virtualized and its types to fix type errors * prettier lint fix for performance config * lint fix * merge upstream * fix double border in sidebar item component also recalculate height when component yanrk status changes * separate should measure calculation into function add iss selected check to it * restructure comparison function to be more readable and work hopefully * use cache clear and recompute row height for list resizing * add is or was selected to props checked component did update check * remove outline from List, separate out should measure * switch to using _oni in explorer split * prettier fix * fix missing space on left edge of container component add helper for quickly adding types for styled component oni props * remove unnecessary type annotation * use pixel function from common in sidebar items * fix lint error * remove unnecessary dependency and associated utility use more thorough method for checking if props changed simplify sidebar items components * fix lint error * remove references to unused fontsize prop * remove measurement from node entirely switch to invalidating the cache if yanking, pasting etc occur
- Loading branch information
Showing
14 changed files
with
267 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.