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/#103] 신고하기 페이지 대략적인 UI 마무리 #108

Merged
merged 5 commits into from
Jan 21, 2025

Conversation

Roel4990
Copy link
Member

Related issue 🛠

Work Description ✏️

  • 신고 완료 후 Dialog 구현
  • 신고하기 navigation 수정
  • 신고하기 버튼 상태 관리

Screenshot 📸

report.mp4

To Reviewers 📢

@Roel4990 Roel4990 added 🧡세홍🧡 🧡세홍🧡 FEAT✨ 새로운 기능 구현 labels Jan 21, 2025
@Roel4990 Roel4990 self-assigned this Jan 21, 2025
@Roel4990 Roel4990 requested a review from a team as a code owner January 21, 2025 18:31
@Roel4990 Roel4990 linked an issue Jan 21, 2025 that may be closed by this pull request
1 task
…i-finish

# Conflicts:
#	app/src/main/java/com/spoony/spoony/presentation/main/MainNavigator.kt
Copy link
Collaborator

@chattymin chattymin left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!
조금 중요한 부분이 있어서 Request changes 했으니 후딱 반영하고 이야기 해보아욥!

Comment on lines 85 to 94
var reportSuccessDialogVisibility by remember { mutableStateOf(false) }

if (reportSuccessDialogVisibility) {
ReportCompleteDialog(
onClick = onConfirmButton,
onDismiss = {
reportSuccessDialogVisibility = false
}
)
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

p3) 저는 Dialog가 Screen이 아니라고 생각해요.
해당 화면에서의 state가 변경되어 화면 전환 없이 내부 요소가 바뀌는게 Screen이라고 생각해서 저는 Dialog를 Route에 두는 편이에요. 어떻게 생각하시나요?? @Roel4990 @Hyobeen-Park @angryPodo

Copy link
Collaborator

Choose a reason for hiding this comment

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

p1) onConfirmButton에도 reportSuccessDialogVisibility = false 코드를 작성해주세요!
화면이 이동되는데 dialog가 남아있으니 어색합니다.

또한 onDismiss일 때에는 화면 이동을 하지 않아도 괜찮나요??
이 부분은 명세 확인 부탁드려요 :)

Copy link
Member Author

Choose a reason for hiding this comment

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

  1. 생각해봤는데 제 생각에도 Dialog 는 Screen 에서 Route 로 빼두는게 깔끔할 것 같습니다! 해당 방식대로 수정했습니다 확인 부탁드려요!
  2. 명세서 확인해보니 백드롭 불가라 일단 onDismiss 부분 제외했습니다. onConfirmButton 에 reportSuccessDialogVisibility = false 추가완료했습니다 감사합니다!

Copy link
Collaborator

Choose a reason for hiding this comment

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

저도 동의합니다. 저는 레이어를 생각하고, 현재 스크린 위에 그려진다고 보면 더 명확한 것 같아요.

@Roel4990 Roel4990 requested a review from chattymin January 21, 2025 19:10
Copy link
Collaborator

@chattymin chattymin left a comment

Choose a reason for hiding this comment

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

LGTM~

Copy link
Collaborator

@Hyobeen-Park Hyobeen-Park left a comment

Choose a reason for hiding this comment

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

어푸푸!!

Copy link
Collaborator

@angryPodo angryPodo left a comment

Choose a reason for hiding this comment

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

고생하셨습니다

@Roel4990 Roel4990 merged commit d2d33ce into develop Jan 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FEAT✨ 새로운 기능 구현 🧡세홍🧡 🧡세홍🧡
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 신고하기 페이지 Dialog, Button 상태 관리하기
4 participants