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

64 Коммитов

Автор SHA1 Сообщение Дата
Adam Reineke 5b8a08925c
Merge pull request #32 from teisena/remove_styles_from_userscript
Fix #13: remove styles from user script
2018-10-02 17:01:42 -07:00
teisena c91fd19d27 Fix #13: remove styles from user script 2018-10-02 22:40:32 +03:00
Andrew Bishop a840e283fc
Merge pull request #30 from Microsoft/update-version
Bump version
2018-09-14 12:13:26 -07:00
Andrew Bishop 17555439c4 Merge branch 'develop' into update-version 2018-09-14 12:01:32 -07:00
Andrew Bishop 15075d8ade Update version 2018-09-14 11:59:04 -07:00
Andrew Bishop b584c38246
Merge pull request #28 from Microsoft/basic-html-panel
Add basic HTML panel
2018-09-14 11:46:30 -07:00
Andrew Bishop 4f8c7b6018 Add basic HTML panel 2018-09-14 11:40:52 -07:00
Adam Reineke 6f38e0c9bf
Add Basic Info buttons (#25)
This allows the config to pass in values that can be displayed in buttons without panels (see index.html).

Also updates our TypeScript related dependencies and disable the Chrome test runner since it isn't working. The IE test runner still works, so tests still run.
2018-08-27 19:46:00 -07:00
Josh Goldberg 5c45b64262 Replaced \ with / in index.html (#21)
It was bugging me :)
2018-02-13 10:54:04 -08:00
Adam Reineke fca3d61c5f
Preserve copyright headers, include GitHub link and version in output (#15) 2018-02-07 14:45:42 -08:00
Josh Goldberg 241dd9893e Fixed README.md checklist formatting (#14)
Fixes #11.
2018-01-31 13:15:44 -08:00
Josh Goldberg 7f11f4c1f5
Merge pull request #12 from Microsoft/merge-back-master
Merge back master
2018-01-30 14:12:35 -08:00
Adam Reineke ed09210ce9 Merge branch 'master' into merge-back-master 2018-01-30 14:10:18 -08:00
Adam Reineke 419a495be4
Cleanup before release (#10)
* Improve documentation. PanelFrame is two words.

* Copyright headers.

* Test copyright headers

* Upgrading tslint brought in two bad defaults

* lit-html recognized template strings and XSS mitigations

* Use before declare

* Final README updates
2018-01-30 11:12:49 -08:00
Adam Reineke 5ffd3e13c0 Final README updates 2018-01-29 17:39:52 -08:00
Adam Reineke 320198340d Use before declare 2018-01-29 17:23:39 -08:00
Adam Reineke 02cb63cf1b lit-html recognized template strings and XSS mitigations 2018-01-29 16:18:21 -08:00
Adam Reineke ce6ff8a491 Merge branch 'develop' 2018-01-19 16:58:44 -08:00
Adam Reineke 30fc3987d3
Prepare for open sourcing (#9)
* Improve documentation. PanelFrame is two words.

* Copyright headers.

* Upgrading tslint brought in two bad defaults
2018-01-19 16:58:22 -08:00
Adam Reineke be976301d2 Upgrading tslint brought in two bad defaults 2018-01-19 04:02:44 -08:00
Adam Reineke 6f729f721b Test copyright headers 2018-01-19 03:59:24 -08:00
Adam Reineke 7f56e11ef9 Copyright headers. 2018-01-19 03:58:13 -08:00
Adam Reineke ba5b6584f5 Improve documentation. PanelFrame is two words. 2018-01-19 03:16:01 -08:00
Adam Reineke 06001aee75
Lock dependency versions (#8)
* Lock dependancy versions and fix a test error
2018-01-18 23:59:45 -08:00
Adam Reineke 76649cff5e
Add Uglify; gzip for demo (#7)
Add Uglify for minification.
Gzip the bundle so the toolbar is served gzipped for the demo (now only 3.3Kb!)
Update the author, license and repository fields for the package.json
2018-01-17 16:07:13 -08:00
Adam Reineke 24717f8ada
Move styles to JS from CSS (#6)
* Moves the styles to JavaScript
2018-01-17 15:53:33 -08:00
Adam Reineke acbb97435d
Add the resource timings pane (#5)
* First stab at resource timings

* pretty numbers

* Prettier output, helper methods

* Add the pane to the user script

* Move some new types to a common place, add a formatter for paths

* Formatting fixes and added button titles

* Add and update formatter tests

* Bad import

* Test the new Button.title property

* resource-timing refactor with test stubs

* Add the remaining tests, plus supporting refactors.

- Added more `npm run ...` commands
- No more sourcemaps
- Update tslint to allow leading underscores in variable names (for unused variables in the mocks)
- Remove the unused webpack test config
- Rename the units type in Formatter
- Fix a minor typing issue in IPanel
- Move and update helpers in resource-timing
- Add a tsconfig for the tests project so it can be typechecked properly
- Fix tslint and tsc type errors in `button.spec.ts`, `formatter.spec.ts`, `toolbar.spec.ts`, `panel.mock.ts`, `navigation-timing-spec.ts`
- Add resource timing tests

* Update demo

* Address CR feedback

* Fix some typing errors

* Remove typedef rule, fix a compile type error in tests

* Improve `npm run check` to be comprehensive

* Dropped a default param when cleaning up typedef

* Fix keying with enums
2018-01-17 13:59:31 -08:00
Adam Reineke 25ad5d7163
Update documentation about testing across the web 2018-01-09 13:02:13 -08:00
Adam Reineke be20827a30
Merge pull request #4 from Microsoft/test-anywhere
Need a few more headers in the docs
2018-01-09 12:41:33 -08:00
Adam Reineke 26d10d8eb8
Need a few more headers 2018-01-09 12:40:23 -08:00
Adam Reineke 20b7b010aa
Merge pull request #3 from Microsoft/test-anywhere
Add instructions for how to test the toolbar everywhere
2018-01-09 12:20:20 -08:00
Adam Reineke ff42556e5c Resource timing isn't checked in yet 2018-01-09 12:11:59 -08:00
Adam Reineke 99472c520b Add instructions on how to test across the web
(cherry picked from commit ab54eb5a5b1b4865e92aa140587fcf705adc5f43)
2018-01-09 11:58:17 -08:00
Adam Reineke ecea25b431
Add the Navigation Timing panel
Provides the navigation timing toolbar. This records key moments in the page load experience.

Additionally:

Updates Karma config to capture tests in folders
Updates the demo to have styles and use a real panel
Gives buttons a click action and a parent
Adds Formatter to handle formatting durations
Adds a few extra interfaces to handle panels being constructed with configurations
Adds PanelConfigMerger to merge user configs and default configs
Adds PanelFrame to hold and show/hide panels
Updates Toolbar to construct from panel classes and configurations
Cleans up a bug where the wrong container was cleared in the toolbar render
Removes a few tslint rules that were causing more problems than they were worth
2018-01-08 14:44:20 -08:00
Adam Reineke 4982c78e2b Address code review feedback 2018-01-04 16:37:04 -08:00
Adam Reineke d58477b0c9 Add a few styles 2018-01-03 19:17:51 -08:00
Adam Reineke 5bd17246d2 Add tests for navigation-timing 2018-01-03 18:50:02 -08:00
Adam Reineke baebdcfcc2 Some initial styling 2018-01-02 18:46:51 -08:00
Adam Reineke 1d05ea77b1 Construct panels with configs 2018-01-02 17:56:20 -08:00
Adam Reineke 974e5894e4 navigation timings basic 2018-01-02 14:36:36 -08:00
Adam Reineke 222f20f059 Work in progress on adding a panel frame 2017-12-22 16:00:32 -08:00
Adam Reineke 245a0db47d get bundle out of this branch 2017-12-21 14:06:37 -08:00
Adam Reineke 9594170d42 Merge branch 'master' into navigation-timing 2017-12-21 12:24:54 -08:00
Adam Reineke 683b09584f
Merge pull request #1 from Microsoft/initial-work
Initial work on the toolbar
2017-12-21 12:16:34 -08:00
Adam Reineke 5ba510d260 Fix the demo 2017-12-20 20:36:48 -08:00
Adam Reineke 0195dc6b10 Add trailing slash 2017-12-20 20:29:38 -08:00
Adam Reineke 2719d59214 Enable tslint 2017-12-20 20:28:56 -08:00
Adam Reineke 0c488f3f98 code review feedback before enabling tslint 2017-12-20 18:49:52 -08:00
Adam Reineke 378dec393c Add tsc command and fix imports 2017-12-19 19:07:19 -08:00
Adam Reineke d7b003900e Add navigation timing button and render 2017-12-19 19:05:00 -08:00