Skip to content

Commit 9fcbba2

Browse files
committed
user activation from backend
1 parent a7038fd commit 9fcbba2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ide-common/src/main/kotlin/org/digma/intellij/plugin/activation/UserActivationService.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -425,13 +425,13 @@ class UserActivationService : DisposableAdaptor {
425425
*/
426426
fun issuesReceivedInProject(project: Project) {
427427

428+
//not interesting anymore
428429
if (isBackendUserActivationComplete()) {
429430
return
430431
}
431432

432433
//not interesting anymore
433434
if (userSawIssues || dontNeedToShowNewIssueNotification()) {
434-
Log.log(logger::trace, "ignoring issues received in project {}", project.name)
435435
return
436436
}
437437

@@ -458,13 +458,13 @@ class UserActivationService : DisposableAdaptor {
458458

459459
fun assetsReceivedInProject(project: Project) {
460460

461+
//not interesting anymore
461462
if (isBackendUserActivationComplete()) {
462463
return
463464
}
464465

465466
//not interesting anymore
466467
if (userSawAssets || dontNeedToShowNewAssetNotification()) {
467-
Log.log(logger::trace, "ignoring assets received in project {}", project.name)
468468
return
469469
}
470470

@@ -491,13 +491,13 @@ class UserActivationService : DisposableAdaptor {
491491

492492
fun insightsReceivedInProject(project: Project) {
493493

494+
//not interesting anymore
494495
if (isBackendUserActivationComplete()) {
495496
return
496497
}
497498

498499
//not interesting anymore
499500
if (userSawInsights || dontNeedToShowNewInsightNotification()) {
500-
Log.log(logger::trace, "ignoring insights received in project {}", project.name)
501501
return
502502
}
503503

@@ -525,13 +525,13 @@ class UserActivationService : DisposableAdaptor {
525525

526526
fun recentActivityReceivedInProject(project: Project) {
527527

528+
//not interesting anymore
528529
if (isBackendUserActivationComplete()) {
529530
return
530531
}
531532

532533
//not interesting anymore
533534
if (userSawRecentActivity || dontNeedToShowNewRecentActivityNotification()) {
534-
Log.log(logger::trace, "ignoring recent activity in project {}", project.name)
535535
return
536536
}
537537

0 commit comments

Comments
 (0)