generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML4SE-137] Refactored system to use EmotionConfig
- Loading branch information
mikrise2
committed
Oct 11, 2023
1 parent
82a8f92
commit 2ed00af
Showing
18 changed files
with
83 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 0 additions & 63 deletions
63
...ugin/src/main/kotlin/org/jetbrains/research/tasktracker/actions/emoji/EmojiActionIcons.kt
This file was deleted.
Oops, something went wrong.
7 changes: 4 additions & 3 deletions
7
...in/src/main/kotlin/org/jetbrains/research/tasktracker/actions/emoji/EmojiDialogWrapper.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
163 changes: 0 additions & 163 deletions
163
ijPlugin/src/main/kotlin/org/jetbrains/research/tasktracker/actions/emoji/EmotionType.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
ijPlugin/src/main/kotlin/org/jetbrains/research/tasktracker/config/emoji/DefaultEmotion.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package org.jetbrains.research.tasktracker.config.emoji | ||
|
||
// TODO make 2 config types? | ||
object DefaultEmotion : Emotion( | ||
-1, | ||
"DEFAULT", | ||
listOf("New beginnings bring the promise of unexplored opportunities and the chance to create a brighter future."), | ||
listOf( | ||
buildString { | ||
append("<p>Here, you’ll find advice on handling your current emotions.</p>") | ||
append("<p>Since you just started, we haven’t tracked your emotions yet.</p>") | ||
append("<p>Please check back later!</p>") | ||
} | ||
) | ||
) { | ||
override val iconName: String | ||
get() = "sun_with_face.png" | ||
override val modalWindowIconName: String | ||
get() = "modal_sun_with_face.png" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.