fix: 채팅방 UI 개선 및 토큰 사용량 알림 토스트 전환 - #60
Merged
Merged
Conversation
- 전체 토큰 소모 스낵바 표시는 한번에서 사용자가 토큰 전부 사용하고 메시지 전송 시도할때마다 발행하도록 수정
- 세부적인 패딩, 컬러값 수정
# Conflicts: # core/designsystem/src/main/java/com/gamss/android/core/designsystem/component/GamssIcons.kt
seunghee17
marked this pull request as ready for review
August 20, 2026 12:50
seunghee17
marked this pull request as draft
August 20, 2026 14:24
seunghee17
marked this pull request as ready for review
August 20, 2026 14:40
soyeonLee126
requested changes
Aug 21, 2026
# Conflicts: # feature/chat/src/main/java/com/gamss/android/feature/chat/ChatRoomScreen.kt # feature/chat/src/main/java/com/gamss/android/feature/chat/ChatRoomViewModel.kt # feature/chat/src/main/res/values/strings.xml # feature/chat/src/test/java/com/gamss/android/feature/chat/ChatRoomTestFakes.kt
# Conflicts: # feature/chat/src/main/java/com/gamss/android/feature/chat/ChatRoomScreen.kt
soyeonLee126
approved these changes
Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
작업 개요
채팅방 화면 UI를 손그림 시안에 맞춰 다듬고, 애니메이션·키보드 스크롤 보정을 개선했습니다. 또한 토큰 사용량(10% 미만 남음/전부 소진) 알림 정책을 확정 사양대로 구현하고, 소진 시 입력창을 잠그고, 메시지 전송 UX(즉시 입력칸 비우기)를 개선했습니다.
작업 유형
변경 사항
GamssInputBar,ConversationCard(채팅목록 카드) 테두리를bg_textfield_default손그림 시안으로 교체 (9-slice로 늘어나도 선 굵기 유지, 여러 줄 입력 시 텍스트-테두리 여백 8dp 보장)TokenUsageRefreshNotifier로 전역 1회 통합, 토스트로 안내MessageInputBar는 전송 버튼뿐 아니라 입력창 자체를 잠그고, placeholder를 "토큰이 모두 소모되어 메시지를 전송할 수 없습니다"로 교체isExhausted상태 자체는 알림 여부와 무관하게 채팅방 진입 때마다 최신화되어, 입력창 잠금은 몇 번을 재진입해도 항상 정확하게 반영됨ChatRoomState.canSend에도isTokenExhausted를 반영해, UI(버튼 비활성화)를 우회하는 경로로onSend()가 불려도 서버에 요청이 나가지 않도록 방어관련 이슈
관련 작업 (Notion)
스크린샷 / 동작 화면
체크리스트
develop으로 설정되어 있다feat:,fix:등)을 따른다리뷰 요청 사항
아래는 이번에 정책이 새로 확정/변경된 지점이라 특히 봐주시면 좋겠습니다.