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

205 Коммитов

Автор SHA1 Сообщение Дата
Ka-wai Wong 08b26f98c2 Consolidate find calls to single forEach call in formatTimingsEvent 2019-01-24 12:48:12 -08:00
Ka-wai Wong 8e4a3111cf Add JSON parsing warning for formatTimingsEvent error 2019-01-24 12:44:50 -08:00
Ka-wai Wong aea0221770 Change ComponentTiming tests to use ShallowRenderer 2019-01-24 10:05:05 -08:00
Ka-wai Wong 2c2b58addf Change CaptureCycle tests to use ShallowRenderer 2019-01-24 09:55:10 -08:00
Ka-wai Wong 4d76308666 Update header test to use react-test-renderer 2019-01-24 09:46:09 -08:00
Ka-wai Wong 6c61e34a2d Add missing snapshot for test in CaptureCycle 2019-01-24 09:09:16 -08:00
Ka-wai Wong 2b8aef485b Add ComponentTiming component 2019-01-23 17:24:32 -08:00
Ka-wai Wong fe2b0af1a6 Add CaptureCycle component 2019-01-23 17:20:49 -08:00
Ka-wai Wong a6b96b6cf1 Add screen reader language to base html file 2019-01-23 16:31:48 -08:00
Ka-wai Wong 76cc34f6ec Add tests for header and make accessible 2019-01-23 16:31:31 -08:00
Ka-wai Wong 6ade4b5bc5 Create mapper to format the customEvent 2019-01-23 16:12:30 -08:00
C. Naoto Abreu Takemura 972e9d5f05
Merge pull request #11 from kawwong/jest
Add jest for unit testing
2019-01-23 15:27:42 -08:00
Ka-wai Wong 509650a846 Add jest and sample unit test 2019-01-23 15:08:08 -08:00
Ka-wai Wong eca3f3594c Update .gitignore for javascript 2019-01-23 14:58:46 -08:00
C. Naoto Abreu Takemura 7c21c33851
Merge pull request #10 from kawwong/css-variables
Add CSS variables for reusable brand colors
2019-01-23 13:46:22 -08:00
Ka-wai Wong c1878dd180 Add css var ponyfill 2019-01-23 12:53:57 -08:00
Ka-wai Wong b8af78b317 Add css variables for brand colors 2019-01-23 12:53:03 -08:00
Ka-wai Wong 8141a7866d
Merge pull request #9 from Microsoft/caabreut/1901/bugfix-serialization-dt-eval-call
Bug fix for the 'Object reference too long' error, which was being ca…
2019-01-23 11:33:55 -08:00
Ka-wai Wong 05a43ec2bd
Update src/devpanel/services/MezzuriteInspector.js
Co-Authored-By: cn894 <c.naoto.at@outlook.com>
2019-01-23 11:31:31 -08:00
Ka-wai Wong b632f2b0ca
Update src/devtools/index.js
Co-Authored-By: cn894 <c.naoto.at@outlook.com>
2019-01-23 11:31:24 -08:00
C. Naoto Abreu Takemura 3369032f54 Bug fix for the 'Object reference too long' error, which was being caused by window.mezzurite being unserializable by the chrome.inspectedWindow.eval() call. There was no need to evaluate the entire window.mezzurite object, since only its existence was being verified, so the expression was updated to !!window.mezzurite 2019-01-23 10:50:15 -08:00
C. Naoto Abreu Takemura 14ff0d886e
Merge pull request #7 from kawwong/stylelint
Add stylelint
2019-01-22 14:45:59 -08:00
Ka-wai Wong 07ffc214de Add unified lint command 2019-01-22 12:09:16 -08:00
Ka-wai Wong fd5b913ca2 Add stylelint 2019-01-22 12:04:45 -08:00
Ka-wai Wong e40e07f768 Remove unused material-ui dependencies 2019-01-22 12:04:39 -08:00
Ka-wai Wong 3cc1e7a8bb
Merge pull request #6 from Microsoft/caabreut/1901/bugfix-eslint-semi-config
Fixing ESLing config error for rule: 'semi'.
2019-01-11 11:41:27 -08:00
C. Naoto Abreu Takemura 6581dbf677 Fixing ESLing config error for rule: 'semi'. The order of the parameters needed to be in the inverse order. 2019-01-11 11:15:55 -08:00
C. Naoto Abreu Takemura 315f8b09ba
Merge pull request #4 from kawwong/add-linting
Add linting & propTypes
2019-01-11 10:50:21 -08:00
Ka-wai Wong 5dbeea2481 Add semicolon enforcement in .eslintrc.json 2019-01-11 10:37:23 -08:00
Ka-wai Wong d8400a0978 Use eslint config standard and override semi rule 2019-01-11 10:28:29 -08:00
Ka-wai Wong 95d029537c Add linting and prop types 2019-01-11 10:26:47 -08:00
C. Naoto Abreu Takemura 083bf80af2
Merge pull request #3 from Microsoft/using-react
Porting extension to using React - Feature Parity and some UI work
2019-01-07 12:06:13 -08:00
C. Naoto Abreu Takemura 005bcf3272 Further refactored components for the devtools panel UI. Added github logo and link in the footer. 2019-01-07 10:20:01 -08:00
C. Naoto Abreu Takemura a361ace51e Finalized a simple color palette for the extension. Applied styling to existing components. Defined a reusable Container component for organizing content. Started refactoring the MezzuriteInfo component. 2019-01-02 16:51:48 -08:00
C. Naoto Abreu Takemura 5dc6e58f49 Added styling based on the colored Mezzurite logo provided by the designer. Refactored some components further. Added file-loader plugin rules for webpack to load icons for use within the extension's devtools panel. Added a sticky footer and structured the app with flexbox. The styling does not cover the contents, just the footer and header. 2019-01-02 13:36:57 -08:00
C. Naoto Abreu Takemura 1e76eb7076 Refactored the src/extension/ directory into separate modules for the remaining portions that aren't 'devpanel'. Updated webpack config with clean-webpack-plugin to ensure the dist/ directory is cleaned before building. 2019-01-02 09:45:47 -08:00
C. Naoto Abreu Takemura de31d46693 Refactored the project entirely. Removed having a separate chrome/ folder and deduplicated all files across chrome/ and src/. Configured webpack to have multiple entry points: one per separately executing Chrome extension script. Updated scripts and manifest.json to correctly reference the *.bundle.js files. Reorganized images under a res/img/ folder. 2018-12-31 15:37:21 -08:00
C. Naoto Abreu Takemura eee28a1a03 Feature parity with non-React version. Added icons for the extension to show in the toolbar and in other places like the extensions panel. Refactored UI into smaller components. Added dependencies for react-router to start implementing Mezzurite logging within the extension itself. 2018-12-28 10:19:50 -08:00
C. Naoto Abreu Takemura 4d4ccd1fef Got an example React application to load properly in the DevTools panel page. Rolled out a simple custom webpack setup for building the application. 2018-12-05 11:59:26 -08:00
C. Naoto Abreu Takemura 5c35779dc9
Merge pull request #2 from Microsoft/1811/detect-mezzurite
Detect Mezzurite presence and metrics/events, and show them to the user
2018-11-27 14:55:30 -08:00
C. Naoto Abreu Takemura 201831516a Added jsdoc comments to remaining undocumented comments 2018-11-26 14:21:48 -08:00
C. Naoto Abreu Takemura fb2ba63ffa Refactored a bit 2018-11-21 11:28:45 -08:00
C. Naoto Abreu Takemura 0f8fe3fe02 Extracted mezzurite package and version information and displayed it to the user in the extension's panel. 2018-11-20 13:42:45 -08:00
C. Naoto Abreu Takemura 4272628ab0 Successfully piped Mezzurite timing events from the inspected page to the DevTools panel and showed it to the user. 2018-11-19 15:01:19 -08:00
C. Naoto Abreu Takemura f5eecece98 Added JSDoc comments to src/main.js. 2018-11-16 10:41:45 -08:00
C. Naoto Abreu Takemura c2b09d8990 Extension now detects whether Mezzurite is on the page or not. Extension only loads DevTools panel when Mezzurite is present now. Updated the title and header for the extension's panel. Removed old console.log() statements and added new ones that reflect our extension's lifecycle during setup. 2018-11-15 17:10:37 -08:00
C. Naoto Abreu Takemura d958546f41
Merge pull request #1 from Microsoft/base-extension-work
Created basic dev-tools chrome extension to build upon
2018-11-14 14:59:39 -08:00
C. Naoto Abreu Takemura 3c78bc65be Ran npm init and added license and author information as requested in the PR. 2018-11-14 14:55:05 -08:00
C. Naoto Abreu Takemura dbd8ced1e5 Added 'Microsoft Corporation' as author in the manifest.json 2018-11-14 14:48:49 -08:00
C. Naoto Abreu Takemura 5d1fefef71 Created README.md for future addition of information. Linked to CONTRIBUTING.md from within README.md. 2018-11-13 16:28:45 -08:00