diff --git a/frontend/src/app/command/listings/page.tsx b/frontend/src/app/command/listings/page.tsx
index 84c7013..8dafdc0 100755
--- a/frontend/src/app/command/listings/page.tsx
+++ b/frontend/src/app/command/listings/page.tsx
@@ -1,6 +1,7 @@
'use client'
import { useEffect, useState } from 'react'
+import { useSearchParams } from 'next/navigation'
import { useStore } from '@/lib/store'
import { api } from '@/lib/api'
import { CommandCenterLayout } from '@/components/CommandCenterLayout'
@@ -61,11 +62,13 @@ interface VerificationInfo {
export default function MyListingsPage() {
const { subscription } = useStore()
+ const searchParams = useSearchParams()
+ const prefillDomain = searchParams.get('domain')
const [listings, setListings] = useState
([])
const [loading, setLoading] = useState(true)
- // Modals
+ // Modals - auto-open if domain is prefilled
const [showCreateModal, setShowCreateModal] = useState(false)
const [showVerifyModal, setShowVerifyModal] = useState(false)
const [selectedListing, setSelectedListing] = useState(null)
@@ -89,6 +92,14 @@ export default function MyListingsPage() {
loadListings()
}, [])
+ // Auto-open create modal if domain is prefilled from portfolio
+ useEffect(() => {
+ if (prefillDomain) {
+ setNewListing(prev => ({ ...prev, domain: prefillDomain }))
+ setShowCreateModal(true)
+ }
+ }, [prefillDomain])
+
const loadListings = async () => {
setLoading(true)
try {
diff --git a/frontend/src/app/command/portfolio/page.tsx b/frontend/src/app/command/portfolio/page.tsx
index f0b1c6b..5bf431a 100644
--- a/frontend/src/app/command/portfolio/page.tsx
+++ b/frontend/src/app/command/portfolio/page.tsx
@@ -25,6 +25,7 @@ import {
Activity,
Shield,
AlertTriangle,
+ Tag,
} from 'lucide-react'
// Health status configuration
@@ -447,11 +448,20 @@ export default function PortfolioPage() {
onClick={() => openEditModal(domain)}
title="Edit"
/>
+ e.stopPropagation()}
+ className="px-3 py-2 text-xs font-medium text-accent hover:bg-accent/10 rounded-lg transition-colors flex items-center gap-1"
+ >
+
+ List
+
)}
- {/* Sell Modal */}
+ {/* Record Sale Modal - for tracking completed sales */}
{showSellModal && selectedDomain && (
- setShowSellModal(false)}>
+ setShowSellModal(false)}>