Skip to content

Flt 23 컬렉션 생성 수정사항 반영#214

Merged
chanmi1125 merged 4 commits into
developfrom
FLT-23-컬렉션-생성-수정사항-반영
Jun 17, 2026

Hidden character warning

The head ref may contain hidden characters: "FLT-23-\uceec\ub809\uc158-\uc0dd\uc131-\uc218\uc815\uc0ac\ud56d-\ubc18\uc601"
Merged

Flt 23 컬렉션 생성 수정사항 반영#214
chanmi1125 merged 4 commits into
developfrom
FLT-23-컬렉션-생성-수정사항-반영

Conversation

@chanmi1125

@chanmi1125 chanmi1125 commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

📮 관련 이슈

  • closed #이슈번호

📌 작업 내용

  • 그라데이션 추가
  • '이 작품을 선택한 이유' 버튼 활성화 필수 항목으로 만들기

📸 스크린샷

스크린샷

😅 미구현

  • 21의 컬렉션 상세보기 머지 후 풀받아서 컬렉션 수정의 버튼 조건도 수정해줘야됩니당

🫛 To. 리뷰어

Summary by CodeRabbit

변경 사항

  • 개선 사항

    • 콘텐츠 추가 화면의 레이아웃 구조를 정리해 배경 및 하단 그라데이션 표시가 더 안정적으로 동작하도록 개선했습니다.
  • Bug Fixes

    • 완료 버튼 활성화 조건을 더 엄격하게 적용했습니다. 편집 모드에서는 변경 사항이 있어야 하며, 선택된 각 항목의 필수 설명이 모두 입력되어야 버튼이 활성화됩니다. 또한 기존 이미지 정보가 상태에 반영되도록 보강했습니다.

@chanmi1125 chanmi1125 self-assigned this Jun 16, 2026
@chanmi1125 chanmi1125 added the Feat ✨ 신규 기능을 추가하거나 기존 기능의 동작, 정책을 변경 label Jun 16, 2026
@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9f2c542a-14c6-40b8-bce2-a67a2a4221c8

📥 Commits

Reviewing files that changed from the base of the PR and between 951684a and 822c5f4.

📒 Files selected for processing (1)
  • app/src/main/java/com/flint/presentation/collectioncreate/uistate/CollectionCreateUiState.kt

📝 Walkthrough

Walkthrough

AddContentScreen의 최상위 레이아웃을 Box로 감싸는 구조로 리팩토링하고, 하단 그라디언트 오버레이 위치를 재구성했습니다. CollectionCreateUiState에 편집 모드 감지 로직을 추가하고, isFinishButtonEnabled 조건에 선택된 각 항목의 reason 비공백 검사를 추가했습니다.

Changes

컬렉션 생성 화면 개선

Layer / File(s) Summary
UI 상태 강화 및 완료 버튼 조건 개선
app/src/main/java/com/flint/presentation/collectioncreate/uistate/CollectionCreateUiState.kt
CollectionCreateUiStateexistingThumbnailUrl 속성을 추가하고 편집 모드 판별(isEditMode, hasChanges)과 변경 감지 로직을 구현했습니다. isFinishButtonEnabled의 활성화 조건을 확장하여 선택된 모든 항목이 contentDetailsMap에 존재하고 각 항목의 reason이 비공백인지 검사하도록 변경했습니다. ContentDetailexistingImageUrls 필드를 추가했습니다.
AddContentScreen 레이아웃 Box 래핑 및 구조 개선
app/src/main/java/com/flint/presentation/collectioncreate/AddContentScreen.kt
최상위 ColumnBox(fillMaxSize, background)로 교체하고, 내부에 Column(fillMaxSize)를 중첩했습니다. FlintBackTopAppbar의 스타일과 클릭 조건이 selectedContents.isNotEmpty() 기반으로 조정되었으며, 하단 그라디언트 오버레이가 Alignment.BottomCenter로 분리 배치되었습니다. Box, Alignment, Brush, Color 등 관련 임포트가 추가되었습니다.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • imflint/Flint-Android#174: AddContentScreen.kt의 검색 빈 상태 렌더링 및 모달 게이팅 로직을 동일하게 수정하는 PR로, 코드 레이아웃 변경 시 충돌 가능성이 있습니다.
  • imflint/Flint-Android#213: CollectionCreateUiStateContentDetail의 기존 이미지 처리 인프라(existingThumbnailUrl, existingImageUrls)를 도입한 PR로, 본 PR의 편집 모드 검증 조건과 직접적으로 연관됩니다.

Suggested labels

📱 UI, Refactor ♻️

Suggested reviewers

  • nahy-512

Poem

🐰 토끼가 Box 안에 쏙 들어갔어요,
Column 위에 그라디언트 빛이 내려요,
reason 없인 버튼도 켜지지 않죠,
편집 모드도 잘 감지하고,
더욱 탄탄한 완료 조건! 🎉

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed PR 제목이 변경사항의 주요 내용과 부분적으로 관련이 있습니다. '컬렉션 생성 수정사항 반영'은 실제 변경사항(그라데이션 추가, 필수 항목화)을 언급하지만 구체적이지 않습니다.
Description check ✅ Passed PR 설명이 템플릿 구조를 따르고 작업 내용, 스크린샷, 미구현 사항을 포함하고 있습니다. 다만 이슈 번호가 채워지지 않았으나 주요 내용은 완성되었습니다.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch FLT-23-컬렉션-생성-수정사항-반영

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 and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
app/src/main/java/com/flint/presentation/collectioncreate/AddContentScreen.kt (1)

112-119: ⚡ Quick win

시각적 비활성 상태와 실제 클릭 가능 상태를 일치시켜 주세요.

Line 117-118에서 비활성 스타일을 주고 있지만, Line 112-116의 현재 방식은 액션 영역이 여전히 클릭 가능(무동작)으로 남습니다. FlintBackTopAppbar 액션 슬롯이 항상 clickable 계약이라서 접근성/UX에서 “눌리는데 반응 없는 버튼”이 됩니다. 액션 enabled 상태를 컴포넌트 레벨로 노출해 클릭 자체를 비활성화하는 쪽이 안전합니다.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@app/src/main/java/com/flint/presentation/collectioncreate/AddContentScreen.kt`
around lines 112 - 119, The visual styling for the action button is
conditionally disabled based on selectedContents.isNotEmpty() (grayed out text
and changed textStyle), but the button remains functionally clickable with a
no-op handler, creating poor UX. Instead of relying on visual styling alone,
pass an enabled state parameter to the FlintBackTopAppbar component to disable
clicks at the component level. Modify the FlintBackTopAppbar to accept an
enabled or isClickable parameter derived from selectedContents.isNotEmpty(), and
apply this to prevent interaction entirely rather than just updating textStyle
and textColor while keeping onActionClick always callable.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In
`@app/src/main/java/com/flint/presentation/collectioncreate/AddContentScreen.kt`:
- Around line 112-119: The visual styling for the action button is conditionally
disabled based on selectedContents.isNotEmpty() (grayed out text and changed
textStyle), but the button remains functionally clickable with a no-op handler,
creating poor UX. Instead of relying on visual styling alone, pass an enabled
state parameter to the FlintBackTopAppbar component to disable clicks at the
component level. Modify the FlintBackTopAppbar to accept an enabled or
isClickable parameter derived from selectedContents.isNotEmpty(), and apply this
to prevent interaction entirely rather than just updating textStyle and
textColor while keeping onActionClick always callable.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c397f751-4ee1-44fd-a70b-a7d7fe2e9e05

📥 Commits

Reviewing files that changed from the base of the PR and between f39d2cd and 951684a.

📒 Files selected for processing (2)
  • app/src/main/java/com/flint/presentation/collectioncreate/AddContentScreen.kt
  • app/src/main/java/com/flint/presentation/collectioncreate/uistate/CollectionCreateUiState.kt

@kimjw2003 kimjw2003 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

알아서 잘했을거라 믿고 무검증 어푸 합니다 ㅋㅋ 화이팅~

@chanmi1125 chanmi1125 merged commit 6e79a23 into develop Jun 17, 2026
2 checks passed
@chanmi1125 chanmi1125 deleted the FLT-23-컬렉션-생성-수정사항-반영 branch June 17, 2026 15:08
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.

2 participants