FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.
C++ ai-agentsalgorithmic-tradingbloomberg-terminalcppfinancefinancial-marketsfintechgood-first-issueinvestmentinvestment-researchmachine-learningopensourcepythonqtquantitative-financestock-markettrading
header/footer update
tilakpatel22d10f809ce4b4
diff --git a/fincept-terminal-desktop/src/components/common/TabFooter.tsx b/fincept-terminal-desktop/src/components/common/TabFooter.tsxnew file mode 100644index 000000000..bb5b22c6c--- /dev/null+++ b/fincept-terminal-desktop/src/components/common/TabFooter.tsx@@ -0,0 +1,90 @@+import React from 'react';+import { APP_VERSION, APP_NAME } from '@/constants/version';++interface TabFooterProps {+ /** The name of the current tab/section */+ tabName: string;+ /** Optional status or info message to display on the right */+ statusInfo?: string | React.ReactNode;+ /** Optional left-side additional info items */+ leftInfo?: Array<{ label: string; value?: string; color?: string }>;+ /** Optional custom background color */+ backgroundColor?: string;+ /** Optional custom border color */+ borderColor?: string;+}++/**+ * Unified, customizable footer component for all tabs+ * Displays consistent branding, version info, and tab-specific status+ */+export const TabFooter: React.FC<TabFooterProps> = ({+ tabName,+ statusInfo,+ leftInfo = [],+ backgroundColor = '#1a1a1a',+ borderColor = '#ea580c',+}) => {+ const COLORS = {+ ORANGE: '#ea580c',+ CYAN: '#06b6d4',+ GREEN: '#10b981',+ GRAY: '#6b7280',+ WHITE: '#ffffff',+ };++ return (+ <div+ style={{+ borderTop: `2px solid ${borderColor}`,+ backgroundColor: backgroundColor,+ padding: '8px 16px',+ fontSize: '11px',+ flexShrink: 0,+ fontFamily: 'Consolas, "Courier New", monospace',+ }}+ >+ <div+ style={{+ display: 'flex',+ justifyContent: 'space-between',+ alignItems: 'center',+ flexWrap: 'wrap',+ gap: '12px',+ }}+ >+ {/* Left Side: Branding + Tab Name + Additional Info */}+ <div style={{ display: 'flex', alignItems: 'center', gap: '12px', flexWrap: 'wrap' }}>+ <span style={{ color: COLORS.ORANGE, fontWeight: 'bold', fontSize: '12px' }}>+ {APP_NAME.toUpperCase()} v{APP_VERSION}+ </span>+ <span style={{ color: COLORS.GRAY }}>|</span>+ <span style={{ color: COLORS.CYAN, fontWeight: '600' }}>{tabName}</span>++ {leftInfo.length > 0 && (+ <>+ <span style={{ color: COLORS.GRAY }}>|</span>+ {leftInfo.map((info, index) => (+ <React.Fragment key={index}>+ <span style={{ color: info.color || COLORS.WHITE }}>+ {info.label}{info.value ? `: ${info.value}` : ''}+ </span>+ {index < leftInfo.length - 1 && <span style={{ color: COLORS.GRAY }}>|</span>}+ </React.Fragment>+ ))}+ </>+ )}+ </div>++ {/* Right Side: Status/Info */}+ {statusInfo && (+ <div style={{ color: COLORS.GRAY, fontSize: '10px' }}>+ {statusInfo}+ </div>+ )}+ </div>+ </div>+ );+};++export default TabFooter;diff --git a/fincept-terminal-desktop/src/components/common/TabHeader.tsx b/fincept-terminal-desktop/src/components/common/TabHeader.tsxnew file mode 100644index 000000000..6ef63ef7e--- /dev/null+++ b/fincept-terminal-desktop/src/components/common/TabHeader.tsx@@ -0,0 +1,100 @@+import React from 'react';+import { APP_VERSION, APP_NAME } from '@/constants/version';++interface TabHeaderProps {+ /** The title of the current tab */+ title: string;+ /** Optional subtitle or description */+ subtitle?: string;+ /** Optional icon element */+ icon?: React.ReactNode;+ /** Optional actions/buttons to display on the right */+ actions?: React.ReactNode;+ /** Optional custom background color */+ backgroundColor?: string;+ /** Optional custom border color */+ borderColor?: string;+ /** Hide version info (default: false) */+ hideVersion?: boolean;+}++/**+ * Unified, customizable header component for all tabs+ * Displays consistent tab title, optional icon, subtitle, and actions+ */+export const TabHeader: React.FC<TabHeaderProps> = ({+ title,+ subtitle,+ icon,+ actions,+ backgroundColor = '#1a1a1a',+ borderColor = '#ea580c',+ hideVersion = false,+}) => {+ const COLORS = {+ ORANGE: '#ea580c',+ CYAN: '#06b6d4',+ GREEN: '#10b981',+ GRAY: '#6b7280',+ WHITE: '#ffffff',+ };++ return (+ <div+ style={{+ borderBottom: `2px solid ${borderColor}`,+ backgroundColor: backgroundColor,+ padding: '12px 16px',+ flexShrink: 0,+ fontFamily: 'Consolas, "Courier New", monospace',+ }}+ >+ <div+ style={{+ display: 'flex',+ justifyContent: 'space-between',+ alignItems: 'center',+ gap: '16px',+ }}+ >+ {/* Left Side: Icon + Title + Subtitle */}+ <div style={{ display: 'flex', alignItems: 'center', gap: '12px', flex: 1 }}>+ {icon && (+ <div style={{ color: COLORS.ORANGE, display: 'flex', alignItems: 'center' }}>+ {icon}+ </div>+ )}+ <div style={{ display: 'flex', flexDirection: 'column', gap: '4px' }}>+ <div style={{ display: 'flex', alignItems: 'center', gap: '8px' }}>+ <span style={{ color: COLORS.WHITE, fontWeight: 'bold', fontSize: '16px' }}>+ {title}+ </span>+ {!hideVersion && (+ <>+ <span style={{ color: COLORS.GRAY, fontSize: '12px' }}>|</span>+ <span style={{ color: COLORS.ORANGE, fontSize: '11px', fontWeight: '600' }}>+ {APP_NAME} v{APP_VERSION}+ </span>+ </>+ )}+ </div>+ {subtitle && (+ <span style={{ color: COLORS.GRAY, fontSize: '11px' }}>+ {subtitle}+ </span>+ )}+ </div>+ </div>++ {/* Right Side: Actions */}+ {actions && (+ <div style={{ display: 'flex', alignItems: 'center', gap: '8px' }}>+ {actions}+ </div>+ )}+ </div>+ </div>+ );+};++export default TabHeader;diff --git a/fincept-terminal-desktop/src/components/dashboard/DashboardScreen.tsx b/fincept-terminal-desktop/src/components/dashboard/DashboardScreen.tsxindex 34b147648..0bec7ef55 100644--- a/fincept-terminal-desktop/src/components/dashboard/DashboardScreen.tsx+++ b/fincept-terminal-desktop/src/components/dashboard/DashboardScreen.tsx@@ -9,6 +9,7 @@ import { useCurrentTime, useDefaultTime } from '@/contexts/TimezoneContext';import { ChatModeInterface } from '@/components/chat-mode';import { APP_VERSION } from '@/constants/version';import { useAutoUpdater } from '@/hooks/useAutoUpdater';+import { exit } from '@tauri-apps/plugin-process';import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle } from '@/components/ui/dialog';import { Button } from '@/components/ui/button';import { Progress } from '@/components/ui/progress';@@ -162,7 +163,7 @@ function FinxeptTerminalContent() {const [activeTab, setActiveTab] = useState("dashboard");const [isFullscreen, setIsFullscreen] = useState(false);const [statusMessage, setStatusMessage] = useState("");- const { updateAvailable, updateInfo, isInstalling, installProgress, error, installUpdate, dismissUpdate } = useAutoUpdater();+ const { updateAvailable, updateInfo, isInstalling, installProgress, error, installUpdate, dismissUpdate, checkForUpdate } = useAutoUpdater();// Dynamic tab configurationconst [tabConfig, setTabConfig] = useState(() => tabConfigService.getConfiguration());@@ -394,7 +395,8 @@ function FinxeptTerminalContent() {break;case 'check_updates':setStatusMessage("Checking for updates...");- setTimeout(() => setStatusMessage("You are running the latest version"), 3000);+ await checkForUpdate();+ setTimeout(() => setStatusMessage(""), 3000);break;case 'logout':setStatusMessage("Logging out...");@@ -402,8 +404,16 @@ function FinxeptTerminalContent() {window.location.href = '/';break;case 'exit':- setStatusMessage("Use Alt+F4 to close the application");- setTimeout(() => setStatusMessage(''), 3000);+ setStatusMessage("Closing application...");+ setTimeout(async () => {+ try {+ await exit(0);+ } catch (error) {+ console.error('Failed to exit application:', error);+ setStatusMessage("Failed to close - Use Alt+F4");+ setTimeout(() => setStatusMessage(''), 3000);+ }+ }, 500);break;default:setTimeout(() => setStatusMessage(''), 3000);@@ -503,12 +513,7 @@ function FinxeptTerminalContent() {// Menu configurations with tab navigationconst fileMenuItems = [- { label: 'New Workspace', shortcut: 'Ctrl+N', icon: null, action: 'new_workspace' },- { label: 'Open Workspace', shortcut: 'Ctrl+O', icon: null, action: 'open_workspace' },- { label: 'Save Workspace', shortcut: 'Ctrl+S', icon: null, action: 'save_workspace' },- { label: 'Export Portfolio', shortcut: 'Ctrl+E', icon: <Download size={12} />, action: 'export', separator: true },- { label: 'Import Data', icon: null, action: 'import_data' },- { label: 'Exit', shortcut: 'Alt+F4', icon: null, action: 'exit', separator: true }+ { label: 'Exit', shortcut: 'Alt+F4', icon: null, action: 'exit' }];const marketsMenuItems = [@@ -555,18 +560,13 @@ function FinxeptTerminalContent() {];const viewMenuItems = [- { label: 'Fullscreen', shortcut: 'F11', icon: isFullscreen ? <Minimize size={12} /> : <Maximize size={12} />, action: 'fullscreen' },- { label: 'Zoom In', shortcut: 'Ctrl++', icon: null, action: 'zoom_in' },- { label: 'Zoom Out', shortcut: 'Ctrl+-', icon: null, action: 'zoom_out' },- { label: 'Reset Zoom', shortcut: 'Ctrl+0', icon: null, action: 'zoom_reset', separator: true },- { label: 'Toggle Theme', icon: <Eye size={12} />, action: 'toggle_theme' }+ { label: 'Fullscreen', shortcut: 'F11', icon: isFullscreen ? <Minimize size={12} /> : <Maximize size={12} />, action: 'fullscreen' }];const helpMenuItems = [{ label: 'Documentation', action: () => setActiveTab('docs') },{ label: 'Support Tickets', action: () => setActiveTab('support') },- { label: 'Keyboard Shortcuts', shortcut: 'Ctrl+/', action: 'show_shortcuts', separator: true },- { label: 'About Fincept', action: 'show_about' },+ { label: 'About Fincept', action: 'show_about', separator: true },{ label: 'Check for Updates', action: 'check_updates' },{ label: 'Logout', icon: <LogOut size={12} />, action: 'logout', separator: true }];diff --git a/fincept-terminal-desktop/src/components/tabs/AgentConfigTab.tsx b/fincept-terminal-desktop/src/components/tabs/AgentConfigTab.tsxindex 523bbcf48..4569e3169 100644--- a/fincept-terminal-desktop/src/components/tabs/AgentConfigTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/AgentConfigTab.tsx@@ -22,6 +22,7 @@ import {Key,} from 'lucide-react';import { sqliteService, type LLMConfig } from '@/services/sqliteService';+import { TabFooter } from '@/components/common/TabFooter';// Bloomberg Professional Color Paletteconst BLOOMBERG = {@@ -1285,6 +1286,17 @@ const AgentConfigTab: React.FC = () => {)}</div>+ <TabFooter+ tabName="AGENT CONFIGURATION"+ leftInfo={[+ { label: `Agents: ${agentConfigs.length}`, color: BLOOMBERG.GRAY },+ { label: `LLM Configs: ${llmConfigs.length}`, color: BLOOMBERG.GRAY },+ { label: `Active: ${llmConfigs.filter(c => c.is_active).length}`, color: BLOOMBERG.GREEN },+ ]}+ statusInfo={testResult ? (testResult.success ? 'Test Passed' : 'Test Failed') : 'Ready'}+ backgroundColor={BLOOMBERG.PANEL_BG}+ borderColor={BLOOMBERG.BORDER}+ /></div>);};diff --git a/fincept-terminal-desktop/src/components/tabs/AlphaArenaTab.tsx b/fincept-terminal-desktop/src/components/tabs/AlphaArenaTab.tsxindex dabaeebc3..237230cbc 100644--- a/fincept-terminal-desktop/src/components/tabs/AlphaArenaTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/AlphaArenaTab.tsx@@ -6,6 +6,7 @@import React, { useState, useEffect } from 'react';import { Trophy, Play, Square, TrendingUp, TrendingDown, RefreshCw } from 'lucide-react';import { invoke } from '@tauri-apps/api/core';+import { TabFooter } from '@/components/common/TabFooter';// Bloomberg color paletteconst COLORS = {@@ -793,6 +794,18 @@ const AlphaArenaTab: React.FC = () => {</div></div></div>++ <TabFooter+ tabName="ALPHA ARENA"+ leftInfo={[+ { label: `Competition: ${competitionId || 'None'}`, color: COLORS.GRAY },+ { label: `Models: ${leaderboard.length}`, color: COLORS.GRAY },+ { label: `Status: ${isRunning ? 'RUNNING' : 'STOPPED'}`, color: isRunning ? COLORS.GREEN : COLORS.RED },+ ]}+ statusInfo={`Cycle: ${currentCycle} | Decisions: ${recentDecisions.length} | ${status}`}+ backgroundColor={COLORS.PANEL_BG}+ borderColor={COLORS.BORDER}+ /></div>);};diff --git a/fincept-terminal-desktop/src/components/tabs/BacktestingTab.tsx b/fincept-terminal-desktop/src/components/tabs/BacktestingTab.tsxindex ff24090ea..65f8a8d3d 100644--- a/fincept-terminal-desktop/src/components/tabs/BacktestingTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/BacktestingTab.tsx@@ -36,6 +36,7 @@ import { useTerminalTheme } from '@/contexts/ThemeContext';import { BacktestRequest, BacktestResult } from '@/services/backtesting/interfaces/types';import { StrategyDefinition } from '@/services/backtesting/interfaces/IStrategyDefinition';import { STRATEGY_TEMPLATES, fillTemplate, type StrategyTemplate } from '@/services/backtesting/StrategyTemplates';+import { TabFooter } from '@/components/common/TabFooter';type EditorMode = 'code' | 'visual' | 'template';@@ -1598,23 +1599,21 @@ export default function BacktestingTab() {</div>{/* Footer / Status Bar */}- <div style={{- borderTop: `1px solid ${colors.textMuted}`,- backgroundColor: colors.panel,- padding: '4px 12px',- fontSize: '10px',- color: colors.textMuted,- flexShrink: 0- }}>- <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>- <div style={{ display: 'flex', gap: '16px' }}>- <span>Backtesting System v1.0 | Strategy testing and optimization platform</span>- <span>- {activeProvider ? `Provider: ${activeProvider}` : 'No provider active'} |- {backtestHistory.length > 0 ? ` History: ${backtestHistory.length} runs` : ' No backtest history'}- </span>- </div>- <div style={{ display: 'flex', gap: '16px' }}>+ <TabFooter+ tabName="BACKTESTING"+ leftInfo={[+ { label: 'Strategy testing and optimization platform', color: colors.textMuted },+ {+ label: activeProvider ? `Provider: ${activeProvider}` : 'No provider active',+ color: colors.textMuted+ },+ {+ label: backtestHistory.length > 0 ? `History: ${backtestHistory.length} runs` : 'No backtest history',+ color: colors.textMuted+ },+ ]}+ statusInfo={+ <div style={{ display: 'flex', gap: '16px', alignItems: 'center' }}>{currentResult && currentResult.status === 'completed' && (<><span>Total Return: {formatPercentage(currentResult.performance.totalReturn ?? 0)}</span>@@ -1622,12 +1621,14 @@ export default function BacktestingTab() {<span>Max DD: {formatPercentage(currentResult.performance.maxDrawdown ?? 0)}</span></>)}- <span style={{ color: isRunning ? colors.warning : colors.secondary }}>+ <span style={{ color: isRunning ? colors.warning : colors.secondary, fontWeight: 'bold' }}>{isRunning ? 'RUNNING...' : 'READY'}</span></div>- </div>- </div>+ }+ backgroundColor={colors.panel}+ borderColor={colors.textMuted}+ /></div>);}diff --git a/fincept-terminal-desktop/src/components/tabs/ChatTab.tsx b/fincept-terminal-desktop/src/components/tabs/ChatTab.tsxindex 8a3e9cb93..67c4aa043 100644--- a/fincept-terminal-desktop/src/components/tabs/ChatTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/ChatTab.tsx@@ -9,6 +9,7 @@ import { contextRecorderService } from '../../services/contextRecorderService';import LLMSettingsModal from './LLMSettingsModal';import MarkdownRenderer from '../common/MarkdownRenderer';import ContextSelector from '../common/ContextSelector';+import { TabFooter } from '@/components/common/TabFooter';interface ChatTabProps {onNavigateToSettings?: () => void;@@ -1187,6 +1188,18 @@ const ChatTab: React.FC<ChatTabProps> = ({ onNavigateToSettings, onNavigateToTab}}onNavigateToSettings={onNavigateToSettings}/>++ {/* Footer */}+ <TabFooter+ tabName="AI CHAT"+ leftInfo={[+ { label: `Provider: ${currentProvider?.toUpperCase() || 'NONE'}`, color: colors.textMuted },+ { label: `Session: ${currentSession?.id ? 'Active' : 'None'}`, color: colors.textMuted },+ ]}+ statusInfo={`Messages: ${messages.length} | ${isStreaming ? 'Streaming...' : 'Ready'}`}+ backgroundColor={colors.panel}+ borderColor={colors.textMuted}+ /></div>);};diff --git a/fincept-terminal-desktop/src/components/tabs/CodeEditorTab.tsx b/fincept-terminal-desktop/src/components/tabs/CodeEditorTab.tsxindex 4c9ed029a..245376996 100644--- a/fincept-terminal-desktop/src/components/tabs/CodeEditorTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/CodeEditorTab.tsx@@ -4,6 +4,7 @@ import { invoke } from '@tauri-apps/api/core';import { open, save } from '@tauri-apps/plugin-dialog';import { notebookService } from '@/services/notebookService';import { useTerminalTheme } from '@/contexts/ThemeContext';+import { TabFooter } from '@/components/common/TabFooter';interface EditorFile {id: string;@@ -1261,27 +1262,25 @@ ${result.output}</div>{/* Footer */}- <div style={{ borderTop: `2px solid ${C.ORANGE}`, backgroundColor: C.PANEL_BG, padding: '8px 16px', fontSize: '11px' }}>- <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>- <div style={{ display: 'flex', alignItems: 'center', gap: '16px' }}>- <span style={{ color: C.ORANGE, fontWeight: 'bold' }}>FINCEPT CODE EDITOR v1.0</span>- <span style={{ color: C.GRAY }}>|</span>- <span style={{ color: C.CYAN }}>FinScript Language Support</span>- <span style={{ color: C.GRAY }}>|</span>- <span style={{ color: C.BLUE }}>Jupyter Integration</span>- {editorMode === 'notebook' && currentNotebookPath && (- <>- <span style={{ color: C.GRAY }}>|</span>- <span style={{ color: C.YELLOW, fontSize: '10px' }}>{currentNotebookPath.split(/[/\\]/).pop()}</span>- </>- )}- </div>- <div style={{ color: C.GRAY }}>+ <TabFooter+ tabName="CODE EDITOR"+ leftInfo={[+ { label: 'FinScript Language Support', color: C.CYAN },+ { label: 'Jupyter Integration', color: C.BLUE },+ ...(editorMode === 'notebook' && currentNotebookPath+ ? [{ label: currentNotebookPath.split(/[/\\]/).pop() || '', color: C.YELLOW }]+ : []+ ),+ ]}+ statusInfo={+ <>Mode: <span style={{ color: C.ORANGE, fontWeight: 'bold' }}>{editorMode.toUpperCase()}</span>{editorMode === 'code' ? ` | Files: ${files.length}` : ` | Cells: ${notebookCells.length} | Exec: ${executionCounter - 1}`}- </div>- </div>- </div>+ </>+ }+ backgroundColor={C.PANEL_BG}+ borderColor={C.ORANGE}+ /></div>);}diff --git a/fincept-terminal-desktop/src/components/tabs/DBnomicsTab.tsx b/fincept-terminal-desktop/src/components/tabs/DBnomicsTab.tsxindex ad7694b9c..f60e270ea 100644--- a/fincept-terminal-desktop/src/components/tabs/DBnomicsTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/DBnomicsTab.tsx@@ -1,6 +1,7 @@import React, { useState } from 'react';import { RefreshCw, Download, Plus, Minus, Trash2 } from 'lucide-react';import { useTerminalTheme } from '@/contexts/ThemeContext';+import { TabFooter } from '@/components/common/TabFooter';interface Provider {code: string;@@ -800,6 +801,18 @@ export default function DBnomicsTab() {</div></div></div>++ <TabFooter+ tabName="DBNOMICS ECONOMIC DATABASE"+ leftInfo={[+ { label: `Providers: ${providers.length}`, color: colors.textMuted },+ { label: `Datasets: ${datasets.length}`, color: colors.textMuted },+ { label: `Series: ${seriesList.length}`, color: colors.textMuted },+ ]}+ statusInfo={`${status} | Comparisons: ${selectedDataPoints.length} active`}+ backgroundColor={colors.panel}+ borderColor={colors.textMuted}+ /></div>);}\ No newline at end of filediff --git a/fincept-terminal-desktop/src/components/tabs/DashboardTab.tsx b/fincept-terminal-desktop/src/components/tabs/DashboardTab.tsxindex 7fd076642..c7f2db2c2 100644--- a/fincept-terminal-desktop/src/components/tabs/DashboardTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/DashboardTab.tsx@@ -3,6 +3,7 @@ import GridLayout, { Layout } from 'react-grid-layout';import { Plus, RotateCcw, Save } from 'lucide-react';import { useTerminalTheme } from '@/contexts/ThemeContext';import { sqliteService } from '../../services/sqliteService';+import { TabFooter } from '@/components/common/TabFooter';import {NewsWidget,MarketDataWidget,@@ -619,27 +620,26 @@ const DashboardTab: React.FC<DashboardTabProps> = ({ onNavigateToTab }) => {</div>{/* Status Bar */}- <div style={{- borderTop: `1px solid ${colors.textMuted}`,- backgroundColor: colors.panel,- padding: '4px 12px',- fontSize: fontSize.tiny,- color: colors.textMuted,- flexShrink: 0- }}>- <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>- <span>Fincept Customizable Dashboard v2.0.0 | Drag & drop workspace</span>- <span>- Widgets: {widgets.length} | Layout: {widgets.length > 0 ? 'Custom' : 'Empty'} |+ <TabFooter+ tabName="DASHBOARD"+ leftInfo={[+ { label: 'Drag & drop workspace', color: colors.textMuted },+ { label: `Widgets: ${widgets.length}`, color: colors.textMuted },+ { label: `Layout: ${widgets.length > 0 ? 'Custom' : 'Empty'}`, color: colors.textMuted },+ ]}+ statusInfo={+ <>Status: <span style={{ color: colors.secondary }}>ACTIVE</span>{dbInitialized && (<span style={{ marginLeft: '8px', color: colors.secondary }}>| Cache: ENABLED</span>)}- </span>- </div>- </div>+ </>+ }+ backgroundColor={colors.panel}+ borderColor={colors.textMuted}+ />{/* Add Widget Modal */}<AddWidgetModaldiff --git a/fincept-terminal-desktop/src/components/tabs/EconomicsTab.tsx b/fincept-terminal-desktop/src/components/tabs/EconomicsTab.tsxindex 5df003064..daabe510b 100644--- a/fincept-terminal-desktop/src/components/tabs/EconomicsTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/EconomicsTab.tsx@@ -3,6 +3,7 @@ import React, { useState } from 'react';import { RefreshCw, Download, Globe, TrendingUp, BarChart3, PieChart } from 'lucide-react';import { invoke } from '@tauri-apps/api/core';import bisDataService from '@/services/bisDataService';+import { TabFooter } from '@/components/common/TabFooter';interface Indicator {code: string;@@ -639,6 +640,18 @@ export default function EconomicsTab() {</div></div></div>++ <TabFooter+ tabName="ECONOMIC INDICATORS"+ leftInfo={[+ { label: `Source: ${dataSource.toUpperCase()}`, color: colors.textMuted },+ { label: `View: ${view.toUpperCase()}`, color: colors.textMuted },+ ...(indicatorData ? [{ label: `Data points: ${indicatorData.observations.length}`, color: colors.textMuted }] : [])+ ]}+ statusInfo={status}+ backgroundColor={colors.panel}+ borderColor={colors.textMuted}+ /></div>);}diff --git a/fincept-terminal-desktop/src/components/tabs/EquityResearchTab.tsx b/fincept-terminal-desktop/src/components/tabs/EquityResearchTab.tsxindex eb7d96ee7..148e51db5 100644--- a/fincept-terminal-desktop/src/components/tabs/EquityResearchTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/EquityResearchTab.tsx@@ -4,6 +4,7 @@ import { invoke } from '@tauri-apps/api/core';import { createChart, CandlestickSeries, HistogramSeries, LineSeries, BarSeries } from 'lightweight-charts';import { LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer, ComposedChart, Bar, Area } from 'recharts';import { ProChartWithToolkit } from './trading/charts/ProChartWithToolkit';+import { TabFooter } from '@/components/common/TabFooter';const COLORS = {ORANGE: '#FFA500',@@ -2814,20 +2815,14 @@ const EquityResearchTab: React.FC = () => {</div>{/* Footer / Status Bar */}- <div style={{- borderTop: `1px solid ${COLORS.BORDER}`,- backgroundColor: COLORS.PANEL_BG,- padding: '4px 12px',- fontSize: '10px',- color: COLORS.GRAY,- flexShrink: 0,- }}>- <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>- <div style={{ display: 'flex', gap: '16px' }}>- <span>Equity Research Terminal v1.0 | Real-time data analysis and company fundamentals</span>- <span>Data Source: YFinance</span>- </div>- <div style={{ display: 'flex', gap: '16px' }}>+ <TabFooter+ tabName="EQUITY RESEARCH"+ leftInfo={[+ { label: 'Real-time data analysis and company fundamentals', color: COLORS.GRAY },+ { label: 'Data Source: YFinance', color: COLORS.GRAY },+ ]}+ statusInfo={+ <div style={{ display: 'flex', gap: '16px', alignItems: 'center' }}><span style={{ color: COLORS.CYAN, fontWeight: 'bold' }}>{currentSymbol}</span>{stockInfo?.exchange && <span>{stockInfo.exchange}</span>}{currentPrice > 0 && (@@ -2840,12 +2835,14 @@ const EquityResearchTab: React.FC = () => {)}</>)}- <span style={{ color: loading ? COLORS.YELLOW : COLORS.GREEN }}>+ <span style={{ color: loading ? COLORS.YELLOW : COLORS.GREEN, fontWeight: 'bold' }}>{loading ? 'LOADING...' : 'READY'}</span></div>- </div>- </div>+ }+ backgroundColor={COLORS.PANEL_BG}+ borderColor={COLORS.BORDER}+ />{/* Custom Scrollbar Styles */}<style>{`diff --git a/fincept-terminal-desktop/src/components/tabs/ExcelTab.tsx b/fincept-terminal-desktop/src/components/tabs/ExcelTab.tsxindex 32c6f59e8..5c0a18c92 100644--- a/fincept-terminal-desktop/src/components/tabs/ExcelTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/ExcelTab.tsx@@ -7,6 +7,7 @@ import { Upload, Download, Plus, Trash2, Save, FileSpreadsheet, History, Camera,import { open, save } from '@tauri-apps/plugin-dialog';import { readFile as tauriReadFile, writeFile as tauriWriteFile } from '@tauri-apps/plugin-fs';import { excelService, ExcelFile, ExcelSnapshot } from '@/services/excelService';+import { TabFooter } from '@/components/common/TabFooter';interface SheetData {name: string;@@ -850,6 +851,18 @@ const ExcelTab: React.FC = () => {background: #404040 !important;}`}</style>++ <TabFooter+ tabName="EXCEL SPREADSHEET"+ leftInfo={[+ { label: `File: ${fileName}`, color: '#a3a3a3' },+ { label: `Sheets: ${sheets.length}`, color: '#a3a3a3' },+ { label: `Active: ${sheets[activeSheetIndex]?.name}`, color: '#a3a3a3' },+ ]}+ statusInfo={`${currentFileId ? 'Saved' : 'Unsaved'} | Snapshots: ${snapshots.length} | Recent: ${recentFiles.length}`}+ backgroundColor="#1a1a1a"+ borderColor="#2d2d2d"+ /></div>);};diff --git a/fincept-terminal-desktop/src/components/tabs/ForumTab.tsx b/fincept-terminal-desktop/src/components/tabs/ForumTab.tsxindex 88383b412..e3b3064c1 100644--- a/fincept-terminal-desktop/src/components/tabs/ForumTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/ForumTab.tsx@@ -3,6 +3,7 @@ import { useTerminalTheme } from '@/contexts/ThemeContext';import { useAuth } from '../../contexts/AuthContext';import { ForumApiService, ForumPost as APIForumPost, ForumCategory, ForumStats, ForumComment as APIForumComment } from '../../services/forumApi';import { sqliteService } from '../../services/sqliteService';+import { TabFooter } from '@/components/common/TabFooter';interface ForumPost {id: string;@@ -1715,6 +1716,17 @@ const ForumTab: React.FC = () => {{SearchModal}{ProfileModal}{EditProfileModal}++ <TabFooter+ tabName="COMMUNITY FORUM"+ leftInfo={[+ { label: `Category: ${selectedCategory || 'All'}`, color: colors.textMuted },+ { label: `Posts: ${forumStats?.total_posts || 0}`, color: colors.textMuted },+ ]}+ statusInfo={`Users: ${forumStats?.total_users || 0} | ${isLoading ? 'Loading...' : 'Ready'}`}+ backgroundColor={colors.panel}+ borderColor={colors.textMuted}+ /></div>);};diff --git a/fincept-terminal-desktop/src/components/tabs/GeopoliticsTab.tsx b/fincept-terminal-desktop/src/components/tabs/GeopoliticsTab.tsxindex 7f3defc87..5870f8ec2 100644--- a/fincept-terminal-desktop/src/components/tabs/GeopoliticsTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/GeopoliticsTab.tsx@@ -2,6 +2,7 @@ import React, { useState, useEffect } from 'react';import { LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer, RadarChart, PolarGrid, PolarAngleAxis, PolarRadiusAxis, Radar, BarChart, Bar } from 'recharts';import { useTerminalTheme } from '@/contexts/ThemeContext';import { geopoliticsService } from '@/services/geopoliticsService';+import { TabFooter } from '@/components/common/TabFooter';const GeopoliticsTab: React.FC = () => {const { colors, fontSize, fontFamily, fontWeight, fontStyle } = useTerminalTheme();@@ -820,19 +821,16 @@ const GeopoliticsTab: React.FC = () => {</div>{/* Status Bar */}- <div style={{- borderTop: `1px solid ${colors.textMuted}`,- backgroundColor: colors.panel,- padding: '4px 8px',- fontSize: '10px',- color: colors.textMuted,- flexShrink: 0- }}>- <div style={{ display: 'flex', justifyContent: 'space-between' }}>- <span>Geopolitical Intelligence System v5.0 | WTO Real-time Data | {qrNotifications.length + epingNotifications.length} Total Notifications</span>- <span>Last Updated: {currentTime.toTimeString().substring(0, 8)}</span>- </div>- </div>+ <TabFooter+ tabName="GEOPOLITICS"+ leftInfo={[+ { label: 'WTO Real-time Data', color: colors.textMuted },+ { label: `${qrNotifications.length + epingNotifications.length} Total Notifications`, color: colors.textMuted },+ ]}+ statusInfo={`Last Updated: ${currentTime.toTimeString().substring(0, 8)}`}+ backgroundColor={colors.panel}+ borderColor={colors.textMuted}+ /></div>);};diff --git a/fincept-terminal-desktop/src/components/tabs/MaritimeTab.tsx b/fincept-terminal-desktop/src/components/tabs/MaritimeTab.tsxindex 69da6b3ca..c45b85281 100644--- a/fincept-terminal-desktop/src/components/tabs/MaritimeTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/MaritimeTab.tsx@@ -1,5 +1,6 @@import React, { useState, useEffect, useRef } from 'react';import { useTerminalTheme } from '@/contexts/ThemeContext';+import { TabFooter } from '@/components/common/TabFooter';interface MarkerData {lat: number;@@ -1463,33 +1464,23 @@ export default function MaritimeTab() {</div>{/* Footer */}- <div style={{- borderTop: '2px solid #00ff00',- padding: '8px 16px',- background: 'linear-gradient(180deg, #000 0%, #0a0a0a 100%)',- display: 'flex',- justifyContent: 'space-between',- alignItems: 'center',- flexShrink: 0,- flexWrap: 'wrap',- gap: '12px',- minHeight: '40px'- }}>- <div style={{ display: 'flex', alignItems: 'center', gap: '16px', fontSize: '9px', flexWrap: 'wrap' }}>- <span style={{ color: '#00ff00', fontWeight: 'bold', whiteSpace: 'nowrap' }}>MARITIME INTEL v2.4.1</span>- <span style={{ color: '#888' }}>|</span>- <span style={{ color: '#0ff', whiteSpace: 'nowrap' }}>AIS Feed: ACTIVE</span>- <span style={{ color: '#888' }}>|</span>- <span style={{ color: '#0ff', whiteSpace: 'nowrap' }}>Satellite Link: NOMINAL</span>- <span style={{ color: '#888' }}>|</span>- <span style={{ color: '#0ff', whiteSpace: 'nowrap' }}>Data Latency: 2.3ms</span>- </div>- <div style={{ display: 'flex', alignItems: 'center', gap: '16px', fontSize: '9px', flexWrap: 'wrap' }}>- <span style={{ color: '#888', whiteSpace: 'nowrap' }}>Powered by Globe.GL 3D Visualization</span>- <span style={{ color: '#888' }}>|</span>- <span style={{ color: '#ffd700', whiteSpace: 'nowrap' }}>CLEARANCE: TOP SECRET // SCI</span>- </div>- </div>+ <TabFooter+ tabName="MARITIME INTELLIGENCE"+ leftInfo={[+ { label: 'AIS Feed: ACTIVE', color: '#0ff' },+ { label: 'Satellite Link: NOMINAL', color: '#0ff' },+ { label: 'Data Latency: 2.3ms', color: '#0ff' },+ ]}+ statusInfo={+ <>+ <span style={{ color: '#888' }}>Powered by Globe.GL 3D Visualization</span>+ <span style={{ color: '#888', marginLeft: '8px' }}>|</span>+ <span style={{ color: '#ffd700', marginLeft: '8px' }}>CLEARANCE: TOP SECRET // SCI</span>+ </>+ }+ backgroundColor="#0a0a0a"+ borderColor="#00ff00"+ /></div>);}\ No newline at end of filediff --git a/fincept-terminal-desktop/src/components/tabs/MarketplaceTab.tsx b/fincept-terminal-desktop/src/components/tabs/MarketplaceTab.tsxindex e934b722a..d0d77b452 100644--- a/fincept-terminal-desktop/src/components/tabs/MarketplaceTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/MarketplaceTab.tsx@@ -2,6 +2,7 @@ import React, { useState, useEffect } from 'react';import { useAuth } from '@/contexts/AuthContext';import { MarketplaceApiService, Dataset } from '@/services/marketplaceApi';import { useTerminalTheme } from '@/contexts/ThemeContext';+import { TabFooter } from '@/components/common/TabFooter';interface PricingTier {tier: string;@@ -723,20 +724,21 @@ const MarketplaceTab: React.FC = () => {</div>{/* Footer */}- <div style={{ borderTop: `3px solid ${C.ORANGE}`, backgroundColor: C.PANEL_BG, padding: '12px 16px', fontSize: '11px' }}>- <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>- <div style={{ display: 'flex', alignItems: 'center', gap: '16px' }}>- <span style={{ color: C.ORANGE, fontWeight: 'bold', fontSize: '13px' }}>FINCEPT MARKETPLACE v3.0</span>- <span style={{ color: C.GRAY }}>|</span>- <span style={{ color: C.CYAN }}>🔒 SECURE PRODUCTS</span>- <span style={{ color: C.GRAY }}>|</span>- <span style={{ color: C.GREEN }}>✓ VERIFIED VENDORS</span>- </div>- <div style={{ color: C.GRAY }}>- Screen: <span style={{ color: C.ORANGE, fontWeight: 'bold' }}>{currentScreen}</span> | Showing: {filteredProducts.length} / {products.length}- </div>- </div>- </div>+ <TabFooter+ tabName="MARKETPLACE"+ leftInfo={[+ { label: '🔒 SECURE PRODUCTS', color: C.CYAN },+ { label: '✓ VERIFIED VENDORS', color: C.GREEN },+ ]}+ statusInfo={+ <>+ Screen: <span style={{ color: C.ORANGE, fontWeight: 'bold' }}>{currentScreen}</span> |+ Showing: {filteredProducts.length} / {products.length}+ </>+ }+ backgroundColor={C.PANEL_BG}+ borderColor={C.ORANGE}+ /></div>);};diff --git a/fincept-terminal-desktop/src/components/tabs/MarketsTab.tsx b/fincept-terminal-desktop/src/components/tabs/MarketsTab.tsxindex 6359c222e..341bc8697 100644--- a/fincept-terminal-desktop/src/components/tabs/MarketsTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/MarketsTab.tsx@@ -7,6 +7,7 @@ import { sqliteService } from '../../services/sqliteService';import { contextRecorderService } from '../../services/contextRecorderService';import TickerEditModal from './TickerEditModal';import RecordingControlPanel from '../common/RecordingControlPanel';+import { TabFooter } from '@/components/common/TabFooter';const MarketsTab: React.FC = () => {const { colors, fontSize, fontFamily, fontWeight, fontStyle } = useTerminalTheme();@@ -616,22 +617,13 @@ const MarketsTab: React.FC = () => {</div>{/* Status Bar */}- <div style={{- borderTop: `1px solid ${colors.textMuted}`,- backgroundColor: colors.panel,- padding: '6px 12px',- fontSize: '10px',- color: colors.textMuted,- flexShrink: 0- }}>- <div style={{- display: 'flex',- justifyContent: 'space-between',- alignItems: 'center',- flexWrap: 'wrap',- gap: '8px'- }}>- <span>Data provided by Yahoo Finance API | Real-time updates</span>+ <TabFooter+ tabName="LIVE MARKETS"+ leftInfo={[+ { label: 'Data provided by Yahoo Finance API', color: colors.textMuted },+ { label: 'Real-time updates', color: colors.textMuted },+ ]}+ statusInfo={<span style={{ whiteSpace: 'nowrap' }}>Connected: {Object.keys(regionalData).length} regional markets{dbInitialized && (@@ -640,8 +632,10 @@ const MarketsTab: React.FC = () => {</span>)}</span>- </div>- </div>+ }+ backgroundColor={colors.panel}+ borderColor={colors.textMuted}+ />{/* Edit Modal */}<TickerEditModaldiff --git a/fincept-terminal-desktop/src/components/tabs/NewsTab.tsx b/fincept-terminal-desktop/src/components/tabs/NewsTab.tsxindex 7fb8aae8c..0c56209b2 100644--- a/fincept-terminal-desktop/src/components/tabs/NewsTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/NewsTab.tsx@@ -3,6 +3,7 @@ import { useTerminalTheme } from '@/contexts/ThemeContext';import { fetchNewsWithCache, type NewsArticle, getRSSFeedCount, getActiveSources, isUsingMockData } from '../../services/newsService';import { contextRecorderService } from '../../services/contextRecorderService';import RecordingControlPanel from '../common/RecordingControlPanel';+import { TabFooter } from '@/components/common/TabFooter';// Extend Window interface for Taurideclare global {@@ -1149,6 +1150,19 @@ const NewsTab: React.FC = () => {background: transparent;}`}</style>++ {/* Footer */}+ <TabFooter+ tabName="FINANCIAL NEWS"+ leftInfo={[+ { label: `Sources: ${getActiveSources().length}`, color: colors.textMuted },+ { label: `Feeds: ${getRSSFeedCount()}`, color: colors.textMuted },+ { label: isUsingMockData() ? 'Mode: DEMO' : 'Mode: LIVE', color: isUsingMockData() ? colors.warning : colors.secondary },+ ]}+ statusInfo={`Articles: ${articles.length} | ${isLoading ? 'Refreshing...' : 'Ready'}`}+ backgroundColor={colors.panel}+ borderColor={colors.textMuted}+ /></div>);};diff --git a/fincept-terminal-desktop/src/components/tabs/NodeEditorTab.tsx b/fincept-terminal-desktop/src/components/tabs/NodeEditorTab.tsxindex 687124293..6ec85dc65 100644--- a/fincept-terminal-desktop/src/components/tabs/NodeEditorTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/NodeEditorTab.tsx@@ -47,6 +47,7 @@ import { pythonAgentService, AgentMetadata } from '@/services/pythonAgentServiceimport { workflowExecutor } from './node-editor/WorkflowExecutor';import { Workflow, workflowService } from '@/services/workflowService';import { nodeExecutionManager } from '@/services/nodeExecutionManager';+import { TabFooter } from '@/components/common/TabFooter';// Custom Node Componentconst CustomNode = ({ data, id, selected }: any) => {@@ -1623,39 +1624,16 @@ export default function NodeEditorTab() {{/* Bottom Info Bar */}{activeView === 'editor' && (- <div- style={{- backgroundColor: '#1a1a1a',- borderTop: '1px solid #2d2d2d',- padding: '6px 12px',- display: 'flex',- alignItems: 'center',- gap: '16px',- fontSize: '10px',- color: '#737373',- flexShrink: 0,- }}- >- <span>💡 Drag nodes to move | Drag from handles to connect | Select & Delete to remove</span>- {selectedNodes.length > 0 && (- <>- <div style={{ width: '1px', height: '14px', backgroundColor: '#404040' }}></div>- <span style={{ color: '#ea580c' }}>- Selected: {selectedNodes.length} node(s)- </span>- </>- )}- <div- style={{- marginLeft: 'auto',- display: 'flex',- alignItems: 'center',- gap: '12px',- }}- >- <span>Scroll to zoom | Right-click drag to pan</span>- </div>- </div>+ <TabFooter+ tabName="NODE EDITOR"+ leftInfo={[+ { label: '💡 Drag nodes to move | Drag from handles to connect | Select & Delete to remove', color: '#737373' },+ ...(selectedNodes.length > 0 ? [{ label: `Selected: ${selectedNodes.length} node(s)`, color: '#ea580c' }] : [])+ ]}+ statusInfo="Scroll to zoom | Right-click drag to pan"+ backgroundColor="#1a1a1a"+ borderColor="#2d2d2d"+ />)}{/* Deploy Dialog */}diff --git a/fincept-terminal-desktop/src/components/tabs/NotesTab.tsx b/fincept-terminal-desktop/src/components/tabs/NotesTab.tsxindex a07735dcf..061d35a38 100644--- a/fincept-terminal-desktop/src/components/tabs/NotesTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/NotesTab.tsx@@ -11,6 +11,7 @@ import {import { notesService, Note, NoteTemplate } from '../../services/notesService';import { noteReminderService } from '../../services/noteReminderService.tsx';import { toast } from 'sonner';+import { TabFooter } from '@/components/common/TabFooter';// Bloomberg Professional Color Paletteconst BLOOMBERG = {@@ -1550,24 +1551,21 @@ export function NotesTab() {</div>{/* ========== STATUS BAR ========== */}- <div style={{- borderTop: `1px solid ${BLOOMBERG.BORDER}`,- backgroundColor: BLOOMBERG.HEADER_BG,- padding: '4px 12px',- fontSize: '9px',- color: BLOOMBERG.GRAY,- display: 'flex',- justifyContent: 'space-between',- alignItems: 'center',- flexShrink: 0- }}>- <span>Fincept Terminal v3.0.12 | Professional Financial Notes</span>- <span>- Notes: <span style={{ color: BLOOMBERG.ORANGE }}>{statistics?.total || 0}</span> |- Category: <span style={{ color: BLOOMBERG.CYAN }}>{selectedCategory}</span> |- Displayed: <span style={{ color: BLOOMBERG.YELLOW }}>{filteredNotes.length}</span>- </span>- </div>+ <TabFooter+ tabName="FINANCIAL NOTES"+ leftInfo={[+ { label: 'Professional Note-Taking', color: BLOOMBERG.GRAY },+ ]}+ statusInfo={+ <span>+ Notes: <span style={{ color: BLOOMBERG.ORANGE }}>{statistics?.total || 0}</span> |+ Category: <span style={{ color: BLOOMBERG.CYAN }}>{selectedCategory}</span> |+ Displayed: <span style={{ color: BLOOMBERG.YELLOW }}>{filteredNotes.length}</span>+ </span>+ }+ backgroundColor={BLOOMBERG.HEADER_BG}+ borderColor={BLOOMBERG.BORDER}+ /></div>);}diff --git a/fincept-terminal-desktop/src/components/tabs/PolygonEqTab.tsx b/fincept-terminal-desktop/src/components/tabs/PolygonEqTab.tsxindex 25e775312..f5c8f1bdd 100644--- a/fincept-terminal-desktop/src/components/tabs/PolygonEqTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/PolygonEqTab.tsx@@ -3,6 +3,7 @@ import { polygonService } from '../../services/polygonService';import { useTerminalTheme } from '@/contexts/ThemeContext';import { yfinanceService, HistoricalDataPoint } from '../../services/yfinanceService';import CandlestickChart, { CandlestickDataPoint } from '../charts/CandlestickChart';+import { TabFooter } from '@/components/common/TabFooter';const PolygonEqTab: React.FC = () => {const { colors } = useTerminalTheme();@@ -1207,19 +1208,16 @@ const PolygonEqTab: React.FC = () => {</div>{/* FOOTER - Compact */}- <div style={{- borderTop: `1px solid ${COLORS.BORDER}`,- backgroundColor: COLORS.PANEL_BG,- padding: '4px 10px',- fontSize: '8px',- color: COLORS.GRAY,- display: 'flex',- justifyContent: 'space-between',- flexShrink: 0,- }}>- <span>Polygon.io API | 31/31 Endpoints | Institutional Data</span>- <span>{symbol} | {new Date().toLocaleString()}</span>- </div>+ <TabFooter+ tabName="POLYGON.IO EQUITY DATA"+ leftInfo={[+ { label: '31/31 Endpoints', color: COLORS.GRAY },+ { label: 'Institutional Data', color: COLORS.GRAY },+ ]}+ statusInfo={`${symbol} | ${new Date().toLocaleString()}`}+ backgroundColor={COLORS.PANEL_BG}+ borderColor={COLORS.BORDER}+ />{/* Custom Scrollbar - Only main window scrolls */}<style>{`diff --git a/fincept-terminal-desktop/src/components/tabs/ProfileTab.tsx b/fincept-terminal-desktop/src/components/tabs/ProfileTab.tsxindex 4304c47b3..1032ee4ab 100644--- a/fincept-terminal-desktop/src/components/tabs/ProfileTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/ProfileTab.tsx@@ -3,6 +3,7 @@ import { useAuth } from '@/contexts/AuthContext';import { useNavigation } from '@/contexts/NavigationContext';import { UserApiService } from '@/services/userApi';import { useTerminalTheme } from '@/contexts/ThemeContext';+import { TabFooter } from '@/components/common/TabFooter';type ProfileScreen = 'overview' | 'usage' | 'payments' | 'subscriptions' | 'support' | 'settings';@@ -959,7 +960,24 @@ const ProfileTab: React.FC = () => {);}- return session.user_type === 'guest' ? renderGuestProfile() : renderUserProfile();+ const profileContent = session.user_type === 'guest' ? renderGuestProfile() : renderUserProfile();++ return (+ <div style={{ display: 'flex', flexDirection: 'column', height: '100%' }}>+ {profileContent}++ <TabFooter+ tabName="PROFILE"+ leftInfo={[+ { label: `Type: ${session.user_type?.toUpperCase()}`, color: colors.textMuted },+ { label: `Screen: ${activeScreen?.toUpperCase()}`, color: colors.textMuted },+ ]}+ statusInfo={session.user_info?.email || 'Guest Session'}+ backgroundColor={colors.panel}+ borderColor={colors.textMuted}+ />+ </div>+ );};export default ProfileTab;diff --git a/fincept-terminal-desktop/src/components/tabs/ReportBuilderTab.tsx b/fincept-terminal-desktop/src/components/tabs/ReportBuilderTab.tsxindex c2502daab..b61636671 100644--- a/fincept-terminal-desktop/src/components/tabs/ReportBuilderTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/ReportBuilderTab.tsx@@ -45,6 +45,7 @@ import { Button } from '@/components/ui/button';import { llmApiService, ChatMessage as APIMessage } from '@/services/llmApi';import { sqliteService } from '@/services/sqliteService';import MarkdownRenderer from '../common/MarkdownRenderer';+import { TabFooter } from '@/components/common/TabFooter';// Bloomberg color paletteconst BLOOMBERG_COLORS = {@@ -1710,29 +1711,16 @@ const ReportBuilderTab: React.FC = () => {</DialogContent></Dialog>- {/* Footer */}- <div style={{- borderTop: `2px solid ${BLOOMBERG_COLORS.ORANGE}`,- padding: '8px 16px',- background: `linear-gradient(180deg, ${BLOOMBERG_COLORS.PANEL_BG} 0%, #0a0a0a 100%)`,- display: 'flex',- justifyContent: 'space-between',- alignItems: 'center',- flexShrink: 0,- flexWrap: 'wrap',- gap: '12px'- }}>- <div style={{ display: 'flex', alignItems: 'center', gap: '16px', fontSize: '9px' }}>- <span style={{ color: BLOOMBERG_COLORS.ORANGE, fontWeight: 'bold' }}>REPORT BUILDER v1.0.0</span>- <span style={{ color: BLOOMBERG_COLORS.TEXT_SECONDARY }}>|</span>- <span style={{ color: BLOOMBERG_COLORS.TEXT_PRIMARY }}>Components: {template.components.length}</span>- <span style={{ color: BLOOMBERG_COLORS.TEXT_SECONDARY }}>|</span>- <span style={{ color: BLOOMBERG_COLORS.TEXT_PRIMARY }}>Theme: {pageTheme.charAt(0).toUpperCase() + pageTheme.slice(1)}</span>- </div>- <div style={{ fontSize: '9px', color: BLOOMBERG_COLORS.TEXT_SECONDARY }}>- {currentTime.toLocaleTimeString()} | PDF Generator: Rust printpdf- </div>- </div>+ <TabFooter+ tabName="REPORT BUILDER"+ leftInfo={[+ { label: `Components: ${template.components.length}`, color: BLOOMBERG_COLORS.TEXT_PRIMARY },+ { label: `Theme: ${pageTheme.charAt(0).toUpperCase() + pageTheme.slice(1)}`, color: BLOOMBERG_COLORS.TEXT_PRIMARY },+ ]}+ statusInfo={`${currentTime.toLocaleTimeString()} | PDF Generator: Rust printpdf`}+ backgroundColor={BLOOMBERG_COLORS.PANEL_BG}+ borderColor={BLOOMBERG_COLORS.ORANGE}+ /></div>);};diff --git a/fincept-terminal-desktop/src/components/tabs/ScreenerTab.tsx b/fincept-terminal-desktop/src/components/tabs/ScreenerTab.tsxindex 28c4c19c2..07b520e13 100644--- a/fincept-terminal-desktop/src/components/tabs/ScreenerTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/ScreenerTab.tsx@@ -4,6 +4,7 @@ import { Search, Download, TrendingUp, BarChart3, Loader2, AlertCircle, FolderTrimport { LineChart, Line, AreaChart, Area, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts';import { sqliteService } from '@/services/sqliteService';import { invoke } from '@tauri-apps/api/core';+import { TabFooter } from '@/components/common/TabFooter';interface SeriesData {date: string;@@ -1394,24 +1395,22 @@ export default function ScreenerTab() {</div>{/* Footer */}- <div style={{- borderTop: `1px solid ${colors.primary}`,- padding: '8px 16px',- background: colors.panel,- fontSize: fontSize.tiny,- color: colors.textMuted,- display: 'flex',- justifyContent: 'space-between',- alignItems: 'center',- flexShrink: 0- }}>- <span>FRED Economic Data | Federal Reserve Bank of St. Louis</span>- {data.length > 0 && (- <span style={{ color: colors.primary, fontWeight: 'bold' }}>- {data.length} series | {data.reduce((acc, s) => acc + s.observation_count, 0)} observations- </span>- )}- </div>+ <TabFooter+ tabName="ECONOMIC SCREENER"+ leftInfo={[+ { label: 'FRED Economic Data', color: colors.accent },+ { label: 'Federal Reserve Bank of St. Louis', color: colors.textMuted },+ ]}+ statusInfo={+ data.length > 0 && (+ <span style={{ color: colors.primary, fontWeight: 'bold' }}>+ {data.length} series | {data.reduce((acc, s) => acc + s.observation_count, 0)} observations+ </span>+ )+ }+ backgroundColor={colors.panel}+ borderColor={colors.primary}+ /></div>);}diff --git a/fincept-terminal-desktop/src/components/tabs/SettingsTab.tsx b/fincept-terminal-desktop/src/components/tabs/SettingsTab.tsxindex 654190c0e..37ea22c22 100644--- a/fincept-terminal-desktop/src/components/tabs/SettingsTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/SettingsTab.tsx@@ -13,6 +13,7 @@ import { TerminalConfigPanel } from '@/components/settings/TerminalConfigPanel';import { useTimezone, TIMEZONE_OPTIONS } from '@/contexts/TimezoneContext';import { Clock } from 'lucide-react';import { useTranslation } from 'react-i18next';+import { TabFooter } from '@/components/common/TabFooter';export default function SettingsTab() {const { t } = useTranslation('settings');@@ -2029,28 +2030,16 @@ export default function SettingsTab() {</div>{/* Footer */}- <div style={{- borderTop: `2px solid ${colors.primary}`,- padding: '8px 16px',- background: `linear-gradient(180deg, ${colors.panel} 0%, #1a1a1a 100%)`,- display: 'flex',- justifyContent: 'space-between',- alignItems: 'center',- flexShrink: 0,- flexWrap: 'wrap',- gap: '12px'- }}>- <div style={{ display: 'flex', alignItems: 'center', gap: '16px', fontSize: '9px' }}>- <span style={{ color: colors.primary, fontWeight: 'bold' }}>SETTINGS v2.0.0</span>- <span style={{ color: colors.text }}>|</span>- <span style={{ color: colors.text }}>Database: SQLite</span>- <span style={{ color: colors.text }}>|</span>- <span style={{ color: colors.text }}>Storage: File-based</span>- </div>- <div style={{ fontSize: '9px', color: colors.text }}>- All data stored securely in fincept_terminal.db- </div>- </div>+ <TabFooter+ tabName="SETTINGS"+ leftInfo={[+ { label: 'Database: SQLite', color: colors.text },+ { label: 'Storage: File-based', color: colors.text },+ ]}+ statusInfo="All data stored securely in fincept_terminal.db"+ backgroundColor={colors.panel}+ borderColor={colors.primary}+ /></div>);}diff --git a/fincept-terminal-desktop/src/components/tabs/SupportTicketTab.tsx b/fincept-terminal-desktop/src/components/tabs/SupportTicketTab.tsxindex 8e21d9c5e..eb60aa73d 100644--- a/fincept-terminal-desktop/src/components/tabs/SupportTicketTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/SupportTicketTab.tsx@@ -3,6 +3,7 @@ import { useAuth } from '@/contexts/AuthContext';import { SupportApiService } from '@/services/supportApi';import { useTerminalTheme } from '@/contexts/ThemeContext';import { RefreshCw, Plus, ArrowLeft, Send, CheckCircle2, XCircle, Clock } from 'lucide-react';+import { TabFooter } from '@/components/common/TabFooter';type SupportView = 'list' | 'create' | 'details';@@ -917,21 +918,17 @@ This demo ticket shows you exactly how your real support tickets will appear. Fe)}</div>- {/* Status Bar */}- <div style={{- borderTop: `1px solid ${C.GRAY}`,- backgroundColor: C.PANEL_BG,- padding: '6px 12px',- fontSize: '10px',- color: C.GRAY,- flexShrink: 0,- display: 'flex',- justifyContent: 'space-between',- alignItems: 'center'- }}>- <span>Fincept Terminal Support System | 24/7 Customer Service</span>- <span>Response Time: < 24 hours | Status: {loading ? 'UPDATING' : 'READY'}</span>- </div>+ <TabFooter+ tabName="SUPPORT CENTER"+ leftInfo={[+ { label: `View: ${currentView.toUpperCase()}`, color: C.GRAY },+ { label: `Tickets: ${tickets.length}`, color: C.GRAY },+ { label: `User: ${session.user_info?.email || 'Guest'}`, color: C.GRAY },+ ]}+ statusInfo={`Response Time: < 24 hours | 24/7 Customer Service | ${loading ? 'UPDATING' : 'READY'}`}+ backgroundColor={C.PANEL_BG}+ borderColor={C.GRAY}+ /></div>);};diff --git a/fincept-terminal-desktop/src/components/tabs/TradingTab.tsx b/fincept-terminal-desktop/src/components/tabs/TradingTab.tsxindex c71a027e3..c92158637 100644--- a/fincept-terminal-desktop/src/components/tabs/TradingTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/TradingTab.tsx@@ -20,6 +20,7 @@ import { TradingChart, DepthChart, VolumeProfile } from './trading/charts';import { AccountStats, FeesDisplay, MarginPanel } from './trading/core/AccountInfo';import { PortfolioAggregator, ArbitrageDetector } from './trading/cross-exchange';import type { OrderRequest } from '../../types/trading';+import { TabFooter } from '@/components/common/TabFooter';interface OrderBookLevel {price: number;@@ -1694,28 +1695,25 @@ export function TradingTab() {</div>{/* ========== STATUS BAR ========== */}- <div style={{- borderTop: `1px solid ${BLOOMBERG.BORDER}`,- backgroundColor: BLOOMBERG.HEADER_BG,- padding: '4px 12px',- fontSize: '9px',- color: BLOOMBERG.GRAY,- display: 'flex',- justifyContent: 'space-between',- alignItems: 'center',- flexShrink: 0- }}>- <span>Fincept Terminal v3.0.12 | Professional Trading Platform</span>- <span>- Broker: <span style={{ color: BLOOMBERG.ORANGE }}>{activeBroker?.toUpperCase() || 'NONE'}</span> |- Mode: <span style={{ color: tradingMode === 'paper' ? BLOOMBERG.GREEN : BLOOMBERG.RED }}>- {tradingMode.toUpperCase()}- </span> |- Status: <span style={{ color: activeAdapter?.isConnected() ? BLOOMBERG.GREEN : BLOOMBERG.RED }}>- {activeAdapter?.isConnected() ? 'CONNECTED' : 'DISCONNECTED'}+ <TabFooter+ tabName="TRADING PLATFORM"+ leftInfo={[+ { label: 'Professional Trading', color: BLOOMBERG.GRAY },+ ]}+ statusInfo={+ <span>+ Broker: <span style={{ color: BLOOMBERG.ORANGE }}>{activeBroker?.toUpperCase() || 'NONE'}</span> |+ Mode: <span style={{ color: tradingMode === 'paper' ? BLOOMBERG.GREEN : BLOOMBERG.RED }}>+ {tradingMode.toUpperCase()}+ </span> |+ Status: <span style={{ color: activeAdapter?.isConnected() ? BLOOMBERG.GREEN : BLOOMBERG.RED }}>+ {activeAdapter?.isConnected() ? 'CONNECTED' : 'DISCONNECTED'}+ </span></span>- </span>- </div>+ }+ backgroundColor={BLOOMBERG.HEADER_BG}+ borderColor={BLOOMBERG.BORDER}+ /></div>);}diff --git a/fincept-terminal-desktop/src/components/tabs/WatchlistTab.tsx b/fincept-terminal-desktop/src/components/tabs/WatchlistTab.tsxindex b94ea1a9a..379d5e9b0 100644--- a/fincept-terminal-desktop/src/components/tabs/WatchlistTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/WatchlistTab.tsx@@ -8,6 +8,7 @@ import {import { contextRecorderService } from '../../services/contextRecorderService';import WatchlistSidebar from './watchlist/WatchlistSidebar';import StockListView from './watchlist/StockListView';+import { TabFooter } from '@/components/common/TabFooter';import StockDetailPanel from './watchlist/StockDetailPanel';import CreateWatchlistModal from './watchlist/CreateWatchlistModal';import AddStockModal from './watchlist/AddStockModal';@@ -532,6 +533,16 @@ const WatchlistTab: React.FC = () => {existingSymbols={stocks.map(s => s.symbol)}/>)}++ {/* Footer */}+ <TabFooter+ tabName="WATCHLIST"+ leftInfo={[+ { label: `Lists: ${watchlists.length}`, color: '#6b7280' },+ { label: selectedWatchlist ? `"${selectedWatchlist.name}"` : 'No list selected', color: '#06b6d4' },+ ]}+ statusInfo={`Stocks: ${stocks.length} | ${isLoading ? 'Loading...' : 'Ready'}`}+ /></div>);};diff --git a/fincept-terminal-desktop/src/components/tabs/data-mapping/DataMappingTab.tsx b/fincept-terminal-desktop/src/components/tabs/data-mapping/DataMappingTab.tsxindex 0ef19f94c..144580d47 100644--- a/fincept-terminal-desktop/src/components/tabs/data-mapping/DataMappingTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/data-mapping/DataMappingTab.tsx@@ -22,6 +22,7 @@ import { TemplateLibrary } from './components/TemplateLibrary';import { mappingEngine } from './engine/MappingEngine';import { mappingDatabase } from './services/MappingDatabase';import { v4 as uuidv4 } from 'uuid';+import { TabFooter } from '@/components/common/TabFooter';type View = 'list' | 'create' | 'templates';@@ -742,6 +743,18 @@ export default function DataMappingTab() {</button></div>)}++ <TabFooter+ tabName="DATA MAPPING"+ leftInfo={[+ { label: `Mappings: ${savedMappings.length}`, color: '#a3a3a3' },+ { label: `View: ${view.toUpperCase()}`, color: '#a3a3a3' },+ ...(view === 'create' ? [{ label: `Step: ${currentStep.toUpperCase()}`, color: '#ea580c' }] : [])+ ]}+ statusInfo={`Schema transformations | API integrations | Real-time mapping`}+ backgroundColor="#1a1a1a"+ borderColor="#2d2d2d"+ /></div>);}diff --git a/fincept-terminal-desktop/src/components/tabs/data-sources/DataSourcesTab.tsx b/fincept-terminal-desktop/src/components/tabs/data-sources/DataSourcesTab.tsxindex 026fc7b63..1a00fe6f1 100644--- a/fincept-terminal-desktop/src/components/tabs/data-sources/DataSourcesTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/data-sources/DataSourcesTab.tsx@@ -20,6 +20,7 @@ import { DATA_SOURCE_CONFIGS } from './dataSourceConfigs';import { DataSourceConfig, DataSourceConnection, DataSourceCategory } from './types';import { hasAdapter } from './adapters';import { useDataSources } from '../../../contexts/DataSourceContext';+import { TabFooter } from '@/components/common/TabFooter';export default function DataSourcesTab() {const {@@ -817,6 +818,18 @@ export default function DataSourcesTab() {</div></div>)}++ <TabFooter+ tabName="DATA SOURCES"+ leftInfo={[+ { label: `Sources: ${DATA_SOURCE_CONFIGS.length}`, color: '#a3a3a3' },+ { label: `Connections: ${connections.length}`, color: '#a3a3a3' },+ { label: `View: ${view.toUpperCase()}`, color: '#a3a3a3' },+ ]}+ statusInfo={`Connected: ${connections.filter(c => c.status === 'connected').length} | Active adapters available`}+ backgroundColor="#1a1a1a"+ borderColor="#2d2d2d"+ /></div>);}diff --git a/fincept-terminal-desktop/src/components/tabs/docs/DocsFooter.tsx b/fincept-terminal-desktop/src/components/tabs/docs/DocsFooter.tsxindex c594f18fb..78794f7da 100644--- a/fincept-terminal-desktop/src/components/tabs/docs/DocsFooter.tsx+++ b/fincept-terminal-desktop/src/components/tabs/docs/DocsFooter.tsx@@ -1,5 +1,6 @@import React from 'react';import { DocSubsection } from './types';+import { TabFooter } from '@/components/common/TabFooter';import { COLORS } from './constants';interface DocsFooterProps {@@ -8,35 +9,15 @@ interface DocsFooterProps {export function DocsFooter({ activeSubsection }: DocsFooterProps) {return (- <div- style={{- borderTop: `2px solid ${COLORS.ORANGE}`,- backgroundColor: COLORS.PANEL_BG,- padding: '8px 16px',- fontSize: '11px',- flexShrink: 0- }}- >- <div- style={{- display: 'flex',- justifyContent: 'space-between',- alignItems: 'center',- flexWrap: 'wrap',- gap: '12px'- }}- >- <div style={{ display: 'flex', alignItems: 'center', gap: '16px', flexWrap: 'wrap' }}>- <span style={{ color: COLORS.ORANGE, fontWeight: 'bold' }}>FINCEPT DOCS v3.0</span>- <span style={{ color: COLORS.GRAY }}>|</span>- <span style={{ color: COLORS.CYAN }}>FinScript Language Reference</span>- <span style={{ color: COLORS.GRAY }}>|</span>- <span style={{ color: COLORS.BLUE }}>API Documentation</span>- </div>- <div style={{ color: COLORS.GRAY }}>- {activeSubsection ? activeSubsection.title : 'Browse Documentation'}- </div>- </div>- </div>+ <TabFooter+ tabName="DOCUMENTATION"+ leftInfo={[+ { label: 'FinScript Language Reference', color: '#06b6d4' },+ { label: 'API Documentation', color: '#3b82f6' },+ ]}+ statusInfo={activeSubsection ? activeSubsection.title : 'Browse Documentation'}+ backgroundColor={COLORS.PANEL_BG}+ borderColor={COLORS.ORANGE}+ />);}diff --git a/fincept-terminal-desktop/src/components/tabs/docs/DocsTab.tsx b/fincept-terminal-desktop/src/components/tabs/docs/DocsTab.tsxindex c3bb4396f..8a1573c6f 100644--- a/fincept-terminal-desktop/src/components/tabs/docs/DocsTab.tsx+++ b/fincept-terminal-desktop/src/components/tabs/docs/DocsTab.tsx@@ -4,6 +4,7 @@ import { DOC_SECTIONS } from './content';import { DocSubsection } from './types';import { getColors } from './constants';import { useTerminalTheme } from '@/contexts/ThemeContext';+import { TabFooter } from '@/components/common/TabFooter';export default function DocsTab() {const { colors: themeColors } = useTerminalTheme();@@ -547,24 +548,17 @@ export default function DocsTab() {</div></div>- {/* Status Bar */}- <div style={{- borderTop: `1px solid ${COLORS.GRAY}`,- backgroundColor: COLORS.PANEL_BG,- padding: '6px 12px',- fontSize: '10px',- color: COLORS.GRAY,- flexShrink: 0,- display: 'flex',- justifyContent: 'space-between',- alignItems: 'center'- }}>- <div style={{ display: 'flex', alignItems: 'center', gap: '16px' }}>- <span>Fincept Terminal Documentation v3.0 | Complete API Reference & Guides</span>- <span>Sections: {totalSections} | Topics: {totalTopics}</span>- </div>- <span>{activeSubsection ? `Current: ${activeSubsection.title}` : 'Select a topic to begin'}</span>- </div>+ <TabFooter+ tabName="DOCUMENTATION"+ leftInfo={[+ { label: 'Complete API Reference & Guides', color: COLORS.GRAY },+ { label: `Sections: ${totalSections}`, color: COLORS.GRAY },+ { label: `Topics: ${totalTopics}`, color: COLORS.GRAY },+ ]}+ statusInfo={activeSubsection ? `Current: ${activeSubsection.title}` : 'Select a topic to begin'}+ backgroundColor={COLORS.PANEL_BG}+ borderColor={COLORS.GRAY}+ /></div>);}diff --git a/fincept-terminal-desktop/src/constants/version.ts b/fincept-terminal-desktop/src/constants/version.tsindex ac3bb84af..507b937ff 100644--- a/fincept-terminal-desktop/src/constants/version.ts+++ b/fincept-terminal-desktop/src/constants/version.ts@@ -1,8 +1,8 @@// Application version constants// This file is the single source of truth for the app version displayed in the UI-// The build version comes from tauri.conf.json+// The build version comes from tauri.conf.json and package.json-export const APP_VERSION = '3.0.0';+export const APP_VERSION = '3.0.12';export const APP_NAME = 'Fincept Terminal';export const APP_BUILD_DATE = new Date().toISOString().split('T')[0];