mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Add NIP-89 kind 31990 app management for projects
- AppDialog with app preview card, Blossom icon upload, and collapsible advanced section - AppTool for AI to view/update app with view-before-update guard - Shared buildAppEvent utility for DRY event construction - Auto-fill website from deployment URL, default name from project ID - Add repo 'a' tag when origin is a nostr:// URI owned by the user - Custom tool call rendering with AppWindow icon - System prompt guidance for app publishing workflow and prerequisites - Store app coordinate in .git/shakespeare/app.json via DotAI
This commit is contained in:
10 files changed
+1152
-2
No files matched your search
@@ -14,6 +14,7 @@ import {
|
||||
ChevronDown,
|
||||
Trash2,
|
||||
Star,
|
||||
AppWindow,
|
||||
} from 'lucide-react';
|
||||
import { cn } from '@/lib/utils';
|
||||
import { useLocalStorage } from '@/hooks/useLocalStorage';
|
||||
@@ -27,6 +28,7 @@ interface ProjectTitleMenuProps {
|
||||
onDuplicate: () => void;
|
||||
onDelete: () => void;
|
||||
onProjectDetails: () => void;
|
||||
onApp: () => void;
|
||||
isAnyLoading: boolean;
|
||||
className?: string;
|
||||
}
|
||||
@@ -39,6 +41,7 @@ export function ProjectTitleMenu({
|
||||
onDuplicate,
|
||||
onDelete,
|
||||
onProjectDetails,
|
||||
onApp,
|
||||
isAnyLoading,
|
||||
className = '',
|
||||
}: ProjectTitleMenuProps) {
|
||||
@@ -98,6 +101,15 @@ export function ProjectTitleMenu({
|
||||
Project Details
|
||||
</DropdownMenuItem>
|
||||
|
||||
<DropdownMenuItem
|
||||
onClick={onApp}
|
||||
disabled={isAnyLoading}
|
||||
className="gap-2"
|
||||
>
|
||||
<AppWindow className="h-4 w-4" />
|
||||
App
|
||||
</DropdownMenuItem>
|
||||
|
||||
<DropdownMenuItem
|
||||
onClick={onGitHistory}
|
||||
disabled={isAnyLoading}
|
||||
|
||||
Reference in new issue
Block a user