Skip to content

Conversation

@dixidroid
Copy link
Contributor

Description

I have removed the extra space after the colon in Payment Events, ensuring consistency with the other analytics.

  • Add missing events after the parity with the iOS Platform app.
  • Code improvements to restrict the event triggered against the user action.
  • Fix test cases.

# Conflicts:
#	dashboard/src/main/java/org/openedx/learn/presentation/LearnFragment.kt
) : BaseViewModel() {
private val _uiState = MutableStateFlow(
LearnUIState(
if (openTab == LearnTab.PROGRAMS.name) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about using valueOf to convert a string to an enum instead of using if?

Copy link
Contributor

@PavloNetrebchuk PavloNetrebchuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@volodymyr-chekyrta
Copy link
Contributor

@dixidroid, please resolve conflicts

# Conflicts:
#	course/src/test/java/org/openedx/course/presentation/container/CourseContainerViewModelTest.kt
@volodymyr-chekyrta volodymyr-chekyrta merged commit 7b5bf2b into openedx:develop Dec 2, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants