Skip to content

basic tab attach uploads with edx_video_id - #18032

Merged
muhammad-ammar merged 2 commits into
ammar/add-check-transcript-ajax-on-basic-tabfrom
ammar/EDUCATOR-2761-basic-tab-upload-edx-video-id
May 3, 2018
Merged

basic tab attach uploads with edx_video_id#18032
muhammad-ammar merged 2 commits into
ammar/add-check-transcript-ajax-on-basic-tabfrom
ammar/EDUCATOR-2761-basic-tab-upload-edx-video-id

Conversation

@muhammad-ammar

Copy link
Copy Markdown
Contributor

EDUCATOR-2761

@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@muhammad-ammar
muhammad-ammar force-pushed the ammar/EDUCATOR-2761-basic-tab-upload-edx-video-id branch from a051525 to aa4face Compare April 24, 2018 13:26
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@muhammad-ammar
muhammad-ammar force-pushed the ammar/EDUCATOR-2761-basic-tab-upload-edx-video-id branch from aa4face to eef8f27 Compare April 25, 2018 06:52
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@muhammad-ammar

Copy link
Copy Markdown
Contributor Author

jenkins run bokchoy

@muhammad-ammar

Copy link
Copy Markdown
Contributor Author

jenkins run a11y

@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@mushtaqak mushtaqak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me 👍

edx_video_id=non_existant_edx_video_id
)
# Verify the response
self.assert_response(response, expected_status_code=400, expected_message='Invalid Video ID')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice 👍

validated_data.update({
'video': video,
'edx_video_id': clean_video_id(video.edx_video_id),
'edx_video_id': clean_video_id(edx_video_id) or clean_video_id(video.edx_video_id),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we have success scenario test written for edx_video_id coming from video.edx_video_id but not from the request data.

'js/views/video/transcripts/utils'
],
function($, Backbone, _, Utils) {
function($, Backbone, _, TranscriptUtils) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This wasn't previously being used ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes

@muhammad-ammar
muhammad-ammar force-pushed the ammar/EDUCATOR-2761-basic-tab-upload-edx-video-id branch from eef8f27 to b2f40cd Compare April 25, 2018 14:39
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@muhammad-ammar
muhammad-ammar force-pushed the ammar/add-check-transcript-ajax-on-basic-tab branch from d7b5b6b to 88c2a08 Compare April 26, 2018 04:01
@muhammad-ammar
muhammad-ammar force-pushed the ammar/EDUCATOR-2761-basic-tab-upload-edx-video-id branch from b2f40cd to df8cfed Compare April 26, 2018 04:02
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@muhammad-ammar
muhammad-ammar force-pushed the ammar/EDUCATOR-2761-basic-tab-upload-edx-video-id branch from df8cfed to 629efd8 Compare April 26, 2018 06:39
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@muhammad-ammar

Copy link
Copy Markdown
Contributor Author

@mushtaqak feedback addressed plus added jasmine tests

@muhammad-ammar
muhammad-ammar force-pushed the ammar/add-check-transcript-ajax-on-basic-tab branch from 88c2a08 to 388649b Compare April 27, 2018 06:06
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@muhammad-ammar
muhammad-ammar force-pushed the ammar/add-check-transcript-ajax-on-basic-tab branch from 388649b to 35611e7 Compare April 30, 2018 12:52
@muhammad-ammar
muhammad-ammar force-pushed the ammar/EDUCATOR-2761-basic-tab-upload-edx-video-id branch from 9556ce2 to 5d218e7 Compare April 30, 2018 12:55
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@muhammad-ammar
muhammad-ammar force-pushed the ammar/add-check-transcript-ajax-on-basic-tab branch from 4ce3382 to c02955d Compare May 2, 2018 13:24
@muhammad-ammar
muhammad-ammar force-pushed the ammar/EDUCATOR-2761-basic-tab-upload-edx-video-id branch from 5d218e7 to 84ab9ca Compare May 2, 2018 13:26
@edx-status-bot

Copy link
Copy Markdown

Your PR has finished running tests.

@muhammad-ammar
muhammad-ammar merged commit b456b24 into ammar/add-check-transcript-ajax-on-basic-tab May 3, 2018
@UmanShahzad
UmanShahzad deleted the ammar/EDUCATOR-2761-basic-tab-upload-edx-video-id branch May 9, 2018 20:42
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.

3 participants