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

Feat/add singing list edit view #90

Merged
merged 6 commits into from
Sep 29, 2022
Merged

Conversation

junginyu
Copy link
Collaborator

@junginyu junginyu commented Sep 28, 2022

작업사항

Simulator Screen Recording - iPhone 14 Pro - 2022-09-28 at 22 42 52

  • 편집 버튼 활성화 UI 구현 완료

추가해야될 사항

  • 리스트 내 노래 삭제 함수 필요(노래 자체가 삭제되는 것이 아닌 리스트 내에서만 삭제)
  • 리스트 이름 변경 시 기존 리스트 이름만 업데이트하는 함수 필요
  • 편집 중에 X버튼 터치시 저장하는지 물어보는 알림 기능 구현
  • 편집 버튼 활성화될 떄 delete 버튼 애니메이션 효과가 안 나타남(해결해야될 버그)
  • 키보드 활성화되었을 때 view가 함께 밀려 올라감(ignoresafearea(.keyboard)로도 해결이 안됨)
  • 리스트 이름 편집 후 완료했을 때 저장되어야함�

이슈 번호

#89

@junginyu junginyu self-assigned this Sep 28, 2022
@junginyu junginyu added ✨ Feature 기능 추가 🐞 Bug 버그 나왔어요! labels Sep 28, 2022
Copy link
Collaborator

@Anti9uA Anti9uA left a comment

Choose a reason for hiding this comment

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

리뷰 완료했고 이게 머지되야 브랜치 바탕으로 뷰 리프레쉬 작업 다시 들어갈거 같습니당. 고생하셨어용

SongListCellView(songEditButtonTap: $songEditButtonTap, song: $0)
Divider()
.background(Color.grayScale6)
.frame(width: 350)
}
.padding(.top, 10)
AddSongButtonView()
// TODO: - 이후 업데이트에서 새 노래 추가가 아닌 기존 노래 추가로 기능 변경
// AddSongButtonView()
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 Author

@junginyu junginyu Sep 29, 2022

Choose a reason for hiding this comment

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

노래 추가하는 버튼을 나중에 기존 노래 추가로 변경할 예정이라 일단은 주석으로 남겨둘게요!!

@@ -16,17 +16,21 @@ extension View {
/// - Parameter isEditing: 텍스트 필드 편집 여부 확인
/// - Parameter isFull: 텍스트 필드 공백 여부 확인
/// - Returns: 텍스트 필드 뷰
func underlineTextField(isEditing : Bool, isFull: Bool) -> some View {
func underlineTextField(isEditing : Bool, isFull: Bool, inset: CGFloat, active: Bool = true) -> some View {
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 Author

Choose a reason for hiding this comment

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

이거 리스트 이름 편집하는 곳에서 언더라인 쓰고 싶은데 글자 크기 커지니까 라인이랑 텍스트랑 너무 붙어있어서 inset이라는 파라미터 추가했어!
active는 리스트에서 언더라인이 편집시에만 나타나야되서 추가한 파라미터야
주석으로 파라미터 설명 추가할게!!

Comment on lines 15 to 16
@Binding var listEditButtonTap: Bool
@Binding var songEditButtonTap: Bool
Copy link
Collaborator

Choose a reason for hiding this comment

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

이거 지금봤는데 네이밍을 Tap대신에 탭이 된거니깐 Tapped는 어때?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

반영하겠습니당~

Copy link
Collaborator

@Eunbi-Cho Eunbi-Cho left a comment

Choose a reason for hiding this comment

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

와우 뷰를 찍어내는군요 공장장님!
수고많으셨어요~!

@junginyu junginyu merged commit 331bd43 into develop Sep 29, 2022
@junginyu junginyu deleted the feat/AddSingingListEditView branch September 29, 2022 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature 기능 추가 🐞 Bug 버그 나왔어요!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants