-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
…i-finish # Conflicts: # app/src/main/java/com/spoony/spoony/presentation/main/MainNavigator.kt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!
조금 중요한 부분이 있어서 Request changes 했으니 후딱 반영하고 이야기 해보아욥!
var reportSuccessDialogVisibility by remember { mutableStateOf(false) } | ||
|
||
if (reportSuccessDialogVisibility) { | ||
ReportCompleteDialog( | ||
onClick = onConfirmButton, | ||
onDismiss = { | ||
reportSuccessDialogVisibility = false | ||
} | ||
) | ||
} |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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일 때에는 화면 이동을 하지 않아도 괜찮나요??
이 부분은 명세 확인 부탁드려요 :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 생각해봤는데 제 생각에도 Dialog 는 Screen 에서 Route 로 빼두는게 깔끔할 것 같습니다! 해당 방식대로 수정했습니다 확인 부탁드려요!
- 명세서 확인해보니 백드롭 불가라 일단 onDismiss 부분 제외했습니다. onConfirmButton 에 reportSuccessDialogVisibility = false 추가완료했습니다 감사합니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저도 동의합니다. 저는 레이어를 생각하고, 현재 스크린 위에 그려진다고 보면 더 명확한 것 같아요.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
어푸푸!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다
Related issue 🛠
Work Description ✏️
Screenshot 📸
report.mp4
To Reviewers 📢