Skip to content

[REFACTOR/#1528] Network Error Dialog 통합#1531

Open
seungjunGong wants to merge 8 commits intodevelopfrom
refactor/#1528-common-error-dialog
Open

[REFACTOR/#1528] Network Error Dialog 통합#1531
seungjunGong wants to merge 8 commits intodevelopfrom
refactor/#1528-common-error-dialog

Conversation

@seungjunGong
Copy link

Related issue 🛠

Work Description ✏️

  • 공통 NetworkErrorDialog 구현
  • FortuneDetailErrorDialog 대체
  • PokeErrorDialog 대체
  • stamp NetworkErrorDialog 대체
  • HomeErrorDialog 대체
  • SoptLogErrorDialog 대체

Screenshot 📸

공통 NetworkErrorDialog FortuneDetailErrorDialog PokeErrorDialog stamp NetworkErrorDialog HomeErrorDialog SoptLogErrorDialog

Uncompleted Tasks 😅

  • N/A

To Reviewers 📢

Soptamp Dialog의 경우에만 다이얼로그 색상이 다르게 적용되어 있었습니다.
네트워크 에러 다이얼로그는 공통적으로 사용하는 것이 더 적절하다고 판단하여, 전체적으로 동일한 스타일로 통일해 수정해두었습니다.

이 방향으로 진행해도 괜찮을지 확인 해주시면 감사하겠습니다 !

…ialog

- Remove `FortuneDetailErrorDialog.kt` from the fortune feature.
- Update `FortuneDetailScreen.kt` to use the shared `NetworkErrorDialog` component for handling error states.
- Remove local `ErrorDialog` and `NetworkErrorDialog` implementations in `feature/soptamp`.
- Migrate to `org.sopt.official.designsystem.component.dialog.NetworkErrorDialog`.
- Update `onRetry` callback parameter to `onConfirm` across mission and ranking screens.
- Remove `SoptLogErrorDialog` from `feature/soptlog`.
- Update `SoptLogScreen` to use the common `NetworkErrorDialog` from the design system.
- Update copyright year range to 2026 across multiple modules
- Add missing MIT license header to `NetworkErrorDialog.kt`
@seungjunGong seungjunGong requested a review from a team as a code owner March 18, 2026 01:10
@seungjunGong seungjunGong added this to the 38th Android milestone Mar 18, 2026
@seungjunGong seungjunGong removed the request for review from a team March 18, 2026 01:22
.background(color = colors.background.copy(alpha = 0.55f)),
) {
Dialog(onDismissRequest = onCheckClick) {
Dialog(
Copy link
Contributor

Choose a reason for hiding this comment

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

공통 컴포넌트로 OneButtonDialog가 있어서 그거 사용해주면 더 좋을 것 같아요!

Copy link
Member

@1971123-seongmin 1971123-seongmin left a comment

Choose a reason for hiding this comment

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

드디어 하나로 통합되었네요. 고생하셨어요 🙂🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[REFACTOR] Error Dialog 통합

3 participants