Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pause fix #103

Merged
merged 6 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pluginVersion = 0.0.1

# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild = 223
pluginUntilBuild = 233.*
pluginUntilBuild = 242

# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
platformType = IC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ object TaskFileHandler {
}
}

fun disposeAllTasks() {
projectToTaskToFiles.forEach { (project, projectFiles) ->
projectFiles.keys.forEach {
disposeTask(project, it)
}
}
}

// TODO not forget to remove from document loggers hashmap, flush data
fun disposeTask(project: Project, task: Task) {
projectToTaskToFiles[project]?.let {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ fun Panel.processScenario() {
fun Panel.stopTracking() {
TaskTrackerPlugin.mainConfig.scenarioConfig?.scenario?.reset()
loadBasePage(LoadTemplate())
TaskFileHandler.disposeAllTasks()
ApplicationManager.getApplication().invokeLater {
trackingService.stopTracking(::finalPage, ::serverErrorPage)
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
pluginName: "Kotlin Refactoring course"
pluginDescription: "We want to track your progress through the kotlin refactoring course in order to collect data on file changes during the course completion. Please, when you are ready, press the next button."
researchId: "Kotlin Refactoring"
pluginName: "Kotlin Introduction"
pluginDescription: "We want to track your progress through the kotlin introduction course in order to collect data on file changes during the course completion. Please, when you are ready, press the next button."
researchId: "Kotlin Introduction"
logs:
- logPaths:
- "edu-assistant/eduAssistant.log"
- "edu-assistant/hintTiming.log"
- "edu-assistant/taskAnalysisTiming.log"
type: "assistant"
isInPluginDirectory: true
Loading
Loading