-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log analytic event on click open full screen code editor
- Loading branch information
1 parent
6798b7e
commit 1f899c7
Showing
9 changed files
with
58 additions
and
13 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
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
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
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
30 changes: 30 additions & 0 deletions
30
...ep_quiz/domain/analytic/StepQuizClickedOpenFullScreenCodeEditorHyperskillAnalyticEvent.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,30 @@ | ||
package org.hyperskill.app.step_quiz.domain.analytic | ||
|
||
import org.hyperskill.app.analytic.domain.model.hyperskill.HyperskillAnalyticAction | ||
import org.hyperskill.app.analytic.domain.model.hyperskill.HyperskillAnalyticEvent | ||
import org.hyperskill.app.analytic.domain.model.hyperskill.HyperskillAnalyticPart | ||
import org.hyperskill.app.analytic.domain.model.hyperskill.HyperskillAnalyticRoute | ||
import org.hyperskill.app.analytic.domain.model.hyperskill.HyperskillAnalyticTarget | ||
|
||
/** | ||
* Represents click on the button that triggers navigation to the full screen code editor analytic event. | ||
* | ||
* JSON payload: | ||
* ``` | ||
* { | ||
* "route": "/learn/step/1", | ||
* "action": "click", | ||
* "part": "code_editor", | ||
* "target": "full_screen_code_editor" | ||
* } | ||
* ``` | ||
* @see HyperskillAnalyticEvent | ||
*/ | ||
class StepQuizClickedOpenFullScreenCodeEditorHyperskillAnalyticEvent( | ||
route: HyperskillAnalyticRoute | ||
) : HyperskillAnalyticEvent( | ||
route, | ||
HyperskillAnalyticAction.CLICK, | ||
HyperskillAnalyticPart.CODE_EDITOR, | ||
HyperskillAnalyticTarget.FULL_SCREEN_CODE_EDITOR | ||
) |
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