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/#63] 메인-문답-답변 API 연결 #69

Merged
merged 30 commits into from
Jul 17, 2023
Merged

[Feat/#63] 메인-문답-답변 API 연결 #69

merged 30 commits into from
Jul 17, 2023

Conversation

ss99x2002
Copy link
Member

@ss99x2002 ss99x2002 commented Jul 16, 2023

🎀 Related Issues

close #63

🤔 What Did You Do

  • 메인 - 문답 API 명세서 변동사항 적용 (ResponseCode 한번 끊고가기)
  • 답변 전송 API 연결
  • 답변 확인 Dialog 답변 미입력시 안뜨게 하기
  • 답변 확인 Dialog 답변 텍스트 가운데 정렬
  • 이전 뷰 데이터 가져와서 뷰에 set 하기
  • index 관련 data 가져오기 (서버 건의사항 확인 후 반영)
  • 답변 입력 글자수 100자로 바꾸기
  • content-Type 빼도 괜찮은지 테스트하기
  • switch 문구 변경 (on/off)

⁉️ etc

  • 한 이슈에 우다다 했는데.. 계속 변동사항이 있고, 테스트가 필요한 부분이 있습니다.

  • 리스트 api 연결 pr 올리기 위해서 지금 올립니다! 테스트 후 수정 필요한 부분들은 새로 이슈파서 작성하도록 하겠습니다.

ss99x2002 added 29 commits July 15, 2023 19:12
@ss99x2002 ss99x2002 requested a review from yeoncheong July 16, 2023 12:36
@ss99x2002 ss99x2002 self-assigned this Jul 16, 2023
@ss99x2002 ss99x2002 added feature 기능 개발 서현 labels Jul 16, 2023
Copy link
Contributor

@yeoncheong yeoncheong left a comment

Choose a reason for hiding this comment

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

너무 잘했어요~~
신경 쓴 부분도 많이 보이고 꼼꼼하게 해주시는 것 같아서 좋습니다 👍
수고 많으셨습니다!!

Comment on lines +17 to +26
@SerialName("response_case")
val responseCase: Int,
@SerialName("invite_code")
val inviteCode: String?,
@SerialName("invite_username")
val inviteUserName: String?,
@SerialName("install_url")
val installUrl: String?,
@SerialName("relative_user_active")
val relativeUserActive: Boolean?
Copy link
Contributor

Choose a reason for hiding this comment

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

언더바 뺀거 아주 좋습니다. 명세서가 있다고 완전히 똑같이 네이밍하지 않아도 되기 때문이죠!!
저희는 변수명에 언더바를 넣지 않기 때문에 너무 잘 하셨습니다 👍

@@ -70,7 +70,7 @@
app:chipMinHeight="26dp"
app:textEndPadding="12dp"
app:textStartPadding="12dp"
tools:text="# 타임머신" />
android:text="# 어린 시절" />
Copy link
Contributor

Choose a reason for hiding this comment

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

이 부분 텍스트 추출 함 합시다!!

Copy link
Member Author

Choose a reason for hiding this comment

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

네넵

Comment on lines +57 to +61
val clipboard: ClipboardManager =
requireActivity().getSystemService(CLIPBOARD_SERVICE) as ClipboardManager
val clip = ClipData.newPlainText("label", binding.tvInviteCode.text)
clipboard.setPrimaryClip(clip)
Toast.makeText(requireActivity(), "초대 코드가 복사되었습니다", Toast.LENGTH_SHORT).show()
Copy link
Contributor

Choose a reason for hiding this comment

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

클립보드 써본적이 없었는데 생각보다 간단하고 코드가 너무 깔끔하네요
저도 배워갑니다!!

@ss99x2002 ss99x2002 merged commit 9d03b5c into develop Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 기능 개발 서현
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat] 메인-문답-답변 API 연결
2 participants