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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user