mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-03-18 22:33:08 +00:00
Feature: File Editor (#789)
* feat: Add file management feature * feat: Add auto-save functionality to file editor * fix: Replace HardDriveDownload icon with Save icon for consistency * fix: Prevent recursive copy/move and improve shell injection prevention * refactor: Extract editor settings form into separate component
This commit is contained in:
@@ -2,6 +2,7 @@ import { useMemo, useState, useEffect } from 'react';
|
||||
import type { NavigateOptions } from '@tanstack/react-router';
|
||||
import {
|
||||
FileText,
|
||||
Folder,
|
||||
LayoutGrid,
|
||||
Bot,
|
||||
BookOpen,
|
||||
@@ -142,7 +143,7 @@ export function useNavigation({
|
||||
return true;
|
||||
});
|
||||
|
||||
// Build project items - Terminal is conditionally included
|
||||
// Build project items - Terminal and File Editor are conditionally included
|
||||
const projectItems: NavItem[] = [
|
||||
{
|
||||
id: 'board',
|
||||
@@ -156,6 +157,11 @@ export function useNavigation({
|
||||
icon: Network,
|
||||
shortcut: shortcuts.graph,
|
||||
},
|
||||
{
|
||||
id: 'file-editor',
|
||||
label: 'File Editor',
|
||||
icon: Folder,
|
||||
},
|
||||
{
|
||||
id: 'agent',
|
||||
label: 'Agent Runner',
|
||||
|
||||
Reference in New Issue
Block a user