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

Refactor/friend view calendar fetch #149

Merged
merged 6 commits into from
Dec 13, 2022

Conversation

wickedRun
Copy link
Collaborator

๐Ÿ“• Issue Number

Close #148

๐Ÿ“™ ์ž‘์—… ๋‚ด์—ญ

๊ตฌํ˜„ ๋‚ด์šฉ ๋ฐ ์ž‘์—… ํ–ˆ๋˜ ๋‚ด์—ญ

  • ํ•œ๋‹ฌ ๋ฐ์ดํ„ฐ๋ฅผ ํ•œ๋ฒˆ์— ๋ฐ›์•„์˜ค๋„๋ก ๋ณ€๊ฒฝ
  • FriendView์—์„œ๋„ ๋‹ฌ ์ด๋™ ๊ธฐ๋Šฅ ๊ตฌํ˜„

๐Ÿ“˜ ์ž‘์—… ์œ ํ˜•

  • ์‹ ๊ทœ ๊ธฐ๋Šฅ ์ถ”๊ฐ€
  • ๋ฒ„๊ทธ ์ˆ˜์ •
  • ๋ฆฌํŽ™ํ† ๋ง
  • ๋ฌธ์„œ ์—…๋ฐ์ดํŠธ

๐Ÿ“‹ ์ฒดํฌ๋ฆฌ์ŠคํŠธ

  • Merge ํ•˜๋Š” ๋ธŒ๋žœ์น˜๊ฐ€ ์˜ฌ๋ฐ”๋ฅธ๊ฐ€?
  • ์ฝ”๋”ฉ์ปจ๋ฒค์…˜์„ ์ค€์ˆ˜ํ•˜๋Š”๊ฐ€?
  • PR๊ณผ ๊ด€๋ จ์—†๋Š” ๋ณ€๊ฒฝ์‚ฌํ•ญ์ด ์—†๋Š”๊ฐ€?
  • ๋‚ด ์ฝ”๋“œ์— ๋Œ€ํ•œ ์ž๊ธฐ ๊ฒ€ํ† ๊ฐ€ ๋˜์—ˆ๋Š”๊ฐ€?
  • ๋ณ€๊ฒฝ์‚ฌํ•ญ์ด ํšจ๊ณผ์ ์ด๊ฑฐ๋‚˜ ๋™์ž‘์ด ์ž‘๋™ํ•œ๋‹ค๋Š” ๊ฒƒ์„ ๋ณด์ฆํ•˜๋Š” ํ…Œ์ŠคํŠธ๋ฅผ ์ถ”๊ฐ€ํ•˜์˜€๋Š”๊ฐ€?
  • ์ƒˆ๋กœ์šด ํ…Œ์ŠคํŠธ์™€ ๊ธฐ์กด์˜ ํ…Œ์ŠคํŠธ๊ฐ€ ๋ณ€๊ฒฝ์‚ฌํ•ญ์— ๋Œ€ํ•ด ๋งŒ์กฑํ•˜๋Š”๊ฐ€?

๐Ÿ“ PR ํŠน์ด ์‚ฌํ•ญ

PR์„ ๋ณผ ๋•Œ ์ฃผ์˜๊นŠ๊ฒŒ ๋ด์•ผํ•˜๊ฑฐ๋‚˜ ๋งํ•˜๊ณ  ์‹ถ์€ ์ 

  • ๋ ˆํฌ์ง€ํ† ๋ฆฌ์—์„œ map์„ ์ด์šฉํ•ด์„œ dictionary๋กœ ๋ณ€๊ฒฝํ•ด์„œ ๋ฐ˜ํ™˜ํ•˜๊ณ 
    DefaultFriendCalendarUseCase์—์„œ map์œผ๋กœ ์›๋ž˜ ์‚ฌ์šฉํ•˜๋˜ ๋ฐ์ดํ„ฐํƒ€์ž…์œผ๋กœ ๋ณ€๊ฒฝํ•˜๋Š” ์ฝ”๋“œ๋กœ ๊ตฌํ˜„ํ–ˆ์Šต๋‹ˆ๋‹ค.
  • ์›”๋ณ„ ์ด๋™์˜ ๋กœ์ง์˜ ๊ฒฝ์šฐ HomeView์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค.



Copy link
Collaborator

@jinwoong16 jinwoong16 left a comment

Choose a reason for hiding this comment

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

์บ˜๋ฆฐ๋” ์ฒ˜๋ฆฌ๊ฐ€ ๋๋‚œ๊ฒƒ๊ฐ™์•„์„œ ๋‹คํ–‰์ด๋„ค์š”. ๋‚จ์€๋‚ ๊นŒ์ง€ ์ž˜ ๋งˆ๋ฌด๋ฆฌํ•ด๋ด…์‹œ๋‹ค! ๊ณ ์ƒ๋งŽ์œผ์…จ์Šต๋‹ˆ๋‹ค.

@@ -11,7 +11,7 @@ import RxSwift

import RxSwift

final class DefaultFriendCalendarUseCase: FriendCalendarUseCase {
final class DefaultFriendCalendarUseCase: CalendarUseCase {
Copy link
Collaborator

Choose a reason for hiding this comment

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

๊ธฐ์กด๊ณผ ๋งฅ๋ฝ์ƒ ๋™์ผํ•œ ๋กœ์ง์ด๋ผ๋ฉด ๋Œ๋ ค์“ฐ๋Š”๊ฒŒ ์ข‹๊ธดํ•œ๊ฒƒ๊ฐ™์Šต๋‹ˆ๋‹ค !

@@ -30,7 +30,7 @@ final class BrowseSceneDIContainer {
return DefaultFriendUseCase(questsRepository: makeQuestsRepository())
}

func makeFriendCalendarUseCase(with user: User) -> FriendCalendarUseCase {
func makeFriendCalendarUseCase(with user: User) -> CalendarUseCase {
Copy link
Collaborator

Choose a reason for hiding this comment

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

์ด๋ถ€๋ถ„ ์ฐธ๊ณ ํ•ด์„œ, DI Container ๋ณ€๊ฒฝ๋˜๋Š” ๋ถ€๋ถ„์„ ์ฒ˜๋ฆฌํ•ด์•ผ๊ฒ ์Šต๋‹ˆ๋‹ค. ๊ณ ์ƒํ•˜์…จ์Šต๋‹ˆ๋‹ค!

@sprituz
Copy link
Member

sprituz commented Dec 12, 2022

ํ›Œ๋ฅญํ•ฉ๋‹ˆ๋‹ค~~~

@jinwoong16 jinwoong16 merged commit db2dad9 into develop Dec 13, 2022
@jinwoong16 jinwoong16 deleted the refactor/FriendViewCalendarFetch branch December 14, 2022 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment