spine-framework-portal 0.2.26 → 0.2.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pages/TicketsPage.tsx +6 -11
package/package.json
CHANGED
package/pages/TicketsPage.tsx
CHANGED
|
@@ -144,8 +144,8 @@ function TicketThread({ ticketId, ticketStatus, onStatusChange }: TicketThreadPr
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
return (
|
|
147
|
-
<div className="flex flex-col h-full">
|
|
148
|
-
<ScrollArea className="flex-1 p-4">
|
|
147
|
+
<div className="flex flex-col h-full overflow-hidden">
|
|
148
|
+
<ScrollArea className="flex-1 min-h-0 p-4">
|
|
149
149
|
<div className="space-y-3">
|
|
150
150
|
{/* AI State Indicator */}
|
|
151
151
|
{aiState === 'analyzing' && (
|
|
@@ -246,7 +246,7 @@ function DraftTicketView({ onClose, onCreated }: { onClose: () => void; onCreate
|
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
return (
|
|
249
|
-
<div className="flex flex-col h-full">
|
|
249
|
+
<div className="flex flex-col h-full overflow-hidden">
|
|
250
250
|
{/* Header — mirrors existing ticket header style */}
|
|
251
251
|
<div className="px-6 py-3 border-b border-border flex items-center justify-between shrink-0">
|
|
252
252
|
<div>
|
|
@@ -257,7 +257,7 @@ function DraftTicketView({ onClose, onCreated }: { onClose: () => void; onCreate
|
|
|
257
257
|
</div>
|
|
258
258
|
|
|
259
259
|
{/* Thread area */}
|
|
260
|
-
<ScrollArea className="flex-1 p-4">
|
|
260
|
+
<ScrollArea className="flex-1 min-h-0 p-4">
|
|
261
261
|
<div className="space-y-3">
|
|
262
262
|
{draftMessages.length === 0 && (
|
|
263
263
|
<p className="text-sm text-muted-foreground italic text-center py-8">Describe your issue and our AI will respond immediately.</p>
|
|
@@ -353,14 +353,9 @@ export function TicketsPage() {
|
|
|
353
353
|
|
|
354
354
|
const handleStatusChange = useCallback(async (newStatus: string) => {
|
|
355
355
|
if (!selectedId) return
|
|
356
|
-
await updateTicket(selectedId, {
|
|
357
|
-
data: {
|
|
358
|
-
status: newStatus,
|
|
359
|
-
aim_escalation_at: new Date().toISOString()
|
|
360
|
-
}
|
|
361
|
-
})
|
|
356
|
+
await updateTicket(selectedId, { status: newStatus })
|
|
362
357
|
refetch()
|
|
363
|
-
}, [selectedId,
|
|
358
|
+
}, [selectedId, updateTicket, refetch])
|
|
364
359
|
|
|
365
360
|
return (
|
|
366
361
|
<div className="flex flex-col h-full">
|