[251104] fix: VoiceInput Bubble

🕐 커밋 시간: 2025. 11. 04. 15:56:09

📊 변경 통계:
  • 총 파일: 2개
  • 추가: +1줄
  • 삭제: -1줄

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/views/SearchPanel/SearchResults.new.v2.jsx
  ~ com.twin.app.shoptime/src/views/SearchPanel/VoiceInputOverlay/VoiceInputOverlay.jsx

🔧 주요 변경 내용:
  • 코드 정리 및 최적화
This commit is contained in:
2025-11-04 15:56:10 +09:00
parent 851fa95b47
commit f087ec6063
2 changed files with 3 additions and 3 deletions

View File

@@ -890,8 +890,8 @@ const SearchResultsNew = ({
data-spotlight-up="howAboutThese-seeMore"
/>
{/* No matches 텍스트 - rangeType이 'SIMILAR'이 아닐 때만 표시 */}
{convertedShopperHouseItems?.[0]?.rangeType?.toUpperCase?.() !== 'SIMILAR' && (
{/* No matches 텍스트 - VOICE_RESULT 모드에서만 표시 */}
{convertedShopperHouseItems?.[0]?.rangeType?.toUpperCase?.() === 'VOICE_RESULT' && (
<div className={css.noMatchesText}>
No matches, Showing suggestions
</div>

View File

@@ -213,7 +213,7 @@ const VoiceInputOverlay = ({
const [isSilenceCheckActive, setIsSilenceCheckActive] = useState(false);
const [hasReached5Chars, setHasReached5Chars] = useState(false); // 처음 5글자 도달 추적
// 💬 Bubble 버튼 상태 (true: 버튼 O, false: 텍스트만)
const [isBubbleButton, setIsBubbleButton] = useState(true); // 첫 발화때는 true (Try Saying)
const [isBubbleButton, setIsBubbleButton] = useState(false); // 첫 발화때는 true (Try Saying)
// useSearchHistory Hook 적용 (음성검색 기록 관리)
const { addVoiceSearch } = useSearchHistory();