Skip to content

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.

feat: Add AI Quant Lab and Excel tabs to toolbar navigation

tilakpatel224ab9d006c86a
diff --git a/fincept-terminal-desktop/public/locales/en/tabs.json b/fincept-terminal-desktop/public/locales/en/tabs.json
index f5a7e9500..ab97cc9d0 100644
--- a/fincept-terminal-desktop/public/locales/en/tabs.json
+++ b/fincept-terminal-desktop/public/locales/en/tabs.json
@@ -14,6 +14,8 @@
"trading": "Trading",
"chat": "AI Chat",
"agents": "Agents",
+ "aiQuantLab": "AI Quant Lab",
+ "excel": "Excel",
"settings": "Settings",
"profile": "Profile",
"forum": "Forum",
diff --git a/fincept-terminal-desktop/src-tauri/cargo_errors.txt b/fincept-terminal-desktop/src-tauri/cargo_errors.txt
deleted file mode 100644
index e69de29bb..000000000
diff --git a/fincept-terminal-desktop/src-tauri/src/setup.rs b/fincept-terminal-desktop/src-tauri/src/setup.rs
index df8561860..dd50fb617 100644
--- a/fincept-terminal-desktop/src-tauri/src/setup.rs
+++ b/fincept-terminal-desktop/src-tauri/src/setup.rs
@@ -35,22 +35,16 @@ const BUN_VERSION: &str = "1.1.0";
// Optimized builds (require AVX2 - modern CPUs from ~2013+)
const BUN_WINDOWS_X64_URL: &str = "https://github.com/oven-sh/bun/releases/download/bun-v1.1.0/bun-windows-x64.zip";
-#[cfg(target_os = "macos")]
const BUN_MACOS_X64_URL: &str = "https://github.com/oven-sh/bun/releases/download/bun-v1.1.0/bun-darwin-x64.zip";
-#[cfg(target_os = "linux")]
const BUN_LINUX_X64_URL: &str = "https://github.com/oven-sh/bun/releases/download/bun-v1.1.0/bun-linux-x64.zip";
// Baseline builds (work on all CPUs, slightly slower)
const BUN_WINDOWS_X64_BASELINE_URL: &str = "https://github.com/oven-sh/bun/releases/download/bun-v1.1.0/bun-windows-x64-baseline.zip";
-#[cfg(target_os = "macos")]
-const BUN_MACOS_X64_BASELINE_URL: &str = "https://github.com/oven-sh/bun/releases/download/bun-v1.1.0/bun-darwin-x64-baseline.zip";
-#[cfg(target_os = "linux")]
+const BUN_DARWIN_X64_BASELINE_URL: &str = "https://github.com/oven-sh/bun/releases/download/bun-v1.1.0/bun-darwin-x64-baseline.zip";
const BUN_LINUX_X64_BASELINE_URL: &str = "https://github.com/oven-sh/bun/releases/download/bun-v1.1.0/bun-linux-x64-baseline.zip";
// ARM builds (always optimized for their architecture)
-#[cfg(target_os = "macos")]
-const BUN_MACOS_ARM_URL: &str = "https://github.com/oven-sh/bun/releases/download/bun-v1.1.0/bun-darwin-aarch64.zip";
-#[cfg(target_os = "linux")]
+const BUN_DARWIN_ARM_URL: &str = "https://github.com/oven-sh/bun/releases/download/bun-v1.1.0/bun-darwin-aarch64.zip";
const BUN_LINUX_ARM_URL: &str = "https://github.com/oven-sh/bun/releases/download/bun-v1.1.0/bun-linux-aarch64.zip";
/// Detect if CPU supports AVX2 (required for optimized Bun builds)
@@ -938,7 +932,7 @@ async fn install_bun(app: &AppHandle) -> Result<(), String> {
if cfg!(target_arch = "aarch64") {
// ARM Macs always use optimized build
emit_progress(app, "bun", 5, "Downloading Bun for Apple Silicon...", false);
- BUN_MACOS_ARM_URL
+ BUN_DARWIN_ARM_URL
} else {
// Intel Macs - check for AVX2
if cpu_supports_avx2() {
@@ -946,7 +940,7 @@ async fn install_bun(app: &AppHandle) -> Result<(), String> {
BUN_MACOS_X64_URL
} else {
emit_progress(app, "bun", 5, "Downloading baseline Bun for compatibility...", false);
- BUN_MACOS_X64_BASELINE_URL
+ BUN_DARWIN_X64_BASELINE_URL
}
}
} else {
diff --git a/fincept-terminal-desktop/src/components/dashboard/DashboardScreen.tsx b/fincept-terminal-desktop/src/components/dashboard/DashboardScreen.tsx
index 1cde91e7c..f2c962ce0 100644
--- a/fincept-terminal-desktop/src/components/dashboard/DashboardScreen.tsx
+++ b/fincept-terminal-desktop/src/components/dashboard/DashboardScreen.tsx
@@ -42,6 +42,7 @@ import ReportBuilderTab from '@/components/tabs/ReportBuilderTab';
import BacktestingTab from '@/components/tabs/BacktestingTabNew';
import RecordedContextsManager from '@/components/common/RecordedContextsManager';
import AgentConfigTab from '@/components/tabs/AgentConfigTab';
+import AIQuantLabTab from '@/components/tabs/ai-quant-lab/AIQuantLabTab';
import ExcelTab from '@/components/tabs/ExcelTab';
import { useTranslation } from 'react-i18next';
@@ -866,6 +867,20 @@ function FinxeptTerminalContent() {
>
{t('navigation.agents')}
</TabsTrigger>
+ <TabsTrigger
+ value="ai-quant-lab"
+ style={activeTab === 'ai-quant-lab' ? tabStyles.active : tabStyles.default}
+ title="AI Quant Lab"
+ >
+ {t('navigation.aiQuantLab')}
+ </TabsTrigger>
+ <TabsTrigger
+ value="excel"
+ style={activeTab === 'excel' ? tabStyles.active : tabStyles.default}
+ title="Excel Editor"
+ >
+ {t('navigation.excel')}
+ </TabsTrigger>
<TabsTrigger
value="settings"
style={activeTab === 'settings' ? tabStyles.active : tabStyles.default}
@@ -1043,6 +1058,9 @@ function FinxeptTerminalContent() {
<TabsContent value="agents" className="h-full m-0 p-0">
<AgentConfigTab />
</TabsContent>
+ <TabsContent value="ai-quant-lab" className="h-full m-0 p-0">
+ <AIQuantLabTab />
+ </TabsContent>
<TabsContent value="excel" className="h-full m-0 p-0">
<ExcelTab />
</TabsContent>