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

[chore] 불필요한 코드 제거 #277

Merged
merged 15 commits into from
Oct 13, 2024
Merged

[chore] 불필요한 코드 제거 #277

merged 15 commits into from
Oct 13, 2024

Conversation

jihyunniiii
Copy link
Contributor

Related issue 🛠

Work Description ✏️

  • 불필요한 코드를 제거하고 코드를 정렬하였습니다.
  • README.md를 업데이트 하였습니다.
  • 개발서버와 운영서버를 분리하였습니다.

Screenshot 📸

N/A

Uncompleted Tasks 😅

  • N/A

To Reviewers 📢

  • 자잘한 수정사항이 많습니다. 충돌 해결할 때 조심해주세요.
  • local.properties 수정 필요합니다. 따로 전달드릴게요.

# Conflicts:
#	app/src/main/java/org/sopt/dateroad/data/repositoryimpl/CourseRepositoryImpl.kt
#	app/src/main/java/org/sopt/dateroad/data/repositoryimpl/UserPointRepositoryImpl.kt
#	app/src/main/java/org/sopt/dateroad/domain/repository/UserPointRepository.kt
#	app/src/main/java/org/sopt/dateroad/domain/usecase/PostUsePointUseCase.kt
Copy link
Member

@t1nm1ksun t1nm1ksun left a comment

Choose a reason for hiding this comment

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

와 이 피알보면서 엄마의 꼼꼼함을 다시 한번 느낀다

Comment on lines +60 to +62
object Duration {
const val DURATION = "시간"
}
Copy link
Member

Choose a reason for hiding this comment

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

이 놈 어느 피알에서 생긴거지? 없어서 타임라인 앰플 붙이는 피알에서 똑같은거 만들었는뎁...

Comment on lines -46 to 59
abstract fun bindTimelineRemoteDataSource(timelineRemoteDataSourceImpl: TimelineRemoteDataSourceImpl): TimelineRemoteDataSource
abstract fun bindsMyCourseRemoteDataSource(myCourseRemoteDataSourceImpl: MyCourseRemoteDataSourceImpl): MyCourseRemoteDataSource

@Binds
@Singleton
abstract fun bindsMyCourseRemoteDataSource(myCourseRemoteDataSourceImpl: MyCourseRemoteDataSourceImpl): MyCourseRemoteDataSource
abstract fun bindsProfileDataSource(profileDataSourceImpl: ProfileRemoteDataSourceImpl): ProfileRemoteDataSource

@Binds
@Singleton
abstract fun bindsUserPointRemoteDataSource(userPointRemoteDataSourceImpl: UserPointRemoteDataSourceImpl): UserPointRemoteDataSource
abstract fun bindTimelineRemoteDataSource(timelineRemoteDataSourceImpl: TimelineRemoteDataSourceImpl): TimelineRemoteDataSource

@Binds
@Singleton
abstract fun bindsProfileDataSource(profileDataSourceImpl: ProfileRemoteDataSourceImpl): ProfileRemoteDataSource
abstract fun bindsUserPointRemoteDataSource(userPointRemoteDataSourceImpl: UserPointRemoteDataSourceImpl): UserPointRemoteDataSource
}
Copy link
Member

Choose a reason for hiding this comment

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

꼼꼼도리...

Comment on lines 2 to 16

object Advertisement {
const val EDITOR = "에디터 픽"
const val AD = "광고"
const val ABOUT = "ABOUT"
const val HOT = "이달의 HOT"
}

object Cost {
const val EXCESS_100000_TITLE = "10만원 초과"
const val LESS_THAN_100000_TITLE = "10만원 이하"
const val LESS_THAN_50000_TITLE = "5만원 이하"
const val LESS_THAN_30000_TITLE = "3만원 이하"
}

Copy link
Member

Choose a reason for hiding this comment

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

틀린그림찾기 ( 무슨 차이에요? )

Copy link
Member

@t1nm1ksun t1nm1ksun left a comment

Choose a reason for hiding this comment

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

다시 볼 때마다 새로운게 보여...

@@ -32,21 +32,22 @@ class UserInfoLocalDataSourceImpl @Inject constructor(
}

override var accessToken: String
get() = sharedPreferences.getString(ACCESS_TOKEN, "").toString()
Copy link
Member

Choose a reason for hiding this comment

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

어 나도 이거 갖다 써야겠다 "" 이건 따로 추출 안했는데

@@ -8,23 +8,21 @@ import org.sopt.dateroad.data.dataremote.model.response.ResponseNearestTimelineD
import org.sopt.dateroad.data.dataremote.util.Date
import org.sopt.dateroad.domain.type.MonthType

fun String.toCourseDetailDate(): String = SimpleDateFormat(Date.INPUT_FORMAT, Locale.getDefault()).parse(this)?.let { SimpleDateFormat(Date.COURSE_DETAIL_OUTPUT_FORMAT, Locale.getDefault()).format(it) } ?: ""
Copy link
Member

Choose a reason for hiding this comment

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

진짜 다시 보면서 이런건 어떻게 찾는걸까

# Conflicts:
#	app/src/main/java/org/sopt/dateroad/presentation/ui/coursedetail/CourseDetailScreen.kt
#	app/src/main/java/org/sopt/dateroad/presentation/ui/home/HomeScreen.kt
#	app/src/main/java/org/sopt/dateroad/presentation/util/Constraints.kt
@jihyunniiii jihyunniiii merged commit dbff1f6 into develop Oct 13, 2024
1 check passed
@jihyunniiii jihyunniiii deleted the chore-legacy branch October 13, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[chore] 불필요한 코드 제거
2 participants