-
Notifications
You must be signed in to change notification settings - Fork 0
[fix] #161 ArchiveResult 화면별 Result 타입 분리 #166
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
30 commits
Select commit
Hold shift + click to select a range
cddfb42
[fix] #161: ArchiveResult 송수신 처리 개선
ikseong00 d3eab4e
[fix] #161: ArchiveMain 결과 수신 시 전체 갱신하도록 변경
ikseong00 3833051
[fix] #161: AllPhoto/AllAlbum 결과 전파 추가
ikseong00 a5b0a10
[fix] #161: ArchiveResult를 화면별 Result 타입으로 분리
ikseong00 9b179f8
[fix] #161: 송수신 로직 화면별 Result 타입으로 전환
ikseong00 a34ce96
[feat] #175: 사진/포즈 상세 화면 핀치 줌 기능 추가
ikseong00 6a7dfdd
[feat] #175: 사진 상세 줌 제스처 충돌 해결 및 클리핑 처리
ikseong00 862a6d2
[feat] #175: PoseDetailScreen 미사용 import 제거
ikseong00 f874d22
[feat] #168: 사진 상세 메모 UI 및 상태 관리 구현
ikseong00 df81832
[feat] #168: 메모 수정 API 레이어 추가
ikseong00 b33be30
[feat] #168: 메모 UI 컴포넌트 분리 및 PhotoDetailImageItem 구조 변경
ikseong00 dc66204
[feat] #168: 사진별 메모 상태 관리 및 API 연동
ikseong00 0d1f875
[fix]: PhotoDetailImageItem 메모 수정 모드 시 하단 패딩(ActionBar 높이만큼) 추가
ikseong00 1e113bc
[chore]: START_ROOT_NAV_KEY 초기값 Auth(Splash)로 원복
ikseong00 3135b73
[fix] #168: MemoTextField에서 편집 모드(Editing)일 때만 메모 텍스트 변경 이벤트가 발생하도록 수정
ikseong00 2ff7ada
[feat] #168: 메모 수정 완료 시 이전 화면 갱신 Result 전달 및 memoModes ImmutableMap 적용
ikseong00 5e7e47c
[chore] #168: PhotoResponse memo 필드 TODO 주석 제거
ikseong00 7410917
[fix] #175: PhotoDetailScreen 내 AsyncImage 컨테이너의 clipToBounds 제거
ikseong00 8fef3aa
[fix] #175: PhotoDetail Pager 무한 스크롤 제거 및 인덱스 처리 로직 수정
ikseong00 11b55d5
Merge pull request #176 from YAPP-Github/feat/#175-photo-zoom-feature
ikseong00 7b93b83
[fix] #168: PhotoDetailImageItem의 MemoMode에 따른 IME 패딩 로직 수정
ikseong00 ba6102f
[refactor] #168: MemoTextField 전체 지우기 기능을 NekiTextButton으로 변경 및 레이아웃 수정
ikseong00 6f8fa73
[fix] #168: MemoTextField 편집 모드 하단 패딩 조정 및 텍스트·커서 색상 수정
ikseong00 ac301b6
Merge branch 'fix/#161-archive-result' into feat/#168-photo-detail-memo
ikseong00 665d529
Merge branch 'fix/#161-archive-result' into feat/#168-photo-detail-memo
ikseong00 1e3b710
Merge remote-tracking branch 'origin/feat/#168-photo-detail-memo' int…
ikseong00 98c7106
Merge pull request #177 from YAPP-Github/feat/#168-photo-detail-memo
ikseong00 6bc18e0
[fix] #161: 중간 화면에서 Result 릴레이하여 ArchiveMain 갱신 누락 수정
ikseong00 206b997
[refactor] #161: ArchiveEntryProvider의 ResultEffect를 ArchiveResult 공통…
ikseong00 5f9dec3
[fix] #161: ArchiveEntryProvider 내 ResultEffect 처리 대상 원상복구
ikseong00 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
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
9 changes: 9 additions & 0 deletions
9
core/data/src/main/java/com/neki/android/core/data/remote/model/request/UpdateMemoRequest.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,9 @@ | ||
| package com.neki.android.core.data.remote.model.request | ||
|
|
||
| import kotlinx.serialization.SerialName | ||
| import kotlinx.serialization.Serializable | ||
|
|
||
| @Serializable | ||
| data class UpdateMemoRequest( | ||
| @SerialName("memo") val memo: 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
| android:width="28dp" | ||
| android:height="28dp" | ||
| android:viewportWidth="28" | ||
| android:viewportHeight="28"> | ||
| <path | ||
| android:pathData="M11.698,22.845H4.45C3.649,22.845 3,22.196 3,21.396V11.849C3,11.464 3.153,11.095 3.425,10.824L9.824,4.425C10.095,4.153 10.464,4 10.849,4H20.396C21.196,4 21.845,4.649 21.845,5.45V11.248" | ||
| android:strokeLineJoin="round" | ||
| android:strokeWidth="1.93285" | ||
| android:fillColor="#00000000" | ||
| android:strokeColor="#4F525F" | ||
| android:strokeLineCap="round"/> | ||
| <path | ||
| android:pathData="M3,11.731H8.315C9.116,11.731 9.765,11.082 9.765,10.282V4" | ||
| android:strokeWidth="1.93285" | ||
| android:fillColor="#00000000" | ||
| android:strokeColor="#4F525F"/> | ||
| <path | ||
| android:pathData="M20.699,14.347L15.035,20.012C14.91,20.137 14.822,20.294 14.78,20.465L14.37,22.141C14.196,22.85 14.84,23.487 15.547,23.308L17.204,22.886C17.373,22.843 17.527,22.755 17.649,22.632L23.317,16.965C23.694,16.588 23.694,15.976 23.317,15.598L22.066,14.347C21.689,13.97 21.077,13.97 20.699,14.347Z" | ||
| android:strokeWidth="1.93285" | ||
| android:fillColor="#00000000" | ||
| android:strokeColor="#4F525F"/> | ||
| </vector> |
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
16 changes: 9 additions & 7 deletions
16
feature/archive/api/src/main/kotlin/com/neki/android/feature/archive/api/ArchiveResult.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 |
|---|---|---|
| @@ -1,11 +1,13 @@ | ||
| package com.neki.android.feature.archive.api | ||
|
|
||
| sealed interface ArchiveResult { | ||
| data class PhotoDeleted(val photoId: List<Long>) : ArchiveResult { | ||
| constructor(photoId: Long) : this(listOf(photoId)) | ||
| } | ||
| sealed interface ArchiveResult | ||
|
|
||
| data class FavoriteChanged(val photoId: Long, val isFavorite: Boolean) : ArchiveResult | ||
| data object PhotoDetailResult : ArchiveResult | ||
|
|
||
| data object PhotoUploaded : ArchiveResult | ||
| } | ||
| data object AlbumDetailResult : ArchiveResult | ||
|
|
||
| data object AllPhotoResult : ArchiveResult | ||
|
|
||
| data object AllAlbumResult : ArchiveResult | ||
|
|
||
| data object PhotoUploadedResult : ArchiveResult | ||
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
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
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.
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.
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: YAPP-Github/27th-App-Team-2-Android
Length of output: 30061
PhotoUploadedResult의 이벤트 전파(fan-out)가 불완전합니다.현재
PhotoUploadedResult는ArchiveEntryProvider의 ArchiveMain 진입점에서만 소비되어ArchiveMainIntent.RefreshArchiveMain을 dispatch합니다. 하지만 AllPhoto와 AlbumDetail 화면은 이 결과를 전혀 처리하지 않아, 사용자가 업로드 후 이 화면들에 머물고 있다면 새로운 사진이 반영되지 않습니다.AllPhoto와 AlbumDetail도 업로드 이벤트에 응답하도록,
ArchiveEntryProvider의 해당 진입점들에서PhotoUploadedResult를 처리하고 각각AllPhotoIntent.RefreshPhotos와AlbumDetailIntent.RefreshPhotos를 dispatch해야 합니다.🤖 Prompt for AI Agents