Skip to content

Add isVideo check, similar to isImage #15

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 31, 2021
Merged

Add isVideo check, similar to isImage #15

merged 1 commit into from
Aug 31, 2021

Conversation

Bestra
Copy link
Contributor

@Bestra Bestra commented Aug 30, 2021

In https://github.com/github/github/pull/162936 we added an isVideo function to a downstream file, mentioning that we should eventually put it into file-attachment-element.
https://github.com/github/github/blob/8c9b18cf24713d8be3888f31205ec43ff9f8e7a0/app/assets/modules/github/behaviors/commenting/markdown.ts#L38-L42

There's nothing depending on this change yet. I'm drafting some other changes and figured I'd take a shot at it while I was here.

@Bestra Bestra force-pushed the bestra/add-is-video branch from 491617c to 79895d6 Compare August 30, 2021 21:34
@Bestra Bestra marked this pull request as ready for review August 30, 2021 21:34
@Bestra Bestra requested a review from a team as a code owner August 30, 2021 21:34
@Bestra Bestra requested review from koddsson and manuelpuyol August 30, 2021 21:34
Copy link
Contributor

@dgreif dgreif 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, thanks for getting this upstreamed!

@Bestra Bestra merged commit f76fcae into main Aug 31, 2021
@Bestra Bestra deleted the bestra/add-is-video branch August 31, 2021 10:30
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.

2 participants