[251017] fix: VUI disable
🕐 커밋 시간: 2025. 10. 17. 17:14:07 📊 변경 통계: • 총 파일: 9개 • 추가: +201줄 • 삭제: -45줄 📁 추가된 파일: + com.twin.app.shoptime/ai_poc_list.json + com.twin.app.shoptime/src/constants/featureFlags.js 📝 수정된 파일: ~ com.twin.app.shoptime/src/App/App.js ~ com.twin.app.shoptime/src/actions/voiceActions.js ~ com.twin.app.shoptime/src/components/TabLayout/TabLayout.jsx ~ com.twin.app.shoptime/src/hooks/useSearchVoice.js ~ com.twin.app.shoptime/src/views/MainView/MainView.jsx ~ com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.new.jsx ~ com.twin.app.shoptime/src/views/SearchPanel/VoiceInputOverlay/VoiceInputOverlay.jsx 🔧 함수 변경 내용: 📄 com.twin.app.shoptime/src/App/App.js (javascript): 🔄 Modified: function() 📄 com.twin.app.shoptime/src/actions/voiceActions.js (javascript): ✅ Added: addLog() 🔧 주요 변경 내용: • 핵심 비즈니스 로직 개선 • UI 컴포넌트 아키텍처 개선
This commit is contained in:
@@ -461,31 +461,33 @@ function AppBase(props) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* VUI_DISABLE_START - VUI Intent 처리 비활성화 */
|
||||
// Voice Intent 처리 (최우선)
|
||||
if (launchParams.intent) {
|
||||
const { intent, intentParam, languageCode } = launchParams;
|
||||
console.log('[App] Voice Intent received:', { intent, intentParam, languageCode });
|
||||
// if (launchParams.intent) {
|
||||
// const { intent, intentParam, languageCode } = launchParams;
|
||||
// console.log('[App] Voice Intent received:', { intent, intentParam, languageCode });
|
||||
|
||||
// SearchContent 또는 PlayContent intent 처리
|
||||
if (intent === 'SearchContent' || intent === 'PlayContent') {
|
||||
dispatch(
|
||||
pushPanel({
|
||||
name: Config.panel_names.SEARCH_PANEL,
|
||||
panelInfo: {
|
||||
voiceSearch: true, // 음성 검색 플래그
|
||||
searchVal: intentParam, // 검색어
|
||||
languageCode: languageCode,
|
||||
},
|
||||
})
|
||||
);
|
||||
// // SearchContent 또는 PlayContent intent 처리
|
||||
// if (intent === 'SearchContent' || intent === 'PlayContent') {
|
||||
// dispatch(
|
||||
// pushPanel({
|
||||
// name: Config.panel_names.SEARCH_PANEL,
|
||||
// panelInfo: {
|
||||
// voiceSearch: true, // 음성 검색 플래그
|
||||
// searchVal: intentParam, // 검색어
|
||||
// languageCode: languageCode,
|
||||
// },
|
||||
// })
|
||||
// );
|
||||
|
||||
console.log(`[App] Opening SearchPanel with voice query: ${intentParam}`);
|
||||
if (typeof window === 'object' && window.PalmSystem) {
|
||||
window.PalmSystem.activate();
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
// console.log(`[App] Opening SearchPanel with voice query: ${intentParam}`);
|
||||
// if (typeof window === 'object' && window.PalmSystem) {
|
||||
// window.PalmSystem.activate();
|
||||
// }
|
||||
// return;
|
||||
// }
|
||||
// }
|
||||
/* VUI_DISABLE_END */
|
||||
|
||||
// 기존 로직 유지
|
||||
if (introTermsAgreeRef.current) {
|
||||
|
||||
Reference in New Issue
Block a user