diff --git a/feature/afternote/presentation/src/main/kotlin/com/afternote/feature/afternote/presentation/receiver/deliveryverification/DeliveryVerificationCompleteScreen.kt b/feature/afternote/presentation/src/main/kotlin/com/afternote/feature/afternote/presentation/receiver/deliveryverification/DeliveryVerificationCompleteScreen.kt index e9943c50..fb92df00 100644 --- a/feature/afternote/presentation/src/main/kotlin/com/afternote/feature/afternote/presentation/receiver/deliveryverification/DeliveryVerificationCompleteScreen.kt +++ b/feature/afternote/presentation/src/main/kotlin/com/afternote/feature/afternote/presentation/receiver/deliveryverification/DeliveryVerificationCompleteScreen.kt @@ -14,13 +14,15 @@ import com.afternote.core.ui.theme.AfternoteDesign import com.afternote.core.ui.theme.AfternoteTheme import com.afternote.feature.afternote.presentation.R import com.afternote.feature.afternote.presentation.receiver.deliveryverification.component.RECEIVER_VERIFY_HEADER_SPACING +import com.afternote.feature.afternote.presentation.receiver.deliveryverification.component.RECEIVER_VERIFY_TOTAL_STEPS +import com.afternote.feature.afternote.presentation.receiver.deliveryverification.component.ReceiverVerifyStep /** * 열람 신청 완료 화면(design 9) — `submitDeliveryVerification` 성공 직후 노출 (이슈 #215). * * 시안 그대로: TopBar "수신자 인증" + h1 "열람 신청 완료" + 안내 2 줄 + 하단 CTA "받은 기록함으로 돌아가기". - * 진행 인디케이터는 시안에 없으므로 미표시. 실제 신청 제출은 [DocumentUploadViewModel.submit] 이 수행하므로 - * 본 화면은 결과 안내 + 복귀 액션만 제공한다. + * 진행 인디케이터는 마지막 단계(4/4)로 100% 채워 표시 — 열람 신청 완료를 꽉 찬 바로 나타낸다. + * 실제 신청 제출은 [DocumentUploadViewModel.submit] 이 수행하므로 본 화면은 결과 안내 + 복귀 액션만 제공한다. */ @Composable fun DeliveryVerificationCompleteScreen( @@ -32,7 +34,9 @@ fun DeliveryVerificationCompleteScreen( actionButtonText = stringResource(R.string.receiver_verify_complete_back_to_records), onBackClick = onBackToRecords, onActionClick = onBackToRecords, - currentStep = null, + currentStep = ReceiverVerifyStep.COMPLETE, + totalSteps = RECEIVER_VERIFY_TOTAL_STEPS, + progressContentDescription = stringResource(R.string.receiver_verify_step_description, ReceiverVerifyStep.COMPLETE), modifier = modifier, ) { Spacer(modifier = Modifier.height(RECEIVER_VERIFY_HEADER_SPACING)) diff --git a/feature/afternote/presentation/src/main/kotlin/com/afternote/feature/afternote/presentation/receiver/deliveryverification/component/ReceiverVerifySteps.kt b/feature/afternote/presentation/src/main/kotlin/com/afternote/feature/afternote/presentation/receiver/deliveryverification/component/ReceiverVerifySteps.kt index 7f097edc..d28475ef 100644 --- a/feature/afternote/presentation/src/main/kotlin/com/afternote/feature/afternote/presentation/receiver/deliveryverification/component/ReceiverVerifySteps.kt +++ b/feature/afternote/presentation/src/main/kotlin/com/afternote/feature/afternote/presentation/receiver/deliveryverification/component/ReceiverVerifySteps.kt @@ -2,22 +2,28 @@ package com.afternote.feature.afternote.presentation.receiver.deliveryverificati import androidx.compose.ui.unit.Dp import androidx.compose.ui.unit.dp +import com.afternote.feature.afternote.presentation.receiver.deliveryverification.component.ReceiverVerifyStep.IDENTITY /** - * 수신자 인증 흐름(designs 2·3·4·5·6·7·8)의 단계 상수. + * 수신자 인증 흐름(designs 2·3·4·5·6·7·8·9)의 단계 상수. * - * 본인 확인(1) → 마스터 키(2) → 서류 업로드(3). 진행 인디케이터의 `currentStep` 인자에 전달된다. - * `core/ui` 의 공용 [com.afternote.core.ui.scaffold.FlowStepScaffold] 사용 시 [RECEIVER_VERIFY_TOTAL_STEPS] - * 를 `totalSteps` 로 함께 넘긴다. + * 본인 확인(1) → 마스터 키(2) → 서류 업로드(3) → 완료(4). 진행 인디케이터의 `currentStep` 인자에 + * 전달된다. `core/ui` 의 공용 [com.afternote.core.ui.scaffold.FlowStepScaffold] 사용 시 + * [RECEIVER_VERIFY_TOTAL_STEPS] 를 `totalSteps` 로 함께 넘긴다. + * + * 주의: 단계는 4개지만 화면은 5개다 — 본인 확인(1)은 Intro·Email 두 화면이 공유한다(둘 다 [IDENTITY] + * 전달). 따라서 소개→이메일 전환 시 바가 25%에 멈춰 있고, 마지막 [COMPLETE](4)에서 바가 100%로 꽉 찬다 + * (완료를 바 숨김으로 두지 않고 진행을 끝까지 채워 보여준다). */ object ReceiverVerifyStep { const val IDENTITY: Int = 1 const val MASTER_KEY: Int = 2 const val DOCUMENTS: Int = 3 + const val COMPLETE: Int = 4 } -/** 수신자 인증 진행 단계 총수 (본인 확인·마스터 키·서류). */ -const val RECEIVER_VERIFY_TOTAL_STEPS: Int = 3 +/** 수신자 인증 진행 단계 총수 (본인 확인·마스터 키·서류·완료). */ +const val RECEIVER_VERIFY_TOTAL_STEPS: Int = 4 /** * 수신자 인증 흐름 공통: progress 아래·헤드라인 위 spacing. diff --git a/feature/afternote/presentation/src/main/res/values/strings.xml b/feature/afternote/presentation/src/main/res/values/strings.xml index 4b8aea51..5af9a92d 100644 --- a/feature/afternote/presentation/src/main/res/values/strings.xml +++ b/feature/afternote/presentation/src/main/res/values/strings.xml @@ -191,7 +191,7 @@ 업로드 중… 제출하신 서류를 확인 중입니다.\n빠르게 검토하여 열람하실 수 있도록 안내드리겠습니다. 받은 기록함으로 돌아가기 - 수신자 인증 진행도 3단계 중 %1$d단계 + 수신자 인증 진행도 4단계 중 %1$d단계 카카오로 로그인 카카오 토큰을 발급받았습니다. 서버 연동(/auth/kakao) 대기 중입니다. diff --git a/feature/afternote/presentation/src/screenshotTestDebug/reference/com/afternote/feature/afternote/presentation/receiver/deliveryverification/DeliveryVerificationCompleteScreenScreenshotTestKt/deliveryVerificationCompleteScreenScreenshot_748aa731_0.png b/feature/afternote/presentation/src/screenshotTestDebug/reference/com/afternote/feature/afternote/presentation/receiver/deliveryverification/DeliveryVerificationCompleteScreenScreenshotTestKt/deliveryVerificationCompleteScreenScreenshot_748aa731_0.png index 8b13c7aa..1db0caaf 100644 Binary files a/feature/afternote/presentation/src/screenshotTestDebug/reference/com/afternote/feature/afternote/presentation/receiver/deliveryverification/DeliveryVerificationCompleteScreenScreenshotTestKt/deliveryVerificationCompleteScreenScreenshot_748aa731_0.png and b/feature/afternote/presentation/src/screenshotTestDebug/reference/com/afternote/feature/afternote/presentation/receiver/deliveryverification/DeliveryVerificationCompleteScreenScreenshotTestKt/deliveryVerificationCompleteScreenScreenshot_748aa731_0.png differ diff --git a/feature/afternote/presentation/src/screenshotTestDebug/reference/com/afternote/feature/afternote/presentation/receiver/deliveryverification/IdentityVerificationIntroScreenScreenshotTestKt/identityVerificationIntroScreenScreenshot_748aa731_0.png b/feature/afternote/presentation/src/screenshotTestDebug/reference/com/afternote/feature/afternote/presentation/receiver/deliveryverification/IdentityVerificationIntroScreenScreenshotTestKt/identityVerificationIntroScreenScreenshot_748aa731_0.png index 55deb25d..d90f8a75 100644 Binary files a/feature/afternote/presentation/src/screenshotTestDebug/reference/com/afternote/feature/afternote/presentation/receiver/deliveryverification/IdentityVerificationIntroScreenScreenshotTestKt/identityVerificationIntroScreenScreenshot_748aa731_0.png and b/feature/afternote/presentation/src/screenshotTestDebug/reference/com/afternote/feature/afternote/presentation/receiver/deliveryverification/IdentityVerificationIntroScreenScreenshotTestKt/identityVerificationIntroScreenScreenshot_748aa731_0.png differ