Skip to content

feat: 컬렉션 목록 화면 UI 구현 - #942

Open
devfeijoa wants to merge 9 commits into
developfrom
feat/934
Open

feat: 컬렉션 목록 화면 UI 구현#942
devfeijoa wants to merge 9 commits into
developfrom
feat/934

Conversation

@devfeijoa

@devfeijoa devfeijoa commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

📌𝘐𝘴𝘴𝘶𝘦𝘴

📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯

  • 컬렉션 목록 화면의 상단 앱바와 뒤로가기 동작을 구현했습니다.
  • 내 컬렉션좋아요한 컬렉션 탭 UI 및 선택 상태를 구현했습니다.
  • 컬렉션 만들기 버튼 UI를 추가했습니다.
  • 기존 임시 화면을 제거하고 컬렉션 목록 화면 구조로 교체했습니다.
  • 컬렉션 관련 UI를 component 패키지로 정리했습니다.
  • 컬렉션 목록 API와 생성 화면 이동은 후속 PR에서 연결합니다.

검증

  • ./gradlew :feature:collection:compileDebugKotlin ktlintCheck --console=plain
  • 컬렉션 모듈 Debug 컴파일 성공
  • ktlint 성공
  • push 전 전체 단위 테스트 및 앱 Debug 빌드 성공

📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵

Screenshot_20260818_191329 Screenshot_20260818_191335

💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴

  • 앱바, 탭, 컬렉션 만들기 버튼의 UI 구성을 확인 부탁드립니다.
  • 탭 선택 상태는 화면 내부 rememberSaveable 상태로 관리합니다.
  • 현재 목록 데이터와 컬렉션 만들기 버튼의 화면 이동은 포함하지 않습니다.
  • Base: feat/933
  • Head: feat/934

- `CollectionAppBar.kt`: 뒤로가기 버튼과 "컬렉션" 타이틀을 포함한 상단 앱바 컴포저블 신규 구현
- `CollectionScreen.kt`: `CollectionAppBar` 적용 및 `statusBarsPadding` 추가, 내부 레이아웃 구조 조정
- `CollectionEntry.kt`: 파일 위치를 `component` 패키지로 이동
- `CollectionNavHost.kt` & `CollectionActivity.kt`: 뒤로가기 동작(finish)을 위한 `onNavigateBack` 콜백 추가 및 전달 로직 구현
- `MyPageFragment.kt`: `CollectionEntry` 패키지 위치 변경에 따른 임포트 경로 수정
- `CollectionTabRow.kt`: "내 컬렉션"과 "좋아요한 컬렉션"을 전환할 수 있는 탭 바 컴포저블 `CollectionTabRow` 및 내부 `CollectionTab` 구현
- `CollectionScreen.kt`: 상단 앱바 하단에 `CollectionTabRow` 배치
- `CollectionTab.kt`: 컬렉션 탭 구분을 위한 `CollectionTab` Enum 클래스 정의
- `CollectionScreen.kt`: `rememberSaveable`을 이용해 선택된 탭 상태(`selectedTab`)를 관리하고 `CollectionTabRow`와 연동
- `CollectionTabRow.kt`:
    - `CollectionTab` Enum을 순회하며 탭 항목을 생성하도록 로직 수정
    - 탭 클릭 처리를 위해 `onTabSelected` 콜백 추가 및 `selectable` Modifier 적용
    - 기존 `CollectionTab` 컴포저블을 `CollectionTabItem`으로 명칭 변경
    - Enum 값에 따른 탭 타이틀 문자열을 반환하는 확장 프로퍼티 `title` 추가
- `CollectionCreateButton.kt`: "컬렉션 만들기" 버튼 구현
- `CollectionScreen.kt`: 컬렉션 화면 내 상단 탭 하단에 `CollectionCreateButton` 추가 및 레이아웃 적용
- `CollectionScreen.kt`: 화면 중앙에 위치하던 "컬렉션", "임시화면" 안내 문구와 이를 포함하던 `Box` 레이아웃 및 미사용 임포트 삭제
- `CollectionCreateButton.kt`: 컴포저블 함수 파라미터와 Modifier 체이닝의 불필요한 줄바꿈을 제거하고 임포트 구문을 정렬하여 가독성 개선
- `CollectionTabRow.kt`: `TabItem` 내 `modifier` 체이닝의 불필요한 줄바꿈 제거 및 코드 정렬 수정
@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 9635a9ef-9a50-4d9d-8917-4af36fab022a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@devfeijoa
devfeijoa requested a review from Sadturtleman August 18, 2026 10:08
@devfeijoa
devfeijoa marked this pull request as ready for review August 18, 2026 10:15
@github-actions
github-actions Bot requested review from m6z1 and s9hn August 18, 2026 10:15
@devfeijoa devfeijoa added 🍯 [FEAT] 새로운 기능을 개발합니다. [👸 공주 은영] labels Aug 18, 2026
- `strings.xml`: '내 컬렉션' 및 '좋아요한 컬렉션' 문자열 리소스 추가
- `CollectionTab.kt`: `CollectionTab` enum 내부에 문자열 리소스 ID(`titleRes`)를 관리하도록 구조 변경
- `CollectionTabRow.kt`:
    - 하드코딩된 확장 프로퍼티를 제거하고 `stringResource(tab.titleRes)`를 사용하도록 UI 로직 수정
Base automatically changed from feat/933 to develop August 28, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[👸 공주 은영] 🍯 [FEAT] 새로운 기능을 개발합니다.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: 컬렉션 목록 화면 UI 구현

2 participants