deeplink 디버그 재수정

This commit is contained in:
opacity@t-win.kr
2025-08-28 10:45:16 +09:00
parent eb9ee79f36
commit 44d3c05678
7 changed files with 257 additions and 85 deletions

View File

@@ -676,6 +676,7 @@ export default function MainView({ className, initService }) {
const contentTarget = useSelector(
(state) => state.common.deepLinkInfo.contentTarget
);
const deepLinkDebug = useSelector((state) => state.common.deepLinkDebug);
return (
<div
className={classNames(css.mainViewWrap, className)}
@@ -835,15 +836,88 @@ export default function MainView({ className, initService }) {
left: "0",
bottom: "0",
color: "#fff",
fontSize: "13px",
opacity: ".5",
fontSize: "11px",
opacity: ".8",
zIndex: "999",
backgroundColor: "black",
padding: "10px",
backgroundColor: "rgba(0,0,0,0.9)",
padding: "15px",
maxWidth: "600px",
maxHeight: "600px",
overflow: "auto",
borderRadius: "8px",
fontFamily: "monospace",
}}
>
deepLinkInfo
<p>{contentTarget}</p>
<div
style={{ fontWeight: "bold", marginBottom: "10px", color: "#00ff00" }}
>
🔍 DEEPLINK DEBUG INFO
</div>
<div style={{ marginBottom: "8px" }}>
<strong style={{ color: "#ffff00" }}>ContentTarget:</strong>
<div style={{ marginLeft: "10px", wordBreak: "break-all" }}>
{contentTarget || "없음"}
</div>
</div>
<div style={{ marginBottom: "8px" }}>
<strong style={{ color: "#ffff00" }}>Raw LaunchParams:</strong>
<div
style={{
marginLeft: "10px",
wordBreak: "break-all",
fontSize: "10px",
}}
>
{deepLinkDebug.rawLaunchParams || "없음"}
</div>
</div>
<div style={{ marginBottom: "8px" }}>
<strong style={{ color: "#ffff00" }}>Parsed Params:</strong>
<div style={{ marginLeft: "10px", fontSize: "10px" }}>
{deepLinkDebug.parsedParams
? JSON.stringify(deepLinkDebug.parsedParams, null, 1)
: "없음"}
</div>
</div>
<div style={{ marginBottom: "8px" }}>
<strong style={{ color: "#ffff00" }}>Final Params:</strong>
<div style={{ marginLeft: "10px", fontSize: "10px" }}>
{deepLinkDebug.finalParams
? JSON.stringify(deepLinkDebug.finalParams, null, 1)
: "없음"}
</div>
</div>
<div style={{ marginBottom: "8px" }}>
<strong style={{ color: "#ffff00" }}>Container Launch:</strong>
<span
style={{
marginLeft: "10px",
color: deepLinkDebug.containerLaunch ? "#00ff00" : "#ff0000",
}}
>
{deepLinkDebug.containerLaunch ? "YES" : "NO"}
</span>
</div>
{deepLinkDebug.parseError && (
<div style={{ marginBottom: "8px" }}>
<strong style={{ color: "#ff0000" }}>Parse Error:</strong>
<div
style={{ marginLeft: "10px", color: "#ff0000", fontSize: "10px" }}
>
{deepLinkDebug.parseError}
</div>
</div>
)}
<div style={{ fontSize: "9px", color: "#888", marginTop: "10px" }}>
Last Update: {deepLinkDebug.timestamp || "없음"}
</div>
</div>
</div>
);