Repository navigation
Fix shared regl instance extensions - #8218
Draft
sanketpatel32 wants to merge 5 commits into
Draft
sanketpatel32 wants to merge 5 commits into
sanketpatel32 wants to merge 5 commits into
Conversation
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #8212.
This draft awaits Sanket's review before it is marked ready. 🐦
prepareReglnow requests the union of extensions used by regl trace modules as optional extensions when it creates a shared instance. It also checks required extensions on reused instances. Any trace type can create the shared instance first, so the union makes the extensions available to later trace types. This keeps unrelated traces available when a browser lacks an extension.Tests added in
scattergl_test.jscoverPlotly.reactfrom parcoords to scattergl lines and a figure with parcoords before scattergl lines, fill, anderror_y.Ran:
npm run lint— passed; Biome printed the existing schema-version info for CLI 2.6.9 against schema 2.5.15npm run typecheck— passednpm run test-syntax— passedCI=1 GITHUB_ACTIONS=true npm run test-jasmine -- scattergl parcoords --nowatch --report-progress— 109 SUCCESSCI=1 GITHUB_ACTIONS=true npm run test-jasmine -- scattergl parcoords splom --nowatch --report-progress— 155 SUCCESS, 4 FAILED in splom drag/select interaction testsCI=1 GITHUB_ACTIONS=true npm run test-jasmine -- splom --nowatch --report-progresson unmodifiedmain— the same 4 failures, so they predate this changeCI=1 GITHUB_ACTIONS=true npm run test-jasmine -- gl2d_plot_interact --nowatch --report-progresson unmodifiedmain— 11 SUCCESS, 5 FAILED in drag interaction tests, with an afterAll_hoverlayererrorNo mock or baseline changed.