-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/#129 : 마이페이지 UI 변경작업 및 설정 페이지 UI 변경 #130
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
Changes from all commits
86cf145
ea16974
1ff3d15
ddc4bc4
6917b9d
c2f1a7c
b04b0df
392fdd7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,32 @@ | ||||||||||||||||||||||
| package com.yapp.feature.profile | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| import com.yapp.core.ui.component.UserRole | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| data class ProfileState( | ||||||||||||||||||||||
| val name: String = "", | ||||||||||||||||||||||
| val role: UserRole = UserRole.ACTIVE, | ||||||||||||||||||||||
| val generation: Int = 0, | ||||||||||||||||||||||
| val position: String = "", | ||||||||||||||||||||||
| val showLogoutDialog: Boolean = false, | ||||||||||||||||||||||
| val showWithDrawDialog: Boolean = false | ||||||||||||||||||||||
|
Comment on lines
+10
to
+11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) 변수명 일관성 유지
data class ProfileState(
val name: String = "",
val role: UserRole = UserRole.ACTIVE,
val generation: Int = 0,
val position: String = "",
val showLogoutDialog: Boolean = false,
- val showWithDrawDialog: Boolean = false
+ val showWithdrawDialog: Boolean = false
)📝 Committable suggestion
Suggested change
|
||||||||||||||||||||||
| ) | ||||||||||||||||||||||
TaeseongYun marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| sealed interface ProfileIntent { | ||||||||||||||||||||||
| data object OnEntryScreen : ProfileIntent | ||||||||||||||||||||||
| data object OnClickSettings : ProfileIntent | ||||||||||||||||||||||
| data object OnClickAttendHistory : ProfileIntent | ||||||||||||||||||||||
| data object OnClickPreviousHistory : ProfileIntent | ||||||||||||||||||||||
| data object OnClickUsage : ProfileIntent | ||||||||||||||||||||||
| data object OnClickWithdraw : ProfileIntent | ||||||||||||||||||||||
| data object OnClickLogout : ProfileIntent | ||||||||||||||||||||||
| data object OnCancelLogout : ProfileIntent | ||||||||||||||||||||||
| data object OnDismissLogout : ProfileIntent | ||||||||||||||||||||||
| data object OnLaunchedLogout : ProfileIntent | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| sealed interface ProfileSideEffect { | ||||||||||||||||||||||
| data object NavigateToSetting : ProfileSideEffect | ||||||||||||||||||||||
| data object NavigateToAttendHistory : ProfileSideEffect | ||||||||||||||||||||||
| data object NavigateToPreviousHistory : ProfileSideEffect | ||||||||||||||||||||||
| data object NavigateToLogin : ProfileSideEffect | ||||||||||||||||||||||
| } | ||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.