Repository navigation
Script to fetch focus-visible polyfill from npm and copy into source tree - #7456
Merged
Merged
Conversation
gtritchie
commented
Jul 27, 2020
Member
- When I added option to disable this polyfill for those who want to see less focus rectangles (Add user option to turn off focus rectangles via FocusVisible polyfill #7351) I moved the files into a client bundle, forgetting that they are also used by auth page
- To fix, created a script for fetching and copying as we do for several other such dependencies; clunky, but at least documents where it comes from and where it goes.
- This also takes the most recent version, containing a couple of very minor fixes
…tree - When I added option to disable this polyfill for those who want to see less focus rectangles (#7351) I moved the files into a client bundle, forgetting that they are also used by auth page - To fix, created a script for fetching and copying as we do for several other such dependencies; clunky, but at least documents where it comes from and where it goes. - This also takes the most recent version, containing a couple of very minor fixes
Contributor
|
A few things are still not clear to me:
My expectation was that we would end up removing this dependency. |
Member
Author
Yes, we use it on sign-in page. It is also widely used in the main IDE UI, but is now optional based on a user preference and loaded on-demand from a GWT ClientBundle. This mechanism is not available on the pre-GWT sign-in page, so this change just puts the files back (as flat files) where they were before, while also continuing to bundle them for GWT. |
ricardofandrade
approved these changes
Jul 27, 2020
ricardofandrade
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the explanation @gtritchie , LGTM!
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.