Commit graph

900 commits

Author SHA1 Message Date
renovate[bot]
00846664d3 build(devtools): update dependency ts-node to ~10.1.0 (rangle/angular-devtools#884)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-13 10:09:35 -07:00
renovate[bot]
462a6581c0 build(devtools): update angular-cli to f40f67d (rangle/angular-devtools#883)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-13 09:11:49 -07:00
renovate[bot]
cb845c80b1 build(devtools): update angular-cli to d409506 (rangle/angular-devtools#865)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-09 12:21:56 -07:00
renovate[bot]
feb7e45704 build(devtools): update angular-framework to 3634d08 (rangle/angular-devtools#875)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 18:51:10 -07:00
renovate[bot]
39dd516812 build(devtools): update angular-framework to 5116711 (rangle/angular-devtools#873)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-01 10:51:39 -07:00
renovate[bot]
0f71fcbff3 build(devtools): update dependency webpack to v5.41.1 (rangle/angular-devtools#872)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 13:52:01 -07:00
renovate[bot]
b91a158722 build(devtools): update angular-framework to 8dbf421 (rangle/angular-devtools#871)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-29 13:05:23 -07:00
renovate[bot]
8a70b19c45 build(devtools): update dependency wait-on to v6 (rangle/angular-devtools#870)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-26 22:19:33 -07:00
renovate[bot]
f069df3f8d build(devtools): update dependency webpack to v5.40.0 (rangle/angular-devtools#863)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-26 16:09:33 -07:00
renovate[bot]
ad23da47b7 build(devtools): update dependency @types/chrome to ^0.0.145 (rangle/angular-devtools#851)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-26 16:09:11 -07:00
renovate[bot]
a8ec913bf9 build(devtools): update angular-components to ~12.1.0 (rangle/angular-devtools#867)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-26 15:35:25 -07:00
renovate[bot]
2035743c2a build(devtools): update angular-framework to 8dd79b2 (rangle/angular-devtools#869)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-26 15:14:57 -07:00
renovate[bot]
30f9ba2fee build(devtools): update angular-framework to cf52ccc (rangle/angular-devtools#847)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-25 10:57:53 -07:00
renovate[bot]
379616507a build(devtools): update angular-cli to f480d2c (rangle/angular-devtools#854)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-21 17:58:36 -07:00
renovate[bot]
50c66facad build(devtools): update dependency tsickle to ^0.43.0 (rangle/angular-devtools#858)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-21 17:57:55 -07:00
AleksanderBodurri
1b97432960 fix(devtools): update typing of differ objects to fit the new contract of TrackByFunction (rangle/angular-devtools#862)
Previously `DefaultIterableDiffer` was able to infer the type of it's generic by reading the type contract defined by the user defined trackBy function. This was because `TrackByFunction` can be specified with a generic that is used to type its second argument. If this generic is not provided, like in this case, typescript infers this type from the function contract directly. In this case this inferred type was `FlatNode`. This inference is then propagated to `DefaultIterableDiffer`, which is why we were not seeing this error previously.

A change in the framework made it so the second argument of `TrackByFunction` is typed as a generic that extends the generic passed into `TrackByFunction`. Since we had not previously passed in this generic to `TrackByFunction`, this type was inferred as an extension of `unknown`, causing a type error when passed as an argument to the `DefaultIterableDiffer` constructor.

Now the functions being used are typed directly as `TrackByFunction<FlatNode>`

For clarity, the `DefaultIterableDiffer` generic is now also typed as `FlatNode`.

See https://github.com/angular/angular/pull/41995 for the framework change.
2021-06-21 17:56:43 -07:00
AleksanderBodurri
c3e8311298 fix(devtools): use visible gutter size in calculation for split area flex basis' (rangle/angular-devtools#857)
After PR rangle/angular-devtools#618, an invisible gutter was introduced to increase the draggable area of the split pane gutter. The gutter size being used in the calculation for the split area flex-basis still referenced the size of the now invisible gutter, causing split areas to be smaller than they should be. This is most noticable in the the input/output/state expandable panels in the property explorer tab.

Now the visible gutter size is used in the flex-basis calculation instead of the invisible one.
2021-06-21 15:57:47 -07:00
renovate[bot]
2f51b8f6f9 build(devtools): update dependency webpack to v5.39.1 (rangle/angular-devtools#859)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 11:26:25 -07:00
AleksanderBodurri
42e0ba2a9b refactor(devtools): switch to sass use and new angular material theming API (rangle/angular-devtools#853)
Previously we were using sass import rules to bring in material and other styling.

Now we are using the use rule and have switched over to the new angular material theming API
2021-06-16 15:18:12 -07:00
AleksanderBodurri
509abcf39b fix(devtools): prevent mat button css from leaking out of property view header (rangle/angular-devtools#856)
Previously, the property view header component had mat button styling nested in an ng-deep selector. This broke some styling in the info popup whenever an item was selected in the component explorer (because the existence of a selected component causes the property view header tab to render and thus brings in the leaky component css).

Now the leaky styling has been removed, and the component css has been cleaned up.
2021-06-16 15:17:50 -07:00
renovate[bot]
18d0a669a0 build(devtools): update angular-cli to 372f83f (rangle/angular-devtools#846)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-10 13:09:06 -07:00
renovate[bot]
add7457fe0 build(devtools): update angular-cli to bdc3a6b (rangle/angular-devtools#843)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-03 11:25:35 -07:00
renovate[bot]
c21a7ebe7c build(devtools): update angular-framework to 801e38a (rangle/angular-devtools#844)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-03 10:27:19 -07:00
Sumit Arora
5c298d7a93 test(devtools): adding e2e tests for inputs, outputs & properties 2021-06-03 09:44:17 -04:00
Sumit Arora
fef9e11022 test(devtools): updating tests for input & output property names 2021-06-03 09:44:17 -04:00
Sumit Arora
36e81c832f refactor(devtools): removing input & output rename lint rules, adding examples for the same 2021-06-03 09:44:17 -04:00
Sumit Arora
0763305d0d fix(devtools): incorrect input names 2021-06-03 09:44:17 -04:00
renovate[bot]
c6ff01d5b2 build(devtools): update angular-framework to b5ab092 (rangle/angular-devtools#840)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-02 13:20:50 -07:00
renovate[bot]
4a8e432678 build(devtools): update dependency @types/chrome to ^0.0.144 (rangle/angular-devtools#841)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-02 11:45:18 -07:00
renovate[bot]
ecdb96afbc build(devtools): update angular-cli to 26eb107 (rangle/angular-devtools#842)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-02 11:45:03 -07:00
renovate[bot]
63dfd3e78a build(devtools): update angular-cli to 4acdfec (rangle/angular-devtools#835)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-01 08:51:14 -07:00
Daan De Smedt
2f136adee5 docs(devtools): small type on README.md (rangle/angular-devtools#836)
A small type fixed on the README.md file
2021-06-01 08:50:40 -07:00
renovate[bot]
d79e0fb5aa build(devtools): update dependency webpack to v5.38.1 (rangle/angular-devtools#832)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-29 19:39:42 -07:00
renovate[bot]
5bbec52711 build(devtools): update dependency tsickle to ^0.40.0 (rangle/angular-devtools#831)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-29 19:39:26 -07:00
renovate[bot]
a82523d7d9 build(devtools): update dependency @types/chrome to ^0.0.143 (rangle/angular-devtools#830)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-29 19:39:09 -07:00
renovate[bot]
c427e52691 build(devtools): update angular-framework to ab9c21b (rangle/angular-devtools#829)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-29 19:38:52 -07:00
mgechev
642da74a2e release(devtools): v1.0.2 2021-05-28 10:25:57 -07:00
Minko Gechev
dc345956ce fix(devtools): show properly dynamically inserted content with DOM APIs (rangle/angular-devtools#828)
Fix rangle/angular-devtools#791

Build the render tree starting from the root node of the application.
This fix is applicable only for v12+ apps that are using the latest
debugging APIs.
2021-05-27 22:54:52 -07:00
Minko Gechev
e19dc3efb4 fix(devtools): delayed angular detection with app_initializer (rangle/angular-devtools#827)
This PR sets a timeout for repetitive check if there's an Angular app
on the page. Fix rangle/angular-devtools#826.
2021-05-27 21:19:19 -07:00
Minko Gechev
dfc4437afd fix(devtools): make sure we update the property explorer on state change (rangle/angular-devtools#821)
Fix rangle/angular-devtools#786

With this PR now we consider not only the property name but also the
value of properties in the differ comparison.

The change also contains e2e and unit tests.
2021-05-27 14:40:56 -07:00
renovate[bot]
c474ab81f6 build(devtools): update angular-framework to 78ceca3 (rangle/angular-devtools#823)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-27 11:05:25 -07:00
renovate[bot]
b206c783af build(devtools): update angular-cli to 151d244 (rangle/angular-devtools#822)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-27 08:27:54 -07:00
Mark Whitfeld
5bf180afb8 fix(devtools): skip node if there is no associated TViewData (rangle/angular-devtools#804)
* fix(backend): skip node if there is no associated TViewData

The code was assuming that the TViewData item at the same index as the node
in LView would contain a data entry. This value can be `null` (which is the
case in our app), which causes a catastrophic failure in the dev tool. By
checking for null, the node is skipped because it cannot determine the
associated component or directive and the dev tool does not die.

fixes issue rangle/angular-devtools#801

* chore: style tweak - add early return to avoid nesting
2021-05-26 11:17:48 -07:00
renovate[bot]
e5f3793774 build(devtools): update angular-cli to 729243c (rangle/angular-devtools#810)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-26 11:17:26 -07:00
renovate[bot]
8493a2ecc6 build(devtools): update dependency @types/chrome to ^0.0.142 (rangle/angular-devtools#819)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-26 11:17:14 -07:00
renovate[bot]
039ad483b4 build(devtools): update angular-framework to c54972c (rangle/angular-devtools#808)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-25 16:16:05 -07:00
renovate[bot]
d88304038a build(devtools): update dependency ts-node to v10 (rangle/angular-devtools#812)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-24 10:42:21 -07:00
mgechev
d44e610c4f release(devtools): v1.0.1 2021-05-23 12:24:17 -07:00
mgechev
f8ea26cd92 style(devtools): add call signatures 2021-05-23 11:52:31 -07:00
Amir Rustamzadeh
5b0d3356a6 ci(devtools): fix flaky tests using cypress orb (rangle/angular-devtools#733)
* ci: refactor circle config to use cypress orb

* ci: skipping unit tests while validating e2e runs

* ci: fix karma chrome launches

* ci: investigating karma headless failure

* ci: iterating on failure

* ci: move environment to executor

* build: revert karma config changes

* ci: update karma config

Co-authored-by: mgechev <mgechev@gmail.com>
2021-05-23 11:39:48 -07:00