AleksanderBodurri
8ea84d5776
feat(devtools): implement input/output/state preview functionality with the reworked property explorer
2020-03-22 19:59:30 -07:00
AleksanderBodurri
39b65dd05a
refactor(devtools): organize property explorer components
2020-03-22 19:59:30 -07:00
AleksanderBodurri
f8bb080157
feat(devtools): pass input/output data through from application to devtools UI
2020-03-22 19:59:30 -07:00
Sumit Arora
3d19ebf3a1
fix(devtools): added more padding to treegraph
2020-03-22 12:14:05 -04:00
mgechev
4b40752cb9
refactor(devtools): type safe serialization
2020-03-22 03:59:27 -04:00
mgechev
b127cdc211
fix(devtools): prevent race condition between getting nested props and refresh
2020-03-21 19:09:12 -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
Sumit Arora
ee7d8e58c6
feat(devtools): making small frames clickable
2020-03-21 18:53:56 -07:00
mgechev
60cc2d8fc0
fix(devtools): proper typings in shell-chrome for strictNullChecks
2020-03-20 16:05:53 -07:00
Minko Gechev
6a6059d2b1
build(devtools): enable strictNullChecks ( rangle/angular-devtools#167 )
2020-03-20 11:54:37 -07:00
Sumit Arora
75cb030a84
feat(devtools): adding bar chart for timeline
2020-03-19 19:15:07 -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
f4db6d7a44
test(devtools): add specs for the element property resolver
2020-03-19 21:17:26 -04:00
mgechev
b3b8c93656
test(devtools): fix typing errors in the specs
2020-03-19 21:17:26 -04:00
mgechev
f93b53bb89
fix(devtools): proper alignment of non-expandable props
2020-03-19 21:17:26 -04:00
mgechev
dce46e5411
refactor(devtools): move abstractions to separate files
2020-03-19 21:17:26 -04:00
mgechev
370a600481
refactor(devtools): use shared store between parent and child components
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
25a6ecc438
refactor(devtools): reuse prop instances in the data source
2020-03-19 21:17:26 -04:00
mgechev
2a1f6e9464
fix(devtools): do not refresh the ui unless there are updates
2020-03-19 21:17:26 -04:00
Sumit Arora
0b991bdc0f
feat(devtools): adding piechart for profiler
2020-03-18 15:41:56 -04:00
Sumit Arora
7990fdd7b3
style(devtools): adding control padding and bold title
2020-03-18 15:18:50 -04:00
Sumit Arora
257e231f68
style(devtools): fixing title style
2020-03-18 15:18:50 -04:00
Sumit Arora
7c93631b32
style(devtools): setting total time text to bold
2020-03-18 15:18:50 -04:00
AleksanderBodurri
e74e213b7c
refactor(devtools): clean up record formatter constants by removing duplicate objects
2020-03-18 09:31:25 -04:00
AleksanderBodurri
a5beefb477
feat(devtools): rerender tree on resize to keep tree within view
2020-03-18 09:31:25 -04:00
AleksanderBodurri
ae478f0e29
test(devtools): create simple unit test for webtreegraph formatter
2020-03-18 09:31:25 -04:00
AleksanderBodurri
45de7613e4
refactor(devtools): create mock formatter to sepearte getLabel and getValue tests from flamegraph;
2020-03-18 09:31:25 -04:00
AleksanderBodurri
18214a9b99
feat(devtools): create webtree graph formatter and pass the formatted data through to the web tree graph visualizer
2020-03-18 09:31:25 -04:00
AleksanderBodurri
0140dc2c8b
refactor(devtools): create formatter interface; move flamegraph formatting logic to class that implements interface
2020-03-18 09:31:25 -04:00
AleksanderBodurri
e86ffc1d86
test(devtools): write tests for record formatter
2020-03-18 09:31:25 -04:00
AleksanderBodurri
816974654c
refactor(devtools): organize file structure of profiler components
2020-03-18 09:31:25 -04:00
AleksanderBodurri
e7db0d3f78
feat(devtools): split apart visualizing views; create new components for each visualizer component
2020-03-18 09:31:25 -04:00
mgechev
e74dc9e70d
fix(devtools): make sure we dont access position of an undefined parent
2020-03-17 21:04:11 -04:00
mgechev
657c74151f
fix(devtools): dont leak flat and indexed nodes
2020-03-16 23:04:19 -04:00
mgechev
48c140038b
fix(devtools): refresh & reinitialize on navigation
2020-03-13 18:49:46 -07:00
AleksanderBodurri
059da5d908
feat(devtools): implement reload message bus event that calls window.location.reload inside of the dev tools
2020-03-12 15:54:47 -07:00
AleksanderBodurri
1871c34743
fix(devtools): get ng debug object whenever it is required through a function to prevent an issue where it would be set to undefined on page refresh
2020-03-12 15:54:47 -07:00
AleksanderBodurri
a4b748de75
fix(devtools): properly emit shutdown event on cleanup and call change detector ref to update ui into loading state
2020-03-12 15:54:47 -07:00
mgechev
07344cd4b3
feat(devtools): implement "force refresh" when the user presses the refresh button
2020-03-12 15:13:34 -07:00
mgechev
57f6f26b52
refactor(devtools): add comments and remove useless npm scripts
2020-03-12 15:13:15 -07:00
mgechev
3340caf648
fix(devtools): show report for replaced nodes in the same tile and get lifecycle hook name
2020-03-12 15:13:15 -07:00
mgechev
82a8d5c0aa
fix(devtools): show elements nested in app elements
2020-03-12 15:13:15 -07:00
mgechev
387b2f34fd
refactor(devtools): show more meaningful warning message to help us debug cases
2020-03-12 15:13:15 -07:00
mgechev
6d86bbc11b
fix(devtools): get the lifecycle hook name using a more robust approach
2020-03-12 15:13:15 -07:00
mgechev
e254d385f1
refactor(devtools): extract root components traversing the dom
2020-03-12 15:13:15 -07:00
mgechev
fc5801b225
fix(devtools): get the lview from the instance context
2020-03-12 15:13:15 -07:00
AleksanderBodurri
5eed92e91c
fix(devtools): give breadcrumb container a z-index higher than 1 to prevent an issue where scrolling on the x-axis may inadvertently scroll the properties view tab
2020-03-12 10:00:07 -07:00
AleksanderBodurri
0649cc485d
fix(devtools): fix edge case where only one item is profiled and where no items are profiled
2020-03-11 15:39:45 -07:00