Skip to content

Commit 24da228

Browse files
authored
Merge pull request #2377 from digma-ai/remove-scope-change-event
remove scope changed event Closes #2376
2 parents 2482c99 + ad2ebc4 commit 24da228

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

ide-common/src/main/kotlin/org/digma/intellij/plugin/posthog/ActivityMonitor.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -961,13 +961,6 @@ class ActivityMonitor(private val project: Project, cs: CoroutineScope) : Dispos
961961

962962
}
963963

964-
fun registerScopeChanged(scope: String) {
965-
capture(
966-
"scope changed",
967-
mapOf("scope" to scope)
968-
)
969-
}
970-
971964

972965
fun reportDigmathonEvent(eventType: String, details: Map<String, String>) {
973966

ide-common/src/main/kotlin/org/digma/intellij/plugin/scope/ScopeManager.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import org.digma.intellij.plugin.navigation.MainContentViewSwitcher
1414
import org.digma.intellij.plugin.navigation.View
1515
import org.digma.intellij.plugin.navigation.codenavigation.CodeNavigator
1616
import org.digma.intellij.plugin.persistence.PersistenceService
17-
import org.digma.intellij.plugin.posthog.ActivityMonitor
1817
import org.digma.intellij.plugin.ui.MainToolWindowCardsController
1918
import org.digma.intellij.plugin.ui.ToolWindowShower
2019

@@ -39,8 +38,6 @@ class ScopeManager(private val project: Project) {
3938

4039
EDT.assertNonDispatchThread()
4140

42-
ActivityMonitor.getInstance(project).registerScopeChanged("home")
43-
4441
//must happen before firing the event
4542
if (!environmentId.isNullOrBlank()){
4643
setCurrentEnvironmentById(project,environmentId)
@@ -81,8 +78,6 @@ class ScopeManager(private val project: Project) {
8178

8279
EDT.assertNonDispatchThread()
8380

84-
ActivityMonitor.getInstance(project).registerScopeChanged(scope.toString())
85-
8681

8782
try {
8883
when (scope) {

0 commit comments

Comments
 (0)