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

Feature/mz 182 ledger add #79

Merged
merged 15 commits into from
Jan 21, 2024
Merged

Feature/mz 182 ledger add #79

merged 15 commits into from
Jan 21, 2024

Conversation

jinukeu
Copy link
Member

@jinukeu jinukeu commented Jan 21, 2024

πŸ’‘ Issue

🌱 Key changes

  • μž₯λΆ€ 생성 μ„œλ²„ μ—°λ™ν–ˆμŠ΅λ‹ˆλ‹€.

βœ… To Reviewers

image

사진에 λ³΄μ΄λŠ” νƒ€μž… 1, νƒ€μž… 2 λΆ„λ¦¬λŠ” 아직 λͺ»ν–ˆμ–΄μš”. (μ„œλ²„ μž‘μ—…μ΄ 생각보닀 였래 κ±Έλ¦¬λ„€μš”)
λ‹€λ₯Έ PRμ—μ„œ μ μš©ν•˜κ² μŠ΅λ‹ˆλ‹€.

πŸ“Έ μŠ€ν¬λ¦°μƒ·

KakaoTalk_Video_2024-01-21-10-34-06.mp4

@jinukeu jinukeu self-assigned this Jan 21, 2024
Copy link
Member

@yangsooplus yangsooplus left a comment

Choose a reason for hiding this comment

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

단계와 각 단계별 정보가 λ§Žλ‹€λ³΄λ‹ˆ ꡬ쑰가 점점 λ³΅μž‘ν•΄μ§€λ„€μš” πŸ₯²
λ³΅μž‘ν•œ Stateλ₯Ό μ°Έκ³ ν• λ§Œν•œ 자료λ₯Ό λ§ˆλ•…νžˆ 찾지λ₯Ό λͺ»ν•΄μ„œ 개인적으둜 λŠλ‚€ 점에 λŒ€ν•΄μ„œλ§Œ μ§ˆλ¬Έλ“œλ Έμ–΄μš”!

@@ -114,9 +114,9 @@ fun SusuDatePickerBottomSheet(
@OptIn(ExperimentalMaterial3Api::class)
@Composable
fun SusuLimitDatePickerBottomSheet(
Copy link
Member

Choose a reason for hiding this comment

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

λ°”ν…€μ‹œνŠΈμ—μ„œ λ¦¬μŠ€νŠΈμ— λ³΄μ΄λŠ” λ‚ μ§œλ₯Ό λˆŒλŸ¬μ„œλ„ 선택할 수 μžˆλ„λ‘ μˆ˜μ •ν•΄μ•Ό ν•  것 κ°™λ”λΌκ³ μš”..
ν•„μˆ˜ 피쳐 λΉ¨λž‘ 끝내고 좔가해보렀고 ν•©λ‹ˆλ‹€~

import java.time.LocalDateTime

data class DateState(
val name: String = "",
Copy link
Member

Choose a reason for hiding this comment

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

이 name ν•„λ“œκ°€ NateState의 name κ³Ό 같은 데이터λ₯Ό λ‚˜νƒ€λ‚΄λŠ”κ²Œ λ§žμ§€μš”?
NameViewModelμ—μ„œ SideEffectμ—μ„œ DateState의 name을 μ—…λ°μ΄νŠΈ ν•˜λŠ” 과정이 있던데, DateState와 NameState, DateViewModelκ³Ό NameViewModelλ₯Ό ν•˜λ‚˜λ‘œ ν•©μΉ˜λŠ”κ±΄ μ–΄λ•Œμš”?

Stateκ°€ 크고 λ³΅μž‘ν•΄μ§€κΈ° vs State κ°„κ²°ν•˜κ²Œ λ‚˜λˆ„κ³  관계가 λ³΅μž‘ν•΄μ§€κΈ° κ²°κ΅­ μ‘°μ‚Όλͺ¨μ‚¬ κ°™κΈ΄ν•œλ°.. μΆ”ν›„ μ—¬μœ κ°€ 생기면 이런 λ³΅μž‘ν•œ Stateλ₯Ό μ–΄λ–»κ²Œ κ΄€λ¦¬ν•˜λ©΄ 쒋을지 이야기해보면 쒋을것 κ°™μ•„μš”~!

Copy link
Member Author

Choose a reason for hiding this comment

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

Stateλ₯Ό ν•˜λ‚˜λ‘œ ν•©μΉ˜κ²Œλ˜λ©΄ κ°œλ³„μ μœΌλ‘œ μž¬ν™œμš©μ΄ λΆˆκ°€λŠ₯ν•˜κΈ° λ•Œλ¬Έμ— λ‚˜λˆ΄μ–΄μš”
ν”Όκ·Έλ§ˆ λ””μžμΈμ„ λ³΄μ•˜μ„ λ•Œ, μžμ‹ Content듀은 μž¬ν™œμš©ν•˜κ±°λ‚˜ λ³€κ²½ν•˜κΈ° μ‰½κ²Œ κ΅¬ν˜„ν•˜κΈ° μœ„ν•΄ μ½”λ“œμ˜ 양이 λ§Žμ•„μ§€λ”λΌλ„ λΆ„λ¦¬ν•˜λŠ”κ²Œ 쒋닀ꡬ νŒλ‹¨ν–ˆμ–΄μš”!

Comment on lines 22 to 25
private var selectedCategory: Category? = null
private var name: String = ""
private var startAt: LocalDateTime? = null
private var endAt: LocalDateTime? = null
Copy link
Member

Choose a reason for hiding this comment

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

이 μΉœκ΅¬λ“€ κ²°κ΅­ State처럼 μ‚¬μš©ν•˜κ³  μžˆμ–΄ λ³΄μ΄λŠ”λ°, LedgerAddStateμ—μ„œ κ΄€λ¦¬ν•˜λŠ” 것과 μ—¬κΈ°μ„œ κ΄€λ¦¬ν•˜λŠ” 것과 차이가 μžˆλ‚˜μš”?

Copy link
Member Author

Choose a reason for hiding this comment

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

LedgerAddScreen의 μƒνƒœκ°€ μ•„λ‹Œ, μ„œλ²„μ— μ „μ†‘ν•˜κΈ° μœ„ν•œ 데이터이기 λ•Œλ¬Έμ— State둜 κ΄€λ¦¬ν•˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€!

@jinukeu jinukeu requested a review from yangsooplus January 21, 2024 08:59
@jinukeu
Copy link
Member Author

jinukeu commented Jan 21, 2024

μˆ˜μ§„λ‹˜ μ½”λ©˜νŠΈ 보고 λ‹€μ‹œ PR λ³΄λ‹ˆ 섀계가 잘λͺ»λ˜μ—ˆλ”λΌκ΅¬μš”.
λœ―μ–΄κ³ μ³€μŠ΅λ‹ˆλ‹€! λ²ˆκ±°λ‘­μ§€λ§Œ ν•œλ²ˆ 더 μ½”λ“œλ¦¬λ·° λΆ€νƒλ“œλ €μš” κ°μ‚¬ν•©λ‹ˆλ‹€ :)

Copy link
Member

@yangsooplus yangsooplus left a comment

Choose a reason for hiding this comment

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

각 Content에 ν•΄λ‹Ήν•˜λŠ” ViewModel이 독립적인 κ΅¬μ‘°λΌμ„œ 이 섀계가 더 μ–΄μšΈλ¦¬λ„€μš”!
LedgerAddScreen λ‹€μ΄μ–΄νŠΈ 성곡!

@jinukeu jinukeu merged commit 688ae13 into develop Jan 21, 2024
1 check passed
@jinukeu jinukeu deleted the feature/MZ-182-ledger-add branch January 22, 2024 04:05
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.

[Feat] μž₯λΆ€ 생성 μ„œλ²„ 연동
2 participants