Skip to content

사전질문 기능 개선 및 티켓 상세 화면 사전질문 섹션 추가#447

Merged
mangbaam merged 8 commits intodevelopfrom
feature/Boolti-444
Mar 6, 2026
Merged

사전질문 기능 개선 및 티켓 상세 화면 사전질문 섹션 추가#447
mangbaam merged 8 commits intodevelopfrom
feature/Boolti-444

Conversation

@mangbaam
Copy link
Member

@mangbaam mangbaam commented Mar 4, 2026

Issue

#444

참고

텍스트필드는 #445 여기서 스펙이 변경되었기 때문에 흐린눈으로 넘어가십쇼

작업 내용

티켓 상세 화면에 사전질문 섹션 추가

  • 티켓 상세 화면에서 사전질문 답변을 확인할 수 있는 섹션 추가
  • PreQuestionAnswerItem 컴포넌트 신규 생성
  • TicketDetailViewModel에 사전질문 데이터 로딩 로직 추가

사전질문 답변 응답 nullable 처리

  • PreQuestionAnswerItemResponse.answerString?으로 변경
  • 답변이 없는 경우 빈 문자열로 폴백 처리

BTTextField 높이 로직 개선

  • minHeightheight 파라미터로 변경
  • singleLine 기본값을 true로 변경
  • singleLine=48dp, multiLine=160dp 자동 결정

UI 개선

  • 환불 정보 페이지 공연 항목에 fillMaxWidth 추가
  • 사전질문 답변 섹션 패딩 조정 (16dp → 20dp)

🤖 Generated with Claude Code

mangbaam and others added 7 commits March 1, 2026 15:26
- minHeight 파라미터를 height(고정 높이)로 변경
- singleLine 기본값을 true로 변경하고, singleLine에 따라 높이 자동 결정
- BTClearableTextField의 trailingIcon null 전달 버그 수정

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- PreQuestionAnswerItem을 공유 컴포넌트로 추출
- TicketDetailViewModel에 ReservationRepository 의존성 추가하여 사전질문 답변 및 수정 가능 여부 조회
- TicketDetailScreen에 PreQuestionSection 추가 (기본 접힘 상태, RefundPolicySection과 동일 스타일)
- Section 컴포저블에 expand/collapse 로직 내재화 및 AnimatedVisibility 적용
- PreQuestionAnswerResponse.answer 필드를 nullable로 변경

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- BasicTextField(value, onValueChange)에서 BasicTextField(state: TextFieldState)로 내부 구현 마이그레이션
- 멀티라인 모드에서 스크롤 시 상하단 EdgeFade 그래디언트 표시
- 외부 스크롤로 LazyColumn contentPadding과 유사한 패딩 동작 구현
- dpToSp 확장 프로퍼티 추가 (시스템 폰트 크기와 무관한 고정 크기 렌더링)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…KeyboardActionHandler로 교체

- BTTextField 파라미터를 새 Compose API로 변경 (outputTransformation, onKeyboardAction)
- PhoneNumberVisualTransformation을 OutputTransformation 구현체로 전환
- 내부 어댑터 로직 제거, 호출자가 직접 새 API 사용

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mangbaam mangbaam requested a review from HamBP March 4, 2026 19:11
@mangbaam mangbaam self-assigned this Mar 4, 2026
@github-actions
Copy link

github-actions bot commented Mar 4, 2026

Test Results

12 files  12 suites   0s ⏱️
 9 tests  9 ✅ 0 💤 0 ❌
20 runs  20 ✅ 0 💤 0 ❌

Results for commit 4a8fd73.

Copy link
Member

@HamBP HamBP left a comment

Choose a reason for hiding this comment

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

어푸합니다

reservationRepository.findReservationById(ticketId)
.onEach { detail ->
_uiState.update {
it.copy(canEditPreQuestion = detail.salesEndDateTime >= LocalDateTime.now())
Copy link
Member

Choose a reason for hiding this comment

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

서버 형아들한테 salesEndDateTime을 티켓 상세 API에 추가해달라 하면 해줄 거 같기두

Copy link
Member Author

Choose a reason for hiding this comment

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

AISelect_20260306_161637_Discord.jpg

AISelect_20260306_161708_Discord.jpg

Copy link
Member Author

Choose a reason for hiding this comment

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

일단 머지하고 별도 pr에서 반영할게여

Copy link
Member

@HamBP HamBP Mar 6, 2026

Choose a reason for hiding this comment

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

저게 저내용이었구만! 다 계획이 있었어

BTTextField TextFieldState 마이그레이션 및 스크롤 그래디언트 추가
@mangbaam mangbaam merged commit 49b60b2 into develop Mar 6, 2026
1 check passed
@mangbaam mangbaam deleted the feature/Boolti-444 branch March 6, 2026 07:17
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.

2 participants