feat(03-03): add Científico tab to BiWorkspace with MiroFlowControl
- Added Brain icon import from lucide-react - Added MiroFlowControl component import - Added TabsTrigger for 'cientifico' tab with Brain icon - Added TabsContent rendering MiroFlowControl component - All existing tabs (overview, datasources, upload, datasets, charts, backups, staging, advanced) preserved
This commit is contained in:
parent
e5b915e7e8
commit
4ceb407505
|
|
@ -47,6 +47,7 @@ import {
|
||||||
X,
|
X,
|
||||||
Sparkles,
|
Sparkles,
|
||||||
MessageSquare,
|
MessageSquare,
|
||||||
|
Brain,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
import { Textarea } from "@/components/ui/textarea";
|
import { Textarea } from "@/components/ui/textarea";
|
||||||
import {
|
import {
|
||||||
|
|
@ -81,6 +82,7 @@ import {
|
||||||
Cell,
|
Cell,
|
||||||
} from "recharts";
|
} from "recharts";
|
||||||
import { SupersetDashboard } from "@/components/SupersetDashboard";
|
import { SupersetDashboard } from "@/components/SupersetDashboard";
|
||||||
|
import { MiroFlowControl } from "@/components/MiroFlowControl";
|
||||||
|
|
||||||
interface BiStats {
|
interface BiStats {
|
||||||
dataSources: number;
|
dataSources: number;
|
||||||
|
|
@ -2893,6 +2895,9 @@ export default function BiWorkspace() {
|
||||||
<TabsTrigger value="advanced" className="data-[state=active]:bg-[#c89b3c] data-[state=active]:text-[#1f334d] text-white/70">
|
<TabsTrigger value="advanced" className="data-[state=active]:bg-[#c89b3c] data-[state=active]:text-[#1f334d] text-white/70">
|
||||||
<Settings className="w-4 h-4 mr-2" /> Insights
|
<Settings className="w-4 h-4 mr-2" /> Insights
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
|
<TabsTrigger value="cientifico" className="data-[state=active]:bg-[#c89b3c] data-[state=active]:text-[#1f334d] text-white/70">
|
||||||
|
<Brain className="w-4 h-4 mr-2" /> Científico
|
||||||
|
</TabsTrigger>
|
||||||
</TabsList>
|
</TabsList>
|
||||||
|
|
||||||
<TabsContent value="overview" className="mt-0">
|
<TabsContent value="overview" className="mt-0">
|
||||||
|
|
@ -2936,6 +2941,9 @@ export default function BiWorkspace() {
|
||||||
<SupersetDashboard dashboardId="executive-summary" height="calc(100vh - 320px)" />
|
<SupersetDashboard dashboardId="executive-summary" height="calc(100vh - 320px)" />
|
||||||
</div>
|
</div>
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
|
<TabsContent value="cientifico" className="mt-0">
|
||||||
|
<MiroFlowControl />
|
||||||
|
</TabsContent>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue