feat(FN-3208): restore mobile nodes nav and improve planning mode

This merge delivers significant testing infrastructure refactoring alongside focused UI, planning, and plugin features. The largest change splits the 20K-line `routes.test.ts` monolith into 15 granular route test files (agents, auth, automation, git, github, planning, settings, system, tasks, tasks-

Fusion-Task-Id: FN-3208
This commit is contained in:
Fusion
2026-05-02 20:44:50 -07:00
committed by gsxdsm
parent 04cf5f094c
commit e5fd33f3a4
5 changed files with 69 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ import {
Play,
Settings,
Monitor,
Network,
Search,
Sparkles,
Target,
@@ -72,7 +73,17 @@ export interface MobileNavBarProps {
/** Whether to show the skills tab */
showSkillsTab?: boolean;
/** Experimental feature flags controlling visibility of nav items. */
experimentalFeatures?: { insights?: boolean; roadmap?: boolean; memoryView?: boolean; devServer?: boolean; devServerView?: boolean; todoView?: boolean; researchView?: boolean };
experimentalFeatures?: {
insights?: boolean;
roadmap?: boolean;
memoryView?: boolean;
devServer?: boolean;
devServerView?: boolean;
todoView?: boolean;
researchView?: boolean;
nodesView?: boolean;
};
onOpenNodes?: () => void;
pluginDashboardViews?: PluginDashboardViewEntry[];
}
@@ -123,6 +134,7 @@ export function MobileNavBar({
onViewAllProjects,
showSkillsTab,
experimentalFeatures,
onOpenNodes,
pluginDashboardViews = [],
}: MobileNavBarProps) {
const mode = useViewportMode();
@@ -657,6 +669,18 @@ export function MobileNavBar({
</button>
)}
{experimentalFeatures?.nodesView && onOpenNodes && (
<button
type="button"
className="mobile-more-item"
data-testid="mobile-more-item-nodes"
onClick={() => handleMoreAction(onOpenNodes)}
>
<Network />
<span>Nodes</span>
</button>
)}
{todoViewEnabled && (
<button
type="button"