Commit graph

60 commits

Author SHA1 Message Date
AleksanderBodurri
0fe26a646e build(devtools): migrate shell-chrome to bazel
Allows shell-chrome to be built with bazel. Currently this is built in production mode with terser minified code and the appropriate manifest and content script files to make the chrome extension work properly.
2021-11-10 12:30:54 -05:00
mgechev
d22bf7fa1d release(devtools): v1.0.4 2021-11-09 12:37:58 -08:00
mgechev
cd91b2cc27 release(devtools): v1.0.3 2021-11-09 10:08:07 -08:00
kamikopi
0aa64aa490 fix(devtools): Support Electron (rangle/angular-devtools#849)
Following suggestion from the issue thread, created an empty polyfills
to the chrome.browserAction calls, which are not available in the electron.
2021-10-18 16:26:18 -07:00
mgechev
a93cfdca81 feat(devtools): support trusted types for script injection 2021-10-18 16:24:42 -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
mgechev
642da74a2e release(devtools): v1.0.2 2021-05-28 10:25:57 -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
mgechev
d44e610c4f release(devtools): v1.0.1 2021-05-23 12:24:17 -07:00
mgechev
06efd995fb build(devtools): consistent branding 2021-05-11 15:35:04 -07:00
mgechev
681feff8d0 fix(devtools): recognize app after reopening devtools
Previously, Angular DevTools did not recognize the Angular application the second time the user reopens the extension tab. Webpack was preventing us to invoke twice a module with the same name. This PR changes the `content-script` to a library, allowing us to invoke it multiple times.
2021-05-11 08:38:07 -07:00
mgechev
26d1d3df1c refactor(devtools): remove log statements and update styles when no ng app found 2021-05-11 08:38:07 -07:00
mgechev
5af0aaddb0 refactor(devtools): use material icons in popups 2021-05-03 15:48:01 -07:00
mgechev
cf682b59b5 fix(devtools): set proper icon sizes 2021-05-03 15:48:01 -07:00
mgechev
89e495dfff build(devtools): update scripts and manifest 2021-05-03 15:48:01 -07:00
mgechev
2e8fe67864 fix(devtools): change the isIvy detection 2021-04-19 17:26:20 -07:00
Sumit Arora
c5445440bf fix(devtools): updating page design 2021-04-13 20:14:55 -07:00
Sumit Arora
e032e043cb fix(devtools): setting default page for extension 2021-04-13 20:14:55 -07:00
twerske
a42eee68cc feat(devtools): add opening instructions 2021-03-29 15:47:19 -04:00
AleksanderBodurri
dbcf91bbe0 feat(devtools): allow user to click on component properties of type HTMLElement to inspect the element in the browser 2020-10-12 19:59:48 +03:00
mgechev
199745fd6c fix(devtools): handle lifecycle hooks of only components & directives 2020-08-27 12:50:36 +03:00
Minko Gechev
0169295122 fix(devtools): linting errors to prevent ci failing (rangle/angular-devtools#469) 2020-08-25 14:22:58 +03:00
Emma 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 <emmatwersky@google.com>
2020-08-24 23:19:37 +03:00
mgechev
1af8f55922 build(devtools): update extension version 2020-08-12 18:10:34 +03:00
mgechev
0e10241b5c fix(devtools): set extension icon and popup only on DevTools background message
The script handles messages globally, for all extensions running on the page. I this case, we don't want to do anything if the message does not come from Angular DevTools itself.
2020-08-11 21:18:48 +03:00
mgechev
f9a5069e94 fix(devtools): use theming in chrome extension 2020-07-13 21:39:58 +03:00
mgechev
7ea441719f feat(devtools): add extra information to popups 2020-05-13 12:11:15 -07:00
mgechev
815d697efe fix(devtools): show not-angular popup for non-angular apps 2020-05-13 12:11:15 -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
AleksanderBodurri
12a3de91ce refactor(devtools): change console log messaging to be more informative without exposing message layer abstractions 2020-04-28 12:23:43 -07:00
AleksanderBodurri
e55a24cf30 fix(devtools): remove runOutsideAngular wrapper on mouse move event 2020-04-24 09:45:46 -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
mgechev
284300abdb fix(devtools): consistent styles across shell dev and chrome 2020-04-09 09:19:49 -07:00
Minko Gechev
08fb1fa67d build(devtools): add script for setting manifest version (rangle/angular-devtools#245) 2020-04-06 18:58:11 -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
AleksanderBodurri
0ba899bfd5 refactor(devtools): remove ng.getComponent calls in places it is no longer needed 2020-04-01 15:17:52 -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
60cc2d8fc0 fix(devtools): proper typings in shell-chrome for strictNullChecks 2020-03-20 16:05:53 -07: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
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
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
5fe0d80d0c fix(devtools): compatibility issues with google3 2020-03-11 12:48:31 -07:00
AleksanderBodurri
5b10bf2e38 refactor(devtools): add tslint typing rule and fix tslint warnings 2020-03-10 09:50:00 -07:00
mgechev
dba943a4e2 feat(devtools): detect directives added to non-elements 2020-02-24 11:09:10 -05:00
mgechev
a5ab7ba5e7 refactor(devtools): rename id to position 2020-02-24 11:09:10 -05:00
Sumit Arora
f06aedc28c feat(devtools): adding icon popups displaying app status (rangle/angular-devtools#70) 2020-02-19 12:55:16 -05:00
AleksanderBodurri
9500ec6617 feat(devtools): create copy to clipboard button for properties view wrapper (rangle/angular-devtools#38)
add snack bar notification
2020-02-10 21:17:48 -08:00