feat(tickets): add TicketsPage with URL-param filter state, stub detail panel and modal
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
12
frontend/src/components/tickets/NewTicketModal.tsx
Normal file
12
frontend/src/components/tickets/NewTicketModal.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
// Placeholder — full implementation in Task 17
|
||||
interface Props {
|
||||
defaultTab?: 'quick' | 'manual'
|
||||
initialValues?: Record<string, unknown>
|
||||
summaryHint?: string
|
||||
onClose: () => void
|
||||
onCreated: (ticketId?: number, summary?: string) => void
|
||||
}
|
||||
|
||||
export function NewTicketModal(_props: Props) {
|
||||
return null
|
||||
}
|
||||
12
frontend/src/components/tickets/TicketDetailPanel.tsx
Normal file
12
frontend/src/components/tickets/TicketDetailPanel.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
// Placeholder — full implementation in Task 16
|
||||
import type { PSATicketSearchResult } from '@/types/integrations'
|
||||
|
||||
interface Props {
|
||||
ticket: PSATicketSearchResult
|
||||
onClose: () => void
|
||||
onStatusUpdated?: (ticketId: number, newStatus: string) => void
|
||||
}
|
||||
|
||||
export function TicketDetailPanel(_props: Props) {
|
||||
return <div>Loading ticket details…</div>
|
||||
}
|
||||
Reference in New Issue
Block a user