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

bug: 업로드 안되는 버그 및 업로드 화면 개선 #272

Merged
merged 6 commits into from
Dec 10, 2023

Conversation

anyukyung
Copy link
Member

@anyukyung anyukyung commented Dec 9, 2023

🧑‍🚀 PR 요약

해당 pr에서 작업한 내역을 적어주세요.

  • videoEdit 뷰에서 실제 Editor로 진입시 영상 멈추기, 다시 videoEdit으로 돌아갈 경우 play
  • videoEditor로 영상 편집 후 해당 영상에 기존 mute 여부 반영하기
  • 앗차차, 그리고 편집한 영상 url을 datastore에 반영을 안하고 있었더라고요 지금까지는 편집했어도 원본 영상으로 올라갔을텐데,, 이것도 수정했습니다
RPReplay_Final1702147015.MP4

  • UTType으로 헤더에 mimeType 담아 보내기 → 아직까지 모든 테스트 성공
guard let mimeType = UTType(filenameExtension: fromFile.pathExtension)?.preferredMIMEType else { throw NetworkError.unknown }
request.setValue(mimeType, forHTTPHeaderField: "Content-Type")

  • root뷰컨 변경사항으로 프로그레스바 안보이던 버그 수정
  • toast 애니메이션 수정 → fade in, out 되도록 수정했습니다
RPReplay_Final1702147182.MP4

  • 영상 길이 충족 안할시 토스트 추가

IMG_6499

Linked Issue

close #268

Copy link
Collaborator

@chopmozzi chopmozzi left a comment

Choose a reason for hiding this comment

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

고생하셨습니다! 이전 프로젝트 현황 공유에서 위치가 영어면 글씨들이 넘치는 부분이 있었는데 이 부분도 케어가능하실까요?

@@ -159,9 +161,10 @@ class Provider: ProviderType {
sessionTaskDelegate: URLSessionTaskDelegate? = nil,
delegateQueue: OperationQueue? = nil) async throws -> Data {
guard let url = URL(string: url) else { throw NetworkError.components }
guard let mimeType = UTType(filenameExtension: fromFile.pathExtension)?.preferredMIMEType else { throw NetworkError.unknown }
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

Copy link
Collaborator

Choose a reason for hiding this comment

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

이거 프로필 사진 업로드에도 사용해야겠어요. 감사합니다.

Comment on lines +56 to +63
UIView.animate(withDuration: 0.3, delay: 0.5, options: .curveEaseOut, animations: {
toastLabel.alpha = 1.0
}, completion: { _ in
toastLabel.removeFromSuperview()
UIView.animate(withDuration: 1.0, delay: 1.0, options: .curveEaseOut, animations: {
toastLabel.alpha = 0.0
}, completion: { _ in
toastLabel.removeFromSuperview()
})
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

@@ -155,7 +173,12 @@ extension EditVideoViewController: EditVideoDisplayLogic {
loopStart: .zero,
duration: viewModel.duration)
loopingPlayerView.play()
loopingPlayerView.player?.isMuted = soundButton.isSelected
Copy link
Collaborator

Choose a reason for hiding this comment

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

오...

Copy link
Collaborator

@loinsir loinsir left a comment

Choose a reason for hiding this comment

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

고생하셨습니다~ approve 하겠습니다~

@anyukyung
Copy link
Member Author

anyukyung commented Dec 10, 2023

@chopmozzi 주소 길어질 경우 글자크기가 줄어들도록 변경해놓았습니다 !

@anyukyung anyukyung merged commit e331bec into iOS/dev Dec 10, 2023
1 check passed
@anyukyung anyukyung deleted the iOS/bug#268 branch December 10, 2023 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: 간헐적으로 업로드되지 않는 버그
3 participants