Commit Graph
50 Commits
Author SHA1 Message Date
mgechev 7c0d6c06e4 fix(devtools): enable the profiler even without zone available 2020-08-27 19:20:12 +03:00
mgechev ddeacebd7b feat(devtools): add a demo pipe with ngOnDestroy 2020-08-27 12:50:36 +03:00
Emma TwerskyandEmma Twersky 3633be9875 fix(devtools): Style Changes to Profiler, general color scheme, controls & responsiveness (rangle/angular-devtools#468)
* make angular version number copyable

* Make version selectable

* change instructions and icons in profiler

* make font size responsive

* fix: move checkbox to control panel

* fix: change loading indicator to match style

* fix: profiler tab style of graphs

* fix: version responsive to size

* fix: version colors

* fix: flame graph colors and change detection

Co-authored-by: Emma Twersky <[email protected]>
2020-08-24 23:19:37 +03:00
Emma Twersky a0ba7f7762 fix(devtools): fix all remaining component tab color issues (rangle/angular-devtools#458) 2020-08-21 18:57:46 +03:00
Emma TwerskyandEmma Twersky c87d30eca5 fix(devtools): change colors (rangle/angular-devtools#453)
* change colors - full accessibility on contrast WCAG AAA

* small font size fix

Co-authored-by: Emma Twersky <[email protected]>
2020-08-19 00:48:58 +03:00
mgechev 9b8e170927 refactor(devtools): remove important directives and move style overrides
This PR introduces the following improvements:
- We no longer override styles using the global `styles.scss`. This way we can leak override and have unexpected behavior.
- This allows us to remove the `!important` directives, which are considered bad practice.
- Few fixes in the contrast for some elements.
2020-07-13 21:40:22 +03:00
Sumit Arora 07affb443d style(devtools): styling graphs 2020-06-17 10:07:25 -07:00
Sumit Arora 2e0482ada6 style(devtools): implementing dark mode 2020-06-17 10:07:25 -07:00
Sumit Arora f7ade259fe fix(devtools): fixing code review comments 2020-06-17 10:07:25 -07:00
Sumit Arora 1498984e9e style(devtools): adding light and dark themes 2020-06-17 10:07:25 -07:00
mgechev 284300abdb fix(devtools): consistent styles across shell dev and chrome 2020-04-09 09:19:49 -07:00
mgechev 0579e98a1c feat(devtools): introduce virtual scrolling in directive explorer 2020-04-09 09:19:44 -07:00
AleksanderBodurri 67a89a02d6 feat(devtools): allow user to click on function properties to inspect that function in the chrome devtools (rangle/angular-devtools#234) 2020-04-06 15:02:51 -07:00
AleksanderBodurri a7ea578507 feat(devtools): display latest commit SHA in application (rangle/angular-devtools#243)
* build: set latest SHA commit as system environment variable for chrome build

* build: set latest SHA commit as sys variable for demo build

* feat: create application environment abstraction to reference environment variables inside the ng-devtools library

* test: fix devtools component test
2020-04-02 16:23:03 -07:00
mgechev f848ef8d1b feat(devtools): add functionality for visualizing change detection 2020-03-31 18:31:27 -04:00
mgechev db82118f66 fix(devtools): remove useless scrollbar from the demo app 2020-03-31 12:20:12 -04:00
AleksanderBodurri 957034bf93 feat(devtools): migrate devtools and demo app to scss for styling 2020-03-29 13:49:19 -07:00
Sumit Arora 07632cf7bc feat(devtools): renaming app component to app todo component (rangle/angular-devtools#195)
* feat(demo-app): renaming app component to app todo component

* feat(demo-app): renaming files
2020-03-26 13:17:06 -07:00
mgechev ae6acce53e fix(devtools): highlighting of newly added nodes
This PR also simplifies the imperative ordering of async methods. It moves the logic into a generic abstraction `PriorityAwareMessageBus`.
2020-03-23 21:24:27 -07:00
AleksanderBodurri 0b5e892d84 build(devtools): enable no-unused-variable lint check with warning severity 2020-03-23 17:41:10 -07:00
mgechev b010784b21 fix(devtools): do not expand HTML Comments and preserve state for selected nodes 2020-03-21 19:09:12 -07:00
mgechev 5f5307e610 fix(devtools): flicker properties when update selected node
Fix rangle/angular-devtools#171

The PR includes few changes:
1. Fixes a race condition between two competing async calls
2. Simplifies the message bus, now we have one method for getting the component tree instead of one for getting the component tree and another for getting properties. Similarly to GraphQL we send a query for exactly what we need.
3. Fixes the way we update properties in the UI once we receive new items
2020-03-21 19:09:12 -07:00
Minko Gechev 6a6059d2b1 build(devtools): enable strictNullChecks (rangle/angular-devtools#167) 2020-03-20 11:54:37 -07:00
mgechev 14e51e8875 test(devtools): verify that the app can select elements with the same name 2020-03-19 21:17:26 -04:00
mgechev 2f115a2448 refactor(devtools): use DI for the messageBus instead of passing it as props 2020-03-19 21:17:26 -04:00
mgechev 82a8d5c0aa fix(devtools): show elements nested in app elements 2020-03-12 15:13:15 -07:00
mgechev 8cb4119e25 refactor(devtools): remove unused specs 2020-03-12 15:13:15 -07:00
mgechev cb0a056cb2 refactor(devtools): add dialog to the demo app 2020-03-12 15:13:15 -07:00
mgechev becdcca64a feat(devtools): add support for Angular elements
Currently, we only show which components are Angular elements. We don't visualize them in their position in the component tree, but only indicate with different coloring.

In the profiler we should also somehow show which tiles correspond to elements. We can discuss this further in rangle/angular-devtools#112.
2020-03-11 09:53:34 -04:00
AleksanderBodurri 9bdaa57a74 feat(devtools): create shared-utils project library to house functions and classes that can be used by any other project 2020-03-10 14:54:24 -07:00