From 4302a2a836baa3335186ee7942e61606ac466d9d Mon Sep 17 00:00:00 2001 From: optrader Date: Sun, 9 Nov 2025 10:44:10 +0900 Subject: [PATCH] =?UTF-8?q?[251109]=20refactor:=20App=20-=20App.js,=20Voic?= =?UTF-8?q?eInputOverlay.jsx,=20code=20=ED=8C=8C=EC=9D=BC=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=EB=B0=8F=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ๐Ÿ• ์ปค๋ฐ‹ ์‹œ๊ฐ„: 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() ๐Ÿ”ง ์ฃผ์š” ๋ณ€๊ฒฝ ๋‚ด์šฉ: โ€ข ํ•ต์‹ฌ ๋น„์ฆˆ๋‹ˆ์Šค ๋กœ์ง ๊ฐœ์„  --- code | 1 - com.twin.app.shoptime/src/App/App.js | 20 ++++++++++--------- .../VoiceInputOverlay/VoiceInputOverlay.jsx | 1 + 3 files changed, 12 insertions(+), 10 deletions(-) delete mode 160000 code diff --git a/code b/code deleted file mode 160000 index c2ac8e3c..00000000 --- a/code +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c2ac8e3c0173429410b4832ca33814a11e695f54 diff --git a/com.twin.app.shoptime/src/App/App.js b/com.twin.app.shoptime/src/App/App.js index 8ce10d2f..7eb37315 100644 --- a/com.twin.app.shoptime/src/App/App.js +++ b/com.twin.app.shoptime/src/App/App.js @@ -558,14 +558,16 @@ function AppBase(props) { // ์•ฑ ์ดˆ๊ธฐํ™” ์‹œ HomePanel ์ž๋™ ๊ธฐ๋ก console.log('[App.js] Recording initial HomePanel on app start'); - dispatch(enqueuePanelHistory( - 'homepanel', - {}, - 'APP_INITIALIZE', - new Date().toISOString(), - false, // fromGNB: false (์•ฑ ์ดˆ๊ธฐํ™”) - false // fromResetPanel: false (์•ฑ ์ดˆ๊ธฐํ™”) - )); + dispatch( + enqueuePanelHistory( + 'homepanel', + {}, + 'APP_INITIALIZE', + new Date().toISOString(), + false, // fromGNB: false (์•ฑ ์ดˆ๊ธฐํ™”) + false // fromResetPanel: false (์•ฑ ์ดˆ๊ธฐํ™”) + ) + ); if (httpHeaderRef.current) { if (haveyInit) { @@ -884,7 +886,7 @@ function AppBase(props) { /> )} - + {/* */} ); } diff --git a/com.twin.app.shoptime/src/views/SearchPanel/VoiceInputOverlay/VoiceInputOverlay.jsx b/com.twin.app.shoptime/src/views/SearchPanel/VoiceInputOverlay/VoiceInputOverlay.jsx index 74f07ae5..4311a91f 100644 --- a/com.twin.app.shoptime/src/views/SearchPanel/VoiceInputOverlay/VoiceInputOverlay.jsx +++ b/com.twin.app.shoptime/src/views/SearchPanel/VoiceInputOverlay/VoiceInputOverlay.jsx @@ -1126,6 +1126,7 @@ const VoiceInputOverlay = ({ // ํ˜„์žฌ ํฌ์ปค์Šค๋œ ์š”์†Œ ์ €์žฅ lastFocusedElement.current = Spotlight.getCurrent(); + console.log('[lastFocusedElement] ๐Ÿš€ Current focused element:', Spotlight.getCurrent()); // โœจ shopperHouseDataRef๋ฅผ null๋กœ ์ดˆ๊ธฐํ™” shopperHouseDataRef.current = null;