frontend 속도 개선

This commit is contained in:
Macbook
2026-06-11 00:14:14 +09:00
parent 0ff1992b64
commit 54fdc3e77a
15 changed files with 522 additions and 71 deletions
+1
View File
@@ -2,6 +2,7 @@
* AppPopup — TradeAlertModal(tam-) 기준 공통 팝업 셸
* 신규 팝업은 이 컴포넌트를 사용하세요.
*/
import '../styles/appPopup.css';
import React from 'react';
import { createPortal } from 'react-dom';
import { useDraggablePanel } from '../hooks/useDraggablePanel';
@@ -1,6 +1,7 @@
/**
* BacktestHistoryPage — Golden Analysis Command Center (참조 UI 3열)
*/
import '../styles/backtestDashboard.css';
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import {
loadBacktestResults,
@@ -1,6 +1,7 @@
/**
* 모의투자 대시보드 — 가상매매와 동일 3열 레이아웃(좌·중앙·우 접기/리사이즈)
*/
import '../styles/paperDashboard.css';
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import {
loadPaperSummary,
+1
View File
@@ -250,6 +250,7 @@ export const TopMenuBar = memo(function TopMenuBar({
type="button"
className={`tmb-nav-btn ${activePage === page ? 'tmb-nav-btn--active' : ''}`}
onClick={() => onPage(page)}
onMouseEnter={page === 'chart' ? () => { void import('../chart/ChartWorkspaceRoot'); } : undefined}
>
<span className="tmb-nav-icon">{icon}</span>
<span className="tmb-nav-label">{label}</span>