실시간 차트 알림표시 위치 아이콘 버튼

This commit is contained in:
Macbook
2026-06-12 22:06:22 +09:00
parent 6118230471
commit 65fe1404b8
6 changed files with 47 additions and 32 deletions
+7 -3
View File
@@ -58,7 +58,6 @@ import { fmtListTimestamp } from '../utils/backtestUiUtils';
export interface ChartWorkspaceViewProps {
onOpenNotificationsPage: () => void;
onOpenAppDownload: () => void;
symbol: string;
timeframe: Timeframe;
chartType: ChartType;
@@ -315,7 +314,7 @@ export interface ChartWorkspaceViewProps {
function ChartWorkspaceViewInner(props: ChartWorkspaceViewProps) {
const {
onOpenNotificationsPage, onOpenAppDownload,
onOpenNotificationsPage,
symbol, timeframe, chartType, theme, mode, logScale, showGrid,
toolbarActiveIndicators, layoutDef, syncOptions, activeSlot,
activeSlotSymbol, activeSlotTf, slot0InitProps, slotInitProps,
@@ -383,7 +382,6 @@ function ChartWorkspaceViewInner(props: ChartWorkspaceViewProps) {
<>
<ChartToolbarNotify
onOpenNotifyList={onOpenNotificationsPage}
onOpenAppDownload={onOpenAppDownload}
symbol={symbol} timeframe={layoutDef.count > 1 ? activeSlotTf : timeframe} chartType={chartType}
theme={theme} mode={mode} logScale={logScale} showGrid={showGrid}
activeIndicators={toolbarActiveIndicators}
@@ -516,6 +514,12 @@ function ChartWorkspaceViewInner(props: ChartWorkspaceViewProps) {
chartQuoteError={error}
priceExtremeLabelsVisible={chartPriceExtremeLabelsVisible}
onTogglePriceExtremeLabels={handleTogglePriceExtremeLabels}
tradeAlertPopupPosition={appDefaults.tradeAlertPopupPosition}
tradeAlertPopupLayout={appDefaults.tradeAlertPopupLayout}
tradeAlertPopupGridCols={appDefaults.tradeAlertPopupGridCols}
onTradeAlertPopupPosition={v => saveAppDef({ tradeAlertPopupPosition: v })}
onTradeAlertPopupLayout={v => saveAppDef({ tradeAlertPopupLayout: v })}
onTradeAlertPopupGridCols={v => saveAppDef({ tradeAlertPopupGridCols: v })}
/>
{isMobile && (showMarketPanel || mobileRightOpen) && (
-3
View File
@@ -164,7 +164,6 @@ export interface UseChartWorkspaceParams {
saveAllIndicatorDefaults: ReturnType<typeof import('../hooks/useIndicatorSettings').useIndicatorSettings>['saveAllIndicatorDefaults'];
indicatorSettingsRevision: number;
onOpenNotificationsPage: () => void;
onOpenAppDownload: () => void;
}
export interface SettingsPageChartBindings {
@@ -223,7 +222,6 @@ export function useChartWorkspace({
saveAllIndicatorDefaults: _saveAllIndicatorDefaults,
indicatorSettingsRevision,
onOpenNotificationsPage,
onOpenAppDownload,
}: UseChartWorkspaceParams) {
void _saveAllIndicatorDefaults;
const initial = loadState();
@@ -1969,7 +1967,6 @@ export function useChartWorkspace({
const viewProps: ChartWorkspaceViewProps = {
onOpenNotificationsPage,
onOpenAppDownload,
symbol, timeframe, chartType, theme, mode, logScale, showGrid,
toolbarActiveIndicators, layoutDef, syncOptions, activeSlot,
activeSlotSymbol, activeSlotTf, slot0InitProps, slotInitProps,