-
Notifications
You must be signed in to change notification settings - Fork 0
[Fix/#183] 프로필 QA 이슈 수정 #189
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
623bd57
fix: ProfileSmallKeywordChip 패딩 수정
nahy-512 9980028
feat: 타인 프로필 뒤로가기 헤더 추가
nahy-512 d5901f5
feat: ProfileScreen 프리뷰 추가
nahy-512 0ad85ed
style: 로딩 인디케이터 색상 변경
nahy-512 8ee50c3
fix: profileNavGraph navigateUp 함수 추가
nahy-512 2a97ae3
refactor: 프로필 화면 프로필 및 작품/컬렉션 데이터 비동기 로딩
nahy-512 b2c9154
feat: 회원탈퇴 이스터에그 추가
nahy-512 808f8ea
refactor: 회원탈퇴 후 앱 재시작
nahy-512 75afa24
refactor: ContextExt를 통한 앱 재시작 로직 수정
nahy-512 2ad8a60
refactor: 프로필 화면 ProfileTopSection 로딩 범위에서 제외
nahy-512 872635d
refactor: 프로필 로딩바 위치 수정
nahy-512 398e1e4
style: 디자인 QA 반영
nahy-512 48dc5e4
feat: 회원탈퇴 플래그 추가
nahy-512 7947b31
Merge remote-tracking branch 'origin/develop' into fix/#183-profile-qa
nahy-512 4489afb
fix: 코드리뷰 내용 반영
nahy-512 3d981ed
Merge remote-tracking branch 'origin/develop' into fix/#183-profile-qa
nahy-512 86d8557
fix: Ott 바텀시트 표시, CollectionInputTextField 수정
nahy-512 94b1084
fix: 생성 컬렉션 표시
nahy-512 d5ad75d
fix: BasicTextField 텍스트 포커싱 영역 수정
nahy-512 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
app/src/main/java/com/flint/core/common/extension/ContextExt.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| package com.flint.core.common.extension | ||
|
|
||
| import android.app.Activity | ||
| import android.content.Context | ||
| import android.content.ContextWrapper | ||
|
|
||
| fun Context.findActivity(): Activity { | ||
| var context = this | ||
| while (context is ContextWrapper) { | ||
| if (context is Activity) return context | ||
| context = context.baseContext | ||
| } | ||
| throw IllegalStateException("no activity") | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
app/src/main/java/com/flint/data/dto/auth/response/WithdrawResponseDto.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| package com.flint.data.dto.auth.response | ||
|
|
||
| import kotlinx.serialization.SerialName | ||
| import kotlinx.serialization.Serializable | ||
|
|
||
| @Serializable | ||
| data class WithdrawResponseDto( | ||
| @SerialName("status") | ||
| val status: Int, | ||
| @SerialName("message") | ||
| val message: String, | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: imflint/Flint-Android
Length of output: 1116
🏁 Script executed:
Repository: imflint/Flint-Android
Length of output: 420
🏁 Script executed:
Repository: imflint/Flint-Android
Length of output: 8866
withdraw()메서드의 응답 타입 래핑 불일치 수정 필요withdraw()함수는WithdrawResponseDto를 직접 반환하지만, 다른 모든 API 메서드(signup,socialVerify포함)와 전체 코드베이스의 패턴에서는BaseResponse<T>래핑을 사용합니다.WithdrawResponseDto는status와message필드만 포함하는 응답 엔벨로프 구조이므로, 표준 API 응답 패턴에 맞게BaseResponse<WithdrawResponseDto>또는BaseResponse<Unit>로 수정해야 합니다.🤖 Prompt for AI Agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
서버에서 data가 안와서 BaseResponse를 쓸 수 없음;
data를 nullable로 두기보다는 그냥 따로 관리하는 게 나을듯. 서버한테 지금 말하기 힘든 상황이니까 나중에 고칠게
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nahy-512, 이해했습니다! 백엔드 API가 표준 응답 형식을 따르지 않는 상황이라면 현재 방식이 합리적입니다.나중에 백엔드 팀과 조율이 가능할 때 통일된 응답 형식으로 수정하시면 좋을 것 같습니다. 필요하시다면 이 기술 부채를 추적하기 위한 이슈를 생성해드릴 수도 있습니다.
✏️ Learnings added