Skip to content

Feature: SecretDetail Feature 기반 + MainFeature 라우팅 #74

Description

@doyeonk429

목표

SecretDetailFeature TCA Reducer를 구현하고, MainFeature에서 시크릿 선택 시 3번째 컬럼에 상세 화면이 표시되도록 라우팅을 연결한다.

작업 범위

신규

  • SecretDetailFeature.swift — State / Action / body (viewing mode 기준)
    • State: secret(let), mode(.viewing/.editing), editFields, availableProjects, isSaving, isLoadingProjects, alert
    • task — projectClient.fetchProjects() + CancellationError catch
    • didTapClose → delegate(.closed)
  • SecretDetailView.swift — viewingBody / editingBody 분기 뼈대
  • SecretDetailFeatureTests.swift — viewing 진입, close delegate 케이스

수정

  • MainFeature.swift — secretDetail State 추가 + secretSelected/closed/secretUpdated 라우팅
  • MainView.swift — detail 컬럼에 SecretDetailView or ContentUnavailableView
  • SecretListFeature.swift — secretSelected delegate 확인 / 추가

Metadata

Metadata

Assignees

Labels

✨ Feature새로운 기능 개발

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions