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

Already on GitHub? Sign in to your account

Add auto trim for videos from device library using trimmerMaxDuration #515

Merged

Conversation

mendesbarreto
Copy link
Contributor

This commits adds the request from issue #341.

This case occurs when the user already has a video selected and enables a multiselection to pick more than one type of media (video or image), so, the trimmer step becomes optional.

This commits adds the feature request from issue Yummypets#341. This case occurs when the user already has a video selected and enables a multiselection to pick more than one type of media (video or image), so, the trimmer step becomes optional.
@Ludotrico
Copy link

Ludotrico commented Jul 27, 2020

Has this feature been implemented? It is crucial functionality. @mendesbarreto @heitara

Copy link
Contributor

@heitara heitara left a comment

Choose a reason for hiding this comment

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

It would be best if all the white-spaces are not changed, because this will reduce the diff file massively.

@mendesbarreto
Copy link
Contributor Author

It would be best if all the white-spaces are not changed because this will reduce the diff file massively.

About that, When I push some commit to GitHub I have a script which runs automatically some swiftlint rules like white spaces. I will try to remove what it has done.

@mendesbarreto
Copy link
Contributor Author

It would be best if all the white-spaces are not changed because this will reduce the diff file massively.

@heitara I tried to remove all the changes Swiftlint did on the code, I tried my best but how the project does not have any spacing pattern, some times the lines have space other not, it makes hard to guess, after my last commit.

But It's done =) . If you want the next pull request we can put Swiftlint and you can define what kind of rules you like or not on the project, it will simply the contribution workflow and avoid this kind of problem and of course, this will increase the cohesion of your codebase.

Thx

@heitara
Copy link
Contributor

heitara commented Jul 27, 2020

Completely agree. Code style refactoring should be done in separate commit without any functionality change.

@Ludotrico
Copy link

I am new to the concept of pull requests. Will there be some sort of notification when this branch is merged into the master? Will cocoa pods automatically add the new code to an existing Xcode project?
@heitara @mendesbarreto

@mendesbarreto
Copy link
Contributor Author

I am new to the concept of pull requests. Will there be some sort of notification when this branch is merged into the master? Will cocoa pods automatically add the new code to an existing Xcode project?
@heitara @mendesbarreto

Hello @Ludotrico, To receive a notification when a new version is available you can go to "Watch" option at the header of the site and choose the option "release only" or to receive all notification you can choose the option "Watching"

Screen Shot 2020-07-27 at 5 51 38 PM

@Ludotrico
Copy link

Ludotrico commented Jul 28, 2020

Thanks, just did that.
Will cocoa pods automatically add the newly merged code to an existing Xcode project?
@mendesbarreto

@mendesbarreto
Copy link
Contributor Author

Thanks, just did that.
Will cocoa pods automatically add the newly merged code to an existing Xcode project?
@mendesbarreto

@Ludotrico it will depend on how you wrote this dependency in your file, I believe the next pod version will be v4.3.0, so, if you wrote like this:

pod 'YPImagePicker' 
#OR
pod 'YPImagePicker' ~> 4.2

The next time you run pod update the lib will be updated

@Ludotrico
Copy link

Thank you for the clarification, now what is the procedure to get it merged? I see that NikKovlos has approved it, how many more approvals does it require? Who can approve it?
@mendesbarreto

@mendesbarreto
Copy link
Contributor Author

Hello Guys,

I can't merge because I don't have any write access to the repo:

Screen Shot 2020-08-03 at 10 03 41 AM

Thx you all.

@NikKovIos
Copy link
Collaborator

@s4cha must approve it too

@s4cha
Copy link
Member

s4cha commented Aug 4, 2020

Great work 🤩

@s4cha s4cha merged commit 9cabe12 into Yummypets:master Aug 4, 2020
@Ludotrico
Copy link

Ludotrico commented Aug 4, 2020

atta boy @mendesbarreto

LucasDang pushed a commit to pukapp/secret-ios-YPImagePicker that referenced this pull request Feb 10, 2022
…library-videos

Add auto trim for videos from device library using trimmerMaxDuration
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

5 participants