Skip to content

폴더 이동 휴지통 폴더 조회 로직 수정합니다.#277

Merged
Kimyonhae merged 1 commit into
devfrom
refactor/fileMove-trash
Jun 15, 2026
Merged

폴더 이동 휴지통 폴더 조회 로직 수정합니다.#277
Kimyonhae merged 1 commit into
devfrom
refactor/fileMove-trash

Conversation

@Kimyonhae

@Kimyonhae Kimyonhae commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

✨ 작업 요약

  • 폴더 이동 대상 목록에서 휴지통 폴더(.trash)가 노출되지 않도록 필터링을 추가했습니다.

📋 구체적인 내용

  • 추가/변경된 동작:
  • MoveFolderListViewModel에서 이동 가능한 대상 폴더를 필터링할 때 kind != .trash 조건을 추가해 휴지통 폴더를 제외했습니다.
  • 영향 받는 화면/모듈:
  • 음성 메모 이동 화면 (폴더 목록) / MoveFolder 모듈

🔗 연관 이슈

  • closed #

🧩 설계·구현 노트

  • 선택한 방식
  • 기존 ID 필터링 조건($0.id != currentFolderID)만으로는 휴지통 폴더가 걸러지지 않기 때문에, 명시적으로 kind != .trash 조건을 추가하여
    안전하게 제외했습니다.

✅ 확인 사항

  • 정상 플로우 동작 확인
  • 엣지 케이스 / 빈 값·에러 처리 확인

👀 리뷰 포인트

  • 로직·엣지 케이스 (이동 폴더 목록에서 휴지통 폴더가 올바르게 필터링되는지)

- 기존 코드에서 휴지통 폴더가 id 필더링에서 살아있음을 발견.
kind를 통해 kind != .trash를 확인합니다.

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request updates the MoveFolderListViewModel to filter out the trash folder when fetching the list of available destination folders for moving voice notes. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@tuist

tuist Bot commented Jun 15, 2026

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Cache hit rate Tests Skipped Ran Commit
ChaGok-Workspace 0 % 110 2 108 0715643ee

Builds 🔨

Scheme Status Duration Commit
ChaGok-Workspace 3m 35s 0715643ee

@Kimyonhae Kimyonhae merged commit d49602b into dev Jun 15, 2026
2 checks passed
@Kimyonhae Kimyonhae deleted the refactor/fileMove-trash branch June 15, 2026 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant