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] 터치 미션을 구현합니다. #200

Merged
merged 18 commits into from
Mar 26, 2025
Merged

Conversation

MoonsuKang
Copy link
Member

@MoonsuKang MoonsuKang commented Mar 19, 2025

Related issue 🛠

closed #195

어떤 변경사항이 있었나요?

  • 🐞 BugFix Something isn't working
  • 🎨 Design Markup & styling
  • 📃 Docs Documentation writing and editing (README.md, etc.)
  • ✨ Feature Feature
  • 🔨 Refactor Code refactoring
  • ⚙️ Setting Development environment setup
  • ✅ Test Test related (Junit, etc.)

CheckPoint ✅

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • PR 컨벤션에 맞게 작성했습니다. (필수)
  • merge할 브랜치의 위치를 확인해 주세요(main❌/develop⭕) (필수)
  • Approve된 PR은 assigner가 머지하고, 수정 요청이 온 경우 수정 후 다시 push를 합니다. (필수)
  • BugFix의 경우, 버그의 원인을 파악하였습니다. (선택)

Work Description ✏️

  • 클릭 미션 추가
  • core:remoteconfig 모듈 구현
  • Firebase Remote Config 기반으로 미션 타입을 설정할 수 있도록 기능 추가
  • Amplitude 로깅에 올바른 미션 타입 반영
  • Random을 통해 MissionType 무작위 설정을 Firebase Remote Configalarm_mission_type 파라미터를 기반으로
    "tap_mission" 또는 "shake_mission" 값을 받아와 MissionType을 동적으로 설정했음.

로직 흐름도

앱 실행

ViewModel 초기화 시 fetchAndActivate()

RemoteConfig에서 alarm_mission_type 값 수신

도메인의 MissionType.fromRemoteValue()를 통해 Enum 매핑

ViewModel의 State(missionType)에 반영

MissionProgressScreen에서 미션 UI 분기 처리

Uncompleted Tasks 😅

  • Task1

To Reviewers 📢

  • MissionType.fromRemoteValue 함수는 확장 가능성을 고려해 sealed class로 설계했습니다.

Copy link
Member

@DongChyeon DongChyeon left a comment

Choose a reason for hiding this comment

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

굿굿 고생하셨습니다

@MoonsuKang MoonsuKang merged commit 06c504b into develop Mar 26, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 터치 미션을 구현합니다.
2 participants