Commit graph

148 commits

Author SHA1 Message Date
AleksanderBodurri
73dff6f002 feat(devtools): disable devtools for production applications 2021-03-03 15:23:39 -08:00
Sumit Arora
0c10ddb98c refactor(devtools): adding router-tree tests and reverting configuration 2021-03-01 15:10:35 -08:00
Sumit Arora
f28dae22ec feat(devtools): adding router tree 2021-03-01 15:10:35 -08:00
AleksanderBodurri
ca0910e59c perf(devtools): prevent directive forest from building twice every time a node is selected in the directive explorer 2020-11-20 16:30:23 +02:00
AleksanderBodurri
1a00837b0c perf(devtools): prevent highlighter from rebuilding the directive forest every time a node is hovered over in the directive forest 2020-11-20 16:30:23 +02:00
Renovate Bot
5dec59bd99 build(devtools): update angular-framework 2020-11-20 16:25:35 +02:00
mgechev
1613d6274a style(devtools): fix linting errors 2020-10-06 02:20:39 +03:00
mgechev
26f8808f4b refactor(devtools): remove MutationObserver and rename observer to execution hooks 2020-10-06 02:20:39 +03:00
mgechev
ffb46bdc3c fix(devtools): lview parsing when trying to get data from an option
Fix rangle/angular-devtools#513
2020-10-06 01:13:02 +03:00
mgechev
7c0d6c06e4 fix(devtools): enable the profiler even without zone available 2020-08-27 19:20:12 +03:00
mgechev
199745fd6c fix(devtools): handle lifecycle hooks of only components & directives 2020-08-27 12:50:36 +03:00
mgechev
b7c003f76a refactor(devtools): remove unused default value 2020-08-27 12:50:36 +03:00
Emma Twersky
21eb190f74 feat(devtools): move highlighter placement - no more overlap (rangle/angular-devtools#451) 2020-08-19 00:52:13 +03:00
mgechev
35f606b8ee build(devtools): revert solution-style tsconfig to align with cli 2020-08-12 18:10:34 +03:00
mgechev
04e41b3606 build(devtools): update to latest project structure 2020-07-13 19:32:51 +03:00
Renovate Bot
46f842bf92 build(devtools): update angular-framework 2020-06-27 15:11:07 -07:00
mgechev
42ecb7a0d5 fix(devtools): do not attempt to initialize devtools if not ivy 2020-05-20 15:51:30 -07:00
mgechev
5c5345fdd4 fix(devtools): remove forgotten markers causing slowdown 2020-05-11 15:40:33 -07:00
mgechev
5c0031d944 fix(devtools): broken virtual scroll layout on resize
Fix rangle/angular-devtools#342
2020-05-11 14:31:34 -07:00
AleksanderBodurri
dd71a52466 feat(devtools): Implement basic configuration UI and use it to toggle Timing API 2020-05-09 18:15:48 -07:00
mgechev
6422b60568 fix(devtools): preserve the expansion status of moved items 2020-05-07 16:25:36 -07:00
mgechev
4fc8a075c0 fix(devtools): initialization and popup logic
- Rename the popups and introduce a new one - supported version but no ivy
- Change the initialization logic to reflect the latest profiling updates
2020-05-04 18:33:17 -04:00
mgechev
c17b5fdc3e refactor(devtools): temporarily disable timingg API 2020-05-04 18:33:17 -04:00
mgechev
288ecfd994 fix(devtools): consider change detection completed after a microtask 2020-05-04 18:33:17 -04:00
mgechev
be6ffb4f23 refactor(devtools): use single change detection tracker 2020-05-04 18:33:17 -04:00
mgechev
ccee9302a0 refactor(devtools): observer logic so that we can have a single instance
We currently have a single instance of the directive forest observer. It's shared between the identity tracker and the capturer.
2020-05-04 18:33:17 -04:00
mgechev
2eb4771ea6 refactor(devtools): use different hook mechanism 2020-05-04 18:33:17 -04:00
mgechev
df5857ddc2 feat(devtools): introduce timing API support 2020-05-04 18:33:17 -04:00
AleksanderBodurri
8d319dd486 feat(devtools): make devtools fail elegantly for view engine apps 2020-05-04 10:33:23 -07:00
mgechev
d4fc65504b fix(devtools): ensure compatibility with angular v10.0.0+ 2020-05-02 20:24:15 -04:00
AleksanderBodurri
9f9fcdc128 refactor(devtools): rename selected-component.ts to set-console-reference.ts to better describe usage 2020-04-21 12:18:22 -07:00
AleksanderBodurri
4b9031263f feat(devtools): add ivy check 2020-04-20 12:35:24 -07:00
AleksanderBodurri
b5e95ce468 feat(devtools): inform user that devtools has limited functionality in production mode 2020-04-20 12:35:24 -07:00
AleksanderBodurri
502ab94003 feat(devtools): remove timeout and add new loading/error state message (rangle/angular-devtools#291) 2020-04-16 13:32:12 -07:00
AleksanderBodurri
0613d7e4f2 build(devtools): add linting to ci (rangle/angular-devtools#285)
* chore: fix lint errors

* build: add linting to ci pipeline
2020-04-15 14:22:49 -07:00
AleksanderBodurri
363f7954c4 feat(devtools): clicking on element with component inspector enabled will select that component in the directive explorer 2020-04-14 15:27:59 -07:00
AleksanderBodurri
285b5dbe91 feat(devtools): allow user to view change detection strategy and view encapsulation of a component in the property explorer (rangle/angular-devtools#257) 2020-04-08 11:35:50 -07:00
Minko Gechev
544d82fcc3 fix(devtools): debounce dirty notifications and ignore vendorChunk (rangle/angular-devtools#264)
1. On scroll event we can very aggressively request updates. Although we have throttling logic, it still can be quite a heavy operation in the front end. Here we introduce 50ms throttling.
2. Do not produce `vendorChunk` in development (and production) modes.
2020-04-08 11:34:25 -07:00
AleksanderBodurri
0ba899bfd5 refactor(devtools): remove ng.getComponent calls in places it is no longer needed 2020-04-01 15:17:52 -07:00
mgechev
f848ef8d1b feat(devtools): add functionality for visualizing change detection 2020-03-31 18:31:27 -04:00
mgechev
691e495b6b feat(devtools): add duration field to the ProfilerFrame
This way we open the door for further optimizations and make it possible to introduce customization of the output of the formatters per component-level.
2020-03-31 18:31:27 -04:00
mgechev
54c14c251a feat(devtools): optionally show change detection duration only when run 2020-03-31 18:31:27 -04:00
AleksanderBodurri
7d89324441 refactor(devtools): remove unused import 2020-03-30 12:36:55 -07:00
AleksanderBodurri
43df052e5c refactor(devtools): remove unused ng debug objects 2020-03-30 12:34:03 -07:00
AleksanderBodurri
97f88712e6 fix(devtools): drag and drop when selecting input; fix: console warning on update state error (rangle/angular-devtools#205)
* fix: console warn correct variable on update state failure

* fix: prevent drag from occuring on property edit inputs
2020-03-27 15:59:03 -07:00
AleksanderBodurri
74eb888efe feat(devtools): create ConsoleReferenceNode interface to fix typing issues in selected-component.ts 2020-03-23 17:41:52 -07:00
AleksanderBodurri
4df2b2b91e refactor(devtools): type node properly; simplify logic in select-component.ts 2020-03-23 17:41:52 -07:00
AleksanderBodurri
a8ba83cd30 fix(devtools): fix tests and leave todo related to possible typing refactor 2020-03-23 17:41:52 -07:00
AleksanderBodurri
a25cd0ed15 feat(devtools): show the console reference key on each selected element 2020-03-23 17:41:52 -07:00
AleksanderBodurri
4120c551e8 fix(devtools): catch selection edge cases for selecting the same node and selecting a node already in the array 2020-03-23 17:41:52 -07:00