Граф коммитов

115 Коммитов

Автор SHA1 Сообщение Дата
Ka-wai Wong eb9407a646 Add --microsoft-blue-darker as css variable 2019-01-31 14:17:52 -08:00
Ka-wai Wong 1486bdd21e Install react-modal 2019-01-31 14:17:37 -08:00
Ka-wai Wong c21fdf35ae Standardize .js import paths 2019-01-30 15:34:03 -08:00
Ka-wai Wong 8ecd7a3a77
Merge pull request #25 from Microsoft/caabreut/1901/injected-and-content-scripts-refactor
Refactoring content script and injected script
2019-01-30 15:30:18 -08:00
C. Naoto Abreu Takemura 3735174a46
Merge pull request #26 from kawwong/detect-mezzurite
Add loading and not found view states
2019-01-30 15:29:41 -08:00
C. Naoto Abreu Takemura 6e7153adc2 Removing .js extensions in import statements under inject/ 2019-01-30 15:26:14 -08:00
C. Naoto Abreu Takemura 990eeb82a0 Remove unused 'reject' parameter in the promise within pollConditionAsync 2019-01-30 15:22:47 -08:00
C. Naoto Abreu Takemura 36018e58e4 Changed export pattern for inject/messaging/index.js 2019-01-30 15:11:46 -08:00
C. Naoto Abreu Takemura f760ed8f8d Changed export pattern for content/messaging/index.js 2019-01-30 15:11:06 -08:00
Ka-wai Wong 4b9a9c1fda Remove spacing in application load time for consistency 2019-01-30 11:19:30 -08:00
Ka-wai Wong a002c57927 Add cross browser support for loading shimmer 2019-01-30 11:19:24 -08:00
Ka-wai Wong 44aa447ab6 Set loading state in app.js 2019-01-30 11:19:11 -08:00
Ka-wai Wong ecdd00215b Add loading component for main 2019-01-30 11:19:03 -08:00
C. Naoto Abreu Takemura 946f947cf3
Merge pull request #24 from kawwong/display-vlt
Consume viewportLoadTime information in view layer
2019-01-30 11:17:59 -08:00
C. Naoto Abreu Takemura 9e0da19a40
Merge pull request #23 from kawwong/update-object-shape
Update formattedTimingsEvent object to track viewportLoadTime
2019-01-30 11:12:49 -08:00
Ka-wai Wong 23ce74fb11 Refactor filter and map into a single reduce in formatTimingsEvent 2019-01-30 10:56:50 -08:00
Ka-wai Wong 031d225ace Rename findOutsideViewportComponents to findAllComponents 2019-01-30 10:36:40 -08:00
Ka-wai Wong 9afa27b43a Remove unused error parameter in formatTimingsEvent catch 2019-01-30 10:34:28 -08:00
C. Naoto Abreu Takemura aef68e5729
Merge pull request #22 from kawwong/fix-snapshots
Fix snapshots
2019-01-30 09:41:43 -08:00
C. Naoto Abreu Takemura d5e8fabf9f Address eslint errors. 2019-01-29 20:47:25 -08:00
C. Naoto Abreu Takemura 0a7a420a4b Removed duplicate console.log() statements in content/messaging/forwardTimingEvent.js 2019-01-29 20:45:27 -08:00
C. Naoto Abreu Takemura eb5d0a1742 Mostly refactored the injected script(inline) into modular and testable components. 2019-01-29 20:44:39 -08:00
C. Naoto Abreu Takemura ab380cbe22 Refactored content script in order to make it modular and testable. 2019-01-29 18:54:06 -08:00
Ka-wai Wong 77b39890c0 Fix null check in handleTimingEvent 2019-01-29 15:52:34 -08:00
Ka-wai Wong 0745c53984 Consume viewportLoadTime information in view layer 2019-01-29 10:28:33 -08:00
Ka-wai Wong e077e6e5db Update formattedTimingsEvent object to track viewportLoadTime 2019-01-29 09:28:14 -08:00
Ka-wai Wong 6f605c0ae5 Fix incorrect a11y property in footer 2019-01-28 17:16:55 -08:00
Ka-wai Wong 5b8095d275 Fix failing snapshots for logo and header 2019-01-28 17:16:39 -08:00
Ka-wai Wong 5030e89de3
Merge pull request #21 from Microsoft/caabreut/1901/bugfix-bgctrl-constructor
Fixed instantiation error for BackgroundController.
2019-01-28 13:24:09 -08:00
C. Naoto Abreu Takemura 910e3dbd3c Fixed instantiation error for BackgroundController. 2019-01-28 13:18:55 -08:00
Ka-wai Wong 56b7f8002e
Merge pull request #20 from Microsoft/caabreut/1901/mz-ext-behavior-rework
Extension messaging rework
2019-01-28 13:04:05 -08:00
C. Naoto Abreu Takemura 540338c788
Merge pull request #19 from kawwong/comparison-timing
Adjust timing styling to be aligned left
2019-01-28 12:51:50 -08:00
C. Naoto Abreu Takemura 44d8038e59 Separated the --timeoutCounter === 0 statement into two for readability in injected.js 2019-01-28 12:47:45 -08:00
C. Naoto Abreu Takemura 6aac9bb615 Made the check for window.mezzurite.EventElement explicit with '== null' in injected.js 2019-01-28 12:45:47 -08:00
C. Naoto Abreu Takemura 312ea28e97 Updated check for sender.tab to be explicit. It's a null/undefined check. 2019-01-28 12:43:30 -08:00
C. Naoto Abreu Takemura 4facbddd05 Removing unused parameters for onMezzuriteFound and onMezzuriteNotFound in content.js 2019-01-28 12:42:40 -08:00
Ka-wai Wong b56bd7ddf3
Merge branch 'master' into comparison-timing 2019-01-28 11:35:44 -08:00
C. Naoto Abreu Takemura 326ad96a01
Merge pull request #18 from kawwong/header-logo
Add Mezzurite logo to header
2019-01-28 11:16:08 -08:00
C. Naoto Abreu Takemura fbb1e22009 Refactored background script code into a separate class. 2019-01-28 10:48:58 -08:00
C. Naoto Abreu Takemura a669501090 Reworked the extension's messaging paradigm. Content scripts are now installed on pages upon load/reload. Further, they now talk with the background script, which routes the messages to the appropriate devTools page instance based on tab ID. Implemented an event queue system in the background script that allows the extension to obtain Mezzurite events that have been fired before the DevTools Mezzurite panel was loaded. 2019-01-28 10:17:06 -08:00
Ka-wai Wong 6f0382e8f2 Update snapshot tests for component timings 2019-01-28 10:09:05 -08:00
Ka-wai Wong e2feabf701 Adjust timing styling to be aligned left 2019-01-28 10:05:38 -08:00
Ka-wai Wong ec7e116321 Update tests to use shallow render 2019-01-25 13:31:28 -08:00
Ka-wai Wong 15935631c5 Add Mezzurite logo to header 2019-01-25 13:31:17 -08:00
C. Naoto Abreu Takemura bf0a950155
Merge pull request #17 from kawwong/alt-rename
Rename instances of `alt` to `applicationLoadTime`
2019-01-25 11:17:43 -08:00
Ka-wai Wong 6d51886a23 Merge branch 'master' of https://github.com/microsoft/Mezzurite-DevTools into alt-rename 2019-01-25 11:15:11 -08:00
C. Naoto Abreu Takemura 2fee6d2351
Merge pull request #15 from kawwong/smart-component
Move data manipulation functionality to `App.js`
2019-01-25 11:10:06 -08:00
Ka-wai Wong 25ddcfa3a0 Rework conditional statements in Main.js 2019-01-25 10:56:01 -08:00
C. Naoto Abreu Takemura 1cedc0a78d
Merge pull request #16 from kawwong/footer
Rework footer component
2019-01-25 10:45:32 -08:00
Ka-wai Wong 3ef2b22dd4 Rename all instances of alt to applicationLoadTime 2019-01-25 10:40:24 -08:00