File tree Expand file tree Collapse file tree 7 files changed +55
-20
lines changed
apps/sim/app/workspace/[workspaceId]/settings/components
components/mcp-server-skeleton Expand file tree Collapse file tree 7 files changed +55
-20
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,15 @@ export function ApiKeySkeleton() {
2323 */
2424export function ApiKeysSkeleton ( ) {
2525 return (
26- < div className = 'flex flex-col gap-[12px]' >
27- < ApiKeySkeleton />
28- < ApiKeySkeleton />
26+ < div className = 'flex h-full flex-col gap-[18px]' >
27+ < div className = 'flex items-center gap-[8px]' >
28+ < Skeleton className = 'h-[30px] flex-1 rounded-[8px]' />
29+ < Skeleton className = 'h-[30px] w-[80px] rounded-[6px]' />
30+ </ div >
31+ < div className = 'flex flex-col gap-[12px]' >
32+ < ApiKeySkeleton />
33+ < ApiKeySkeleton />
34+ </ div >
2935 </ div >
3036 )
3137}
Original file line number Diff line number Diff line change @@ -23,10 +23,16 @@ export function BYOKKeySkeleton() {
2323 */
2424export function BYOKSkeleton ( ) {
2525 return (
26- < div className = 'flex flex-col gap-[12px]' >
27- < BYOKKeySkeleton />
28- < BYOKKeySkeleton />
29- < BYOKKeySkeleton />
26+ < div className = 'flex h-full flex-col gap-[18px]' >
27+ < div className = 'flex items-center gap-[8px]' >
28+ < Skeleton className = 'h-[30px] flex-1 rounded-[8px]' />
29+ </ div >
30+ < Skeleton className = 'h-[14px] w-[280px]' />
31+ < div className = 'flex flex-col gap-[8px]' >
32+ < BYOKKeySkeleton />
33+ < BYOKKeySkeleton />
34+ < BYOKKeySkeleton />
35+ </ div >
3036 </ div >
3137 )
3238}
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ import { Skeleton } from '@/components/emcn'
66export function CredentialSetsSkeleton ( ) {
77 return (
88 < div className = 'flex h-full flex-col gap-[18px]' >
9+ < div className = 'flex items-center gap-[8px]' >
10+ < Skeleton className = 'h-[30px] flex-1 rounded-[8px]' />
11+ < Skeleton className = 'h-[30px] w-[80px] rounded-[6px]' />
12+ </ div >
913 < div className = 'flex flex-col gap-[8px]' >
1014 < Skeleton className = 'h-[14px] w-[100px]' />
1115 < div className = 'flex items-center justify-between' >
Original file line number Diff line number Diff line change @@ -23,10 +23,16 @@ export function CredentialSkeleton() {
2323 */
2424export function CredentialsSkeleton ( ) {
2525 return (
26- < div className = 'flex flex-col gap-[12px]' >
27- < CredentialSkeleton />
28- < CredentialSkeleton />
29- < CredentialSkeleton />
26+ < div className = 'flex h-full flex-col gap-[18px]' >
27+ < div className = 'flex items-center gap-[8px]' >
28+ < Skeleton className = 'h-[30px] flex-1 rounded-[8px]' />
29+ < Skeleton className = 'h-[30px] w-[64px] rounded-[6px]' />
30+ </ div >
31+ < div className = 'flex flex-col gap-[12px]' >
32+ < CredentialSkeleton />
33+ < CredentialSkeleton />
34+ < CredentialSkeleton />
35+ </ div >
3036 </ div >
3137 )
3238}
Original file line number Diff line number Diff line change @@ -23,10 +23,16 @@ export function CustomToolSkeleton() {
2323 */
2424export function CustomToolsSkeleton ( ) {
2525 return (
26- < div className = 'flex flex-col gap-[12px]' >
27- < CustomToolSkeleton />
28- < CustomToolSkeleton />
29- < CustomToolSkeleton />
26+ < div className = 'flex h-full flex-col gap-[18px]' >
27+ < div className = 'flex items-center gap-[8px]' >
28+ < Skeleton className = 'h-[30px] flex-1 rounded-[8px]' />
29+ < Skeleton className = 'h-[30px] w-[64px] rounded-[6px]' />
30+ </ div >
31+ < div className = 'flex flex-col gap-[12px]' >
32+ < CustomToolSkeleton />
33+ < CustomToolSkeleton />
34+ < CustomToolSkeleton />
35+ </ div >
3036 </ div >
3137 )
3238}
Original file line number Diff line number Diff line change 1- import { Skeleton } from '@/components/ui '
1+ import { Skeleton } from '@/components/emcn '
22
33/**
44 * Skeleton loader for MCP server list items.
Original file line number Diff line number Diff line change 1+ import { Skeleton } from '@/components/emcn'
12import { McpServerSkeleton } from '@/app/workspace/[workspaceId]/settings/components/mcp/components/mcp-server-skeleton/mcp-server-skeleton'
23
34/**
45 * Skeleton for the MCP section shown during dynamic import loading.
56 */
67export function McpSkeleton ( ) {
78 return (
8- < div className = 'flex flex-col gap-[12px]' >
9- < McpServerSkeleton />
10- < McpServerSkeleton />
11- < McpServerSkeleton />
9+ < div className = 'flex h-full flex-col gap-[18px]' >
10+ < div className = 'flex items-center gap-[8px]' >
11+ < Skeleton className = 'h-[30px] flex-1 rounded-[8px]' />
12+ < Skeleton className = 'h-[30px] w-[64px] rounded-[6px]' />
13+ </ div >
14+ < div className = 'flex flex-col gap-[12px]' >
15+ < McpServerSkeleton />
16+ < McpServerSkeleton />
17+ < McpServerSkeleton />
18+ </ div >
1219 </ div >
1320 )
1421}
You can’t perform that action at this time.
0 commit comments