-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
DevTools: Show hook names based on variable usage #21641
Commits on Jul 1, 2021
-
Initial work to support hook variable names in devtools extension.
Co-authored-by: Brian Vaughn <[email protected]> Co-authored-by: Saphal Patro <[email protected]> Co-authored-by: VibhorCodecianGupta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d75814c - Browse repository at this point
Copy the full SHA d75814cView commit details -
Moved named hooks feature before enableHookNameParsing flag
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 3dd1247 - Browse repository at this point
Copy the full SHA 3dd1247View commit details -
Moved hook names parsing behind user setting
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 48632b7 - Browse repository at this point
Copy the full SHA 48632b7View commit details -
Moved feature flag override logic into test helper
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 6a1eecd - Browse repository at this point
Copy the full SHA 6a1eecdView commit details -
Added compiled test sources to Git repo
Compiled source is not linted or formatted.
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for f502611 - Browse repository at this point
Copy the full SHA f502611View commit details -
Test script auto-compiles all source files
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for cb80fba - Browse repository at this point
Copy the full SHA cb80fbaView commit details -
Added Jest serializer for Hooks (to sanitize source location)
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 81770cd - Browse repository at this point
Copy the full SHA 81770cdView commit details -
Removed injectHookVariableNames-test in favor of less hard-coded pars…
…eHookNames-test
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for d508c43 - Browse repository at this point
Copy the full SHA d508c43View commit details -
Don't generate hook source unless feature flag is enabled
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 75d2256 - Browse repository at this point
Copy the full SHA 75d2256View commit details -
Remove hard-coded mappings.wasm file from source
Do a just-in-time copy from node_modules as part of the build process for the browser extension builds
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 8075462 - Browse repository at this point
Copy the full SHA 8075462View commit details -
Brian Vaughn committed
Jul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 7f3af1c - Browse repository at this point
Copy the full SHA 7f3af1cView commit details -
Fixed stack trace errors. Added additional tests
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 49dd494 - Browse repository at this point
Copy the full SHA 49dd494View commit details -
Prevent Jest from configuring Error source-maps
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for f91e8d8 - Browse repository at this point
Copy the full SHA f91e8d8View commit details -
Account for Error stack frames having source maps already applied
Refactored code to account for the fact that, in some environments, Error stack frames will already have source maps applied (so the code does not need to re-map line and column numbers).
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 43bd1b2 - Browse repository at this point
Copy the full SHA 43bd1b2View commit details -
Brian Vaughn committed
Jul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 475ef1b - Browse repository at this point
Copy the full SHA 475ef1bView commit details -
Fixed timeout logic error in hook names cache
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 9b7d709 - Browse repository at this point
Copy the full SHA 9b7d709View commit details -
Map hook to hook name (rather than array) for sub hooks
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 57f15ac - Browse repository at this point
Copy the full SHA 57f15acView commit details -
Added DEBUG logging to parseHookNames util
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 064da9e - Browse repository at this point
Copy the full SHA 064da9eView commit details -
Updated hook names tests to account for map vs array
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 6222d7f - Browse repository at this point
Copy the full SHA 6222d7fView commit details -
Added option to lazily parse hook names for only the currently inspec…
…ted component
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 615d8e4 - Browse repository at this point
Copy the full SHA 615d8e4View commit details -
Added an LRU cache and eviction strategy for source code/ASTs
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 9f7a22f - Browse repository at this point
Copy the full SHA 9f7a22fView commit details -
Brian Vaughn committed
Jul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 73fafbe - Browse repository at this point
Copy the full SHA 73fafbeView commit details -
Error source map stack frame check is now lazy instead of during modu…
…le init
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 8c4fcb9 - Browse repository at this point
Copy the full SHA 8c4fcb9View commit details -
Brian Vaughn committed
Jul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 3bf7311 - Browse repository at this point
Copy the full SHA 3bf7311View commit details -
Reverted files that were accidentally modified from main branch
Probably as a result of master -> main rename
Brian Vaughn committedJul 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 401b94e - Browse repository at this point
Copy the full SHA 401b94eView commit details