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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

EP-261/Android: Video Playback Started #1172

Merged
merged 20 commits into from
Mar 18, 2021
Merged

Conversation

hadia
Copy link
Contributor

@hadia hadia commented Mar 18, 2021

馃摬 What

add Video Playback Started segment event

馃 Why

A user clicks the play button on the main video on a project page

馃洜 How

Add video Properties
Screen Shot 2021-03-18 at 5 27 26 PM

Add Event Handler in Video ViewModel
image

Update project property "Launched_at" and Deadline to time stamp to solve violations
image

Add test
image

馃憖 See

image

馃搵 QA

open Project and click the video Play button

Story 馃摉

https://kickstarter.atlassian.net/browse/EP-261

@@ -0,0 +1,65 @@
package com.kickstarter.viewmodels
Copy link
Contributor

Choose a reason for hiding this comment

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

馃コ more migrations to Kotlin! 馃憦

@@ -475,6 +475,31 @@ class LakeTest : KSRobolectricTestCase() {
this.lakeTest.assertValues("Project Page Pledge Button Clicked")
}

@Test
fun testVideoProperties() {
Copy link
Contributor

@Arkariang Arkariang Mar 18, 2021

Choose a reason for hiding this comment

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

This is great @hadia is perfect! just a small thing, can you move this test from LakeTest to SegmentTest or duplicate it on SegmentTest?, Lake client will be deleted some time in the near future alongside with the tests for it, so no real need unless some test fails on keep it updated

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure

Copy link
Contributor

@Arkariang Arkariang left a comment

Choose a reason for hiding this comment

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

馃弳 looks great!

@hadia hadia merged commit d7dba59 into master Mar 18, 2021
@hadia hadia deleted the hadia/event_Video_Playback_Started branch March 18, 2021 23:20
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.

None yet

2 participants