mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-08-22 19:16:29 +00:00
style(frontend): apply prettier formatting fixes
- detail-navigation-buttons.tsx: wrap long cn() call across lines - knowledge-header.tsx: alphabetize lucide-react named imports - flow.tsx: reorder Tailwind classes per prettier-plugin-tailwindcss canonical order Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
827fd46c81
commit
450e374166
@@ -58,7 +58,10 @@ export const DetailNavigationButtons = <T extends { id: string }>({
|
||||
<TooltipTrigger asChild>
|
||||
<Button
|
||||
aria-label={`Open ${lowerTitle} list (${controller.positionLabel})`}
|
||||
className={cn(middleHeight, 'min-w-12 rounded-none border-x px-2 font-mono text-xs tabular-nums')}
|
||||
className={cn(
|
||||
middleHeight,
|
||||
'min-w-12 rounded-none border-x px-2 font-mono text-xs tabular-nums',
|
||||
)}
|
||||
disabled={!controller.hasEntries}
|
||||
onClick={controller.openSheet}
|
||||
variant="outline"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { ReactNode } from 'react';
|
||||
|
||||
import { Ellipsis, LibraryBig, Loader2, Pencil, Trash, HatGlasses } from 'lucide-react';
|
||||
import { Ellipsis, HatGlasses, LibraryBig, Loader2, Pencil, Trash } from 'lucide-react';
|
||||
import { useCallback, useState } from 'react';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { toast } from 'sonner';
|
||||
|
||||
@@ -330,7 +330,7 @@ const Flow = () => {
|
||||
{isEditingTitle && flow ? (
|
||||
<InlineEditInput
|
||||
busy={isRenameLoading}
|
||||
className="w-64 min-w-0 max-w-full flex-1"
|
||||
className="w-64 max-w-full min-w-0 flex-1"
|
||||
defaultValue={flowTitle}
|
||||
inputRef={editingInputRef}
|
||||
onCancel={handleFlowRenameCancel}
|
||||
@@ -341,7 +341,7 @@ const Flow = () => {
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<BreadcrumbPage
|
||||
className="min-w-0 cursor-text select-none truncate"
|
||||
className="min-w-0 cursor-text truncate select-none"
|
||||
onDoubleClick={handleFlowRenameStart}
|
||||
>
|
||||
{flowTitle || 'Select a flow'}
|
||||
|
||||
Reference in New Issue
Block a user