chore: prettier format pass on branch files
Auto-format all files modified during the documents-hub-split feature branch that were not yet aligned with the project's Prettier config (single quotes, semicolons, trailing commas). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -55,13 +55,19 @@ export function PipelineCard({
|
||||
|
||||
<div className="flex items-center justify-between gap-2">
|
||||
{leadCategory && (
|
||||
<Badge variant={(LEAD_CATEGORY_COLORS[leadCategory] as 'default' | 'secondary' | 'destructive' | 'outline') ?? 'secondary'}>
|
||||
<Badge
|
||||
variant={
|
||||
(LEAD_CATEGORY_COLORS[leadCategory] as
|
||||
| 'default'
|
||||
| 'secondary'
|
||||
| 'destructive'
|
||||
| 'outline') ?? 'secondary'
|
||||
}
|
||||
>
|
||||
{leadCategory.replace(/_/g, ' ')}
|
||||
</Badge>
|
||||
)}
|
||||
<span className="text-xs text-muted-foreground ml-auto">
|
||||
{daysInStage}d
|
||||
</span>
|
||||
<span className="text-xs text-muted-foreground ml-auto">{daysInStage}d</span>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -38,10 +38,7 @@ export function PipelineColumn({ stage, label, items }: PipelineColumnProps) {
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col gap-2 overflow-y-auto max-h-[calc(100vh-220px)]">
|
||||
<SortableContext
|
||||
items={items.map((i) => i.id)}
|
||||
strategy={verticalListSortingStrategy}
|
||||
>
|
||||
<SortableContext items={items.map((i) => i.id)} strategy={verticalListSortingStrategy}>
|
||||
{items.map((item) => (
|
||||
<PipelineCard
|
||||
key={item.id}
|
||||
|
||||
@@ -81,16 +81,11 @@ export function RecommendationList({ interestId }: RecommendationListProps) {
|
||||
{recommendations.map((rec) => {
|
||||
const score = rec.matchScore ? Math.round(parseFloat(rec.matchScore)) : 0;
|
||||
return (
|
||||
<div
|
||||
key={rec.id}
|
||||
className="border rounded-lg p-3 flex items-center gap-4"
|
||||
>
|
||||
<div key={rec.id} className="border rounded-lg p-3 flex items-center gap-4">
|
||||
<div className="flex-1 min-w-0">
|
||||
<div className="flex items-center gap-2 mb-1">
|
||||
<span className="text-sm font-medium">{rec.mooringNumber}</span>
|
||||
{rec.area && (
|
||||
<span className="text-xs text-muted-foreground">{rec.area}</span>
|
||||
)}
|
||||
{rec.area && <span className="text-xs text-muted-foreground">{rec.area}</span>}
|
||||
<Badge
|
||||
variant={rec.source === 'ai' ? 'secondary' : 'outline'}
|
||||
className="text-xs"
|
||||
|
||||
Reference in New Issue
Block a user