[251109] refactor: App - App.js, VoiceInputOverlay.jsx, code 파일 수정 및 삭제

🕐 커밋 시간: 2025. 11. 09. 10:44:10

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

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/App/App.js
  ~ com.twin.app.shoptime/src/views/SearchPanel/VoiceInputOverlay/VoiceInputOverlay.jsx

🗑️ 삭제된 파일:
  - code

🔧 함수 변경 내용:
  📄 com.twin.app.shoptime/src/App/App.js (javascript):
    🔄 Modified: resolveSpotlightIdFromEvent()
  📄 com.twin.app.shoptime/src/views/SearchPanel/VoiceInputOverlay/VoiceInputOverlay.jsx (javascript):
    🔄 Modified: clearAllTimers()

🔧 주요 변경 내용:
  • 핵심 비즈니스 로직 개선
This commit is contained in:
2025-11-09 10:44:10 +09:00
parent 3c49242722
commit 4302a2a836
3 changed files with 12 additions and 10 deletions

1
code

Submodule code deleted from c2ac8e3c01

View File

@@ -558,14 +558,16 @@ function AppBase(props) {
// 앱 초기화 시 HomePanel 자동 기록 // 앱 초기화 시 HomePanel 자동 기록
console.log('[App.js] Recording initial HomePanel on app start'); console.log('[App.js] Recording initial HomePanel on app start');
dispatch(enqueuePanelHistory( dispatch(
'homepanel', enqueuePanelHistory(
{}, 'homepanel',
'APP_INITIALIZE', {},
new Date().toISOString(), 'APP_INITIALIZE',
false, // fromGNB: false (앱 초기화) new Date().toISOString(),
false // fromResetPanel: false (앱 초기화) false, // fromGNB: false (앱 초기화)
)); false // fromResetPanel: false (앱 초기화)
)
);
if (httpHeaderRef.current) { if (httpHeaderRef.current) {
if (haveyInit) { if (haveyInit) {
@@ -884,7 +886,7 @@ function AppBase(props) {
/> />
)} )}
<ToastContainer /> <ToastContainer />
<GlobalPopup /> {/* <GlobalPopup /> */}
</ErrorBoundary> </ErrorBoundary>
); );
} }

View File

@@ -1126,6 +1126,7 @@ const VoiceInputOverlay = ({
// 현재 포커스된 요소 저장 // 현재 포커스된 요소 저장
lastFocusedElement.current = Spotlight.getCurrent(); lastFocusedElement.current = Spotlight.getCurrent();
console.log('[lastFocusedElement] 🚀 Current focused element:', Spotlight.getCurrent());
// ✨ shopperHouseDataRef를 null로 초기화 // ✨ shopperHouseDataRef를 null로 초기화
shopperHouseDataRef.current = null; shopperHouseDataRef.current = null;