esrlabs / chipmunk

log analysis tool
Apache License 2.0
556 stars 39 forks source link

Quick actions buttons not working #1492

Closed fur-gan closed 2 years ago

fur-gan commented 2 years ago

Describe the issue

Clicking on "DLT Streaming" or "Text Streaming" does nothing.

Environment

Version 3.0.7 / 3.0.8 / 3.0.9

Failure Logs

In the developer-tools console the following error message appears: Fail to open DLT stream; error: Fail to find initial component "app-tabs-source-dltstream"

DmitryAstafyev commented 2 years ago

Maybe in devtools console, some other logs are present? Initial component - component, which can be created dynamically. All such components have decorator @Initial, like here

@Component({
    selector: 'app-tabs-source-dltstream',
    templateUrl: './template.html',
    styleUrls: ['./styles.less'],
})
@Initial()
@Ilc()
export class TabSourceDltStream { .... }

If we have error Fail to find initial component, it means the declaration of the target component wasn't triggered.

DmitryAstafyev commented 2 years ago

windows?

fur-gan commented 2 years ago

windows?

Tested both on Windows and Linux

fur-gan commented 2 years ago

Maybe in devtools console, some other logs are present?

No other messages. Only this one error message when you click the button.

If we have error Fail to find initial component, it means the declaration of the target component wasn't triggered.

Yes, need to check why that is

DmitryAstafyev commented 2 years ago

Rebase please your solution. Now there are should be additional logs. Could you please post it here

DmitryAstafyev commented 2 years ago

okay. I can confirm a bug. It actually only for the client in production mode. Looks like angular compile optimize it too much )