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

목표 상세 완료 다이얼로그 #83

Merged
merged 14 commits into from
Feb 21, 2025

Conversation

murjune
Copy link
Member

@murjune murjune commented Feb 21, 2025

  • lottie libs 추가했습니다

  • CompleteDialog UI 구현했습니다

  • ViewModel에서 goalUiEvent 를 추가했습니다!

  • init{} 에서 goal 상태를 관찰해서 uiEvent를 발행하도록 구현했습니다

    • drop(1) 을 통해 첫 번째 goal 은 무시
    • 그 이후, Goal 의 isCompleted 이 변경될 때마다 Event를 방출하도록 구현했습니다~
  • 목표 달성 버튼을 여러 번 빠르게 누를 경우, SnackBar 와 다이얼로그가 반복해서 뜨는 이슈가 있었습니다.

    • onShowSnackBar()remeberCoroutineScope 를 감싸주고, dialog를 보여줄 때 cancel 시켜주었습니다~
Screen_Recording_20250222_012744_dobedobe.mp4

@murjune murjune self-assigned this Feb 21, 2025
@murjune murjune marked this pull request as ready for review February 21, 2025 16:46
Base automatically changed from feat/goal-detail-diaog to develop February 21, 2025 17:13
@murjune murjune merged commit c7d8fad into develop Feb 21, 2025
1 check passed
@murjune murjune deleted the feat/goal-detail-complete-dialog branch February 21, 2025 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants