mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
Start simplifying 3-dots menu
This commit is contained in:
3 files changed
+20
-134
No files matched your search
@@ -24,15 +24,13 @@ import {
|
||||
Play,
|
||||
CloudUpload,
|
||||
Loader2,
|
||||
GitBranch,
|
||||
History,
|
||||
Download,
|
||||
Trash2,
|
||||
Settings,
|
||||
GitMerge,
|
||||
} from 'lucide-react';
|
||||
import { GitHistoryDialog } from '@/components/ai/GitHistoryDialog';
|
||||
import { GitDialog } from '@/components/GitDialog';
|
||||
import { AppSettingsDialog } from '@/components/AppSettingsDialog';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { useProjectsManager } from '@/hooks/useProjectsManager';
|
||||
import { useToast } from '@/hooks/useToast';
|
||||
@@ -222,7 +220,7 @@ export function ActionsMenu({
|
||||
className="gap-2"
|
||||
>
|
||||
<GitMerge className="h-4 w-4" />
|
||||
Git Status
|
||||
Repository
|
||||
</DropdownMenuItem>
|
||||
|
||||
<DropdownMenuItem
|
||||
@@ -230,21 +228,10 @@ export function ActionsMenu({
|
||||
disabled={isAnyLoading}
|
||||
className="gap-2"
|
||||
>
|
||||
<GitBranch className="h-4 w-4" />
|
||||
Git History
|
||||
<History className="h-4 w-4" />
|
||||
Rollback
|
||||
</DropdownMenuItem>
|
||||
|
||||
<AppSettingsDialog>
|
||||
<DropdownMenuItem
|
||||
disabled={isAnyLoading}
|
||||
className="gap-2"
|
||||
onSelect={(e) => e.preventDefault()}
|
||||
>
|
||||
<Settings className="h-4 w-4" />
|
||||
Settings
|
||||
</DropdownMenuItem>
|
||||
</AppSettingsDialog>
|
||||
|
||||
<DropdownMenuItem
|
||||
onClick={handleExportProject}
|
||||
disabled={isAnyLoading}
|
||||
|
||||
Reference in new issue
Block a user