Skip to content

Commit

Permalink
Remove CommentDialog ,ExternalLink,Update enums
Browse files Browse the repository at this point in the history
  • Loading branch information
hadia committed May 4, 2021
1 parent 815e756 commit 77e2fa2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 46 deletions.
9 changes: 0 additions & 9 deletions app/src/main/java/com/kickstarter/libs/AnalyticEvents.kt
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
package com.kickstarter.libs

import com.kickstarter.libs.KoalaContext.CommentDialog
import com.kickstarter.libs.KoalaContext.Comments
import com.kickstarter.libs.KoalaContext.ExternalLink
import com.kickstarter.libs.KoalaContext.Message
import com.kickstarter.libs.KoalaContext.Share
import com.kickstarter.libs.KoalaContext.Update
import com.kickstarter.libs.utils.AnalyticEventsUtils
import com.kickstarter.libs.utils.BooleanUtils
import com.kickstarter.libs.utils.ContextPropertyKeyName.CONTEXT_CTA
Expand Down Expand Up @@ -66,16 +60,13 @@ import com.kickstarter.libs.utils.EventName.VIDEO_PLAYBACK_COMPLETED
import com.kickstarter.libs.utils.EventName.VIDEO_PLAYBACK_STARTED
import com.kickstarter.libs.utils.ExperimentData
import com.kickstarter.libs.utils.checkoutProperties
import com.kickstarter.models.Activity
import com.kickstarter.models.Backing
import com.kickstarter.models.Project
import com.kickstarter.models.User
import com.kickstarter.services.DiscoveryParams
import com.kickstarter.services.apiresponses.PushNotificationEnvelope
import com.kickstarter.ui.data.CheckoutData
import com.kickstarter.ui.data.Editorial
import com.kickstarter.ui.data.LoginReason
import com.kickstarter.ui.data.Mailbox
import com.kickstarter.ui.data.PledgeData
import com.kickstarter.ui.data.PledgeFlowContext
import com.kickstarter.ui.data.ProjectData
Expand Down
37 changes: 0 additions & 37 deletions app/src/main/java/com/kickstarter/libs/KoalaContext.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,6 @@ package com.kickstarter.libs

class KoalaContext {

/**
* Determines the place from which the comments dialog was presented.
*
* PROJECT_ACTIVITY: The creator's project activity screen.
* PROJECT_COMMENTS: The comments screen for a project.
* UPDATE_COMMENTS: The comments screen for an update.
*/
enum class CommentDialog(val trackingString: String) {
PROJECT_ACTIVITY("project_activity"),
PROJECT_COMMENTS("project_comments"),
UPDATE_COMMENTS("update_comments")
}

/**
* Determines the place from which the comments were presented.
*
Expand All @@ -26,17 +13,6 @@ class KoalaContext {
UPDATE("update")
}

/**
* Determines the place from which the external link was presented.
*
* PROJECT_UPDATE: The project update page.
* PROJECT_UPDATES: The project updates page.
*/
enum class ExternalLink(val trackingString: String) {
PROJECT_UPDATE("project_update"),
PROJECT_UPDATES("project_updates")
}

/**
* Determines the place from where the Mailbox was presented.
*
Expand Down Expand Up @@ -88,17 +64,4 @@ class KoalaContext {
THANKS("thanks"),
UPDATE("update"),
}

/**
* Determines the place from which the Update was presented.
*
* UPDATES: The updates index.
* ACTIVITY: The activity feed.
* ACTIVITY_SAMPLE: The activity sample.
*/
enum class Update(val trackingString: String) {
UPDATES("updates"),
ACTIVITY("activity"),
ACTIVITY_SAMPLE("activity_sample")
}
}

0 comments on commit 77e2fa2

Please sign in to comment.