You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
(I am new to Angular as of last week)
I am trying to reproduce dimo-lablinggit repo for Web-based UI of 6D pose annotation tool.
I get the following error:
(dimo-labeling) mona@ada:~/dimo-labeling/frontend$ ng serve
Workspace extension with invalid name (defaultProject) found.
Option "browserTarget" is deprecated: Use 'buildTarget' instead.
⠋ Generating browser application bundles (phase: setup)... TypeScript compiler options "target" and "useDefineForClassFields" are set to "ES2022" and "false" respectively by the Angular CLI. To control ECMA version and features use the Browserslist configuration. For more information, see https://angular.io/guide/build#configuring-browser-compatibility
NOTE: You can set the "target" to "ES2022" in the project's tsconfig to remove this warning.
✔ Browser application bundle generation complete.
Initial chunk files | Names | Raw size
vendor.js | vendor | 6.66 MB |
styles.css, styles.js | styles | 399.99 kB |
polyfills.js | polyfills | 336.44 kB |
main.js | main | 153.51 kB |
scripts.js | scripts | 32.99 kB |
runtime.js | runtime | 6.51 kB |
| Initial total | 7.57 MB
Build at: 2024-03-25T19:10:13.161Z - Hash: 5cadd8a72f282b85 - Time: 4654ms
Warning: /home/mona/dimo-labeling/frontend/src/app/image-render-overlay/image-render-overlay.component.ts depends on 'panzoom'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Error: src/app/app.component.html:24:76 - error TS2551: Property 'option' does not exist on type 'MatSelectionListChange'. Did you mean 'options'?
24 (selectionChange)="selectPositionedPart($event.option.value)">
~~~~~~
src/app/app.component.ts:18:16
18 templateUrl: './app.component.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
✖ Failed to compile.
the UI works but doesn't load Scenes or Images, as shown below,
(dimo-labeling) mona@ada:~/dimo-labeling/frontend$ ng serve
Workspace extension with invalid name (defaultProject) found.
Option "browserTarget" is deprecated: Use 'buildTarget' instead.
⠋ Generating browser application bundles (phase: setup)... TypeScript compiler options "target" and "useDefineForClassFields" are set to "ES2022" and "false" respectively by the Angular CLI. To control ECMA version and features use the Browserslist configuration. For more information, see https://angular.io/guide/build#configuring-browser-compatibility
NOTE: You can set the "target" to "ES2022" in the project's tsconfig to remove this warning.
✔ Browser application bundle generation complete.
Initial chunk files | Names | Raw size
vendor.js | vendor | 6.66 MB |
styles.css, styles.js | styles | 399.99 kB |
polyfills.js | polyfills | 336.44 kB |
main.js | main | 153.52 kB |
scripts.js | scripts | 32.99 kB |
runtime.js | runtime | 6.51 kB |
| Initial total | 7.57 MB
Build at: 2024-03-25T19:13:06.165Z - Hash: c1ff3d16f683b71f - Time: 4131ms
Warning: /home/mona/dimo-labeling/frontend/src/app/image-render-overlay/image-render-overlay.component.ts depends on 'panzoom'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
✔ Compiled successfully.
I have:
In this UI, clicking on Scenes or Images is not responsive but I am able to click on Part and select 1.
It's because the event emitted by selectionChange doesn't have an option field. You should read the option that was toggled through the options field instead.
Is this a regression?
The previous version in which this bug was not present was
No response
Description
(I am new to Angular as of last week)
I am trying to reproduce
dimo-labling
git repo for Web-based UI of 6D pose annotation tool.I get the following error:
I have:
and
If I change
(selectionChange)="selectPositionedPart($event.option.value)">
to
the UI works but doesn't load Scenes or Images, as shown below,
I have:
In this UI, clicking on Scenes or Images is not responsive but I am able to click on Part and select 1.
More details pderoovere/dimo-labeling#5
Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
Please check description
Expected Behavior
To be able to see what the
dimo-labeling
author shows in his video (able to click on Scene and Image and select the numbers)Currently, when I click, it only gets blue but the numbers don't show
Actual Behavior
Scene and Image gets selected but I can't see the numbers.
Environment
Browser: Chrome Version 118.0.5993.88 (Official Build) (64-bit)
OS:
The text was updated successfully, but these errors were encountered: