refactor: UniversalListPage externalIsLoading 지원 및 스켈레톤 개선
- UniversalListPage에 externalIsLoading prop 추가 - CardTransactionDetailClient DevFill 자동입력 기능 추가 - 여러 컴포넌트 로딩 상태 처리 개선 - skeleton 컴포넌트 확장 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,7 @@ import { useRouter } from 'next/navigation';
|
||||
import { cn } from '@/lib/utils';
|
||||
import { Label } from '@/components/ui/label';
|
||||
import { Input } from '@/components/ui/input';
|
||||
import { PageLoadingSpinner } from '@/components/ui/loading-spinner';
|
||||
import { FormSectionSkeleton } from '@/components/ui/skeleton';
|
||||
import { Alert, AlertDescription } from '@/components/ui/alert';
|
||||
import {
|
||||
Card,
|
||||
@@ -616,12 +616,7 @@ export default function DynamicItemForm({
|
||||
|
||||
// 로딩 상태
|
||||
if (isLoading && selectedItemType) {
|
||||
return (
|
||||
<PageLoadingSpinner
|
||||
text="폼 구조를 불러오는 중..."
|
||||
minHeight="min-h-[40vh]"
|
||||
/>
|
||||
);
|
||||
return <FormSectionSkeleton />;
|
||||
}
|
||||
|
||||
// 에러 상태
|
||||
|
||||
Reference in New Issue
Block a user