Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix: replace section loading text with skeletons

Josué6d735306b07b
diff --git a/control-ui/app/globals.css b/control-ui/app/globals.css
index 90e231a8c..416a88bc2 100644
--- a/control-ui/app/globals.css
+++ b/control-ui/app/globals.css
@@ -8670,6 +8670,57 @@ textarea.cu-input {
border-radius: 4px;
}
+.cu-section-loading-skeleton {
+ display: grid;
+ gap: 0;
+ min-height: 9rem;
+ padding: 0.25rem 0;
+}
+
+.cu-section-loading-skeleton--compact {
+ min-height: 0;
+}
+
+.cu-section-loading-skeleton__row {
+ display: grid;
+ grid-template-columns: minmax(8rem, 1.2fr) minmax(7rem, 1fr) minmax(4rem, 0.45fr);
+ gap: var(--cu-space-3);
+ align-items: center;
+ min-height: 2.55rem;
+ padding: 0.65rem 0;
+ border-bottom: 1px solid var(--cu-border-subtle);
+}
+
+.cu-section-loading-skeleton__row:last-child {
+ border-bottom: 0;
+}
+
+.cu-section-loading-skeleton__cell {
+ width: 70%;
+ height: 0.875rem;
+ min-width: 0;
+}
+
+.cu-section-loading-skeleton__cell--primary {
+ width: 82%;
+}
+
+.cu-section-loading-skeleton__cell--short {
+ justify-self: end;
+ width: 55%;
+}
+
+@media (max-width: 640px) {
+ .cu-section-loading-skeleton__row {
+ grid-template-columns: 1fr;
+ }
+
+ .cu-section-loading-skeleton__cell,
+ .cu-section-loading-skeleton__cell--short {
+ justify-self: start;
+ }
+}
+
/* Inline edit */
.cu-inline-edit {
display: flex;
diff --git a/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsx b/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsx
index a2357825a..55a0115ae 100644
--- a/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsx
+++ b/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsx
@@ -13,6 +13,7 @@ import { RecipeEditor } from '@components/RecipeEditor'
import { RecipeIntegrationsPanel } from '@components/RecipeIntegrationsPanel'
import { RecipeSecretsPanel } from '@components/RecipeSecretsPanel'
import { GrantsReadonlyPanel, RecipeStatusContent } from '@components/RecipeStatusContent'
+import { SectionLoadingSkeleton } from '@components/SectionLoadingSkeleton'
import { IconWorkflow } from '@components/Sidebar/icons'
import { SkeletonTableRows } from '@components/SkeletonTableRows'
import { TableHeaderRow } from '@components/TableHeaderRow'
@@ -787,7 +788,7 @@ function WorkflowRecipeDetailContent() {
) : (
<div className="cu-card">
<div className="cu-card__body">
- <span className="cu-muted">Loading recipe…</span>
+ <SectionLoadingSkeleton label="Loading recipe permissions" rows={3} />
</div>
</div>
)
diff --git a/control-ui/components/PublisherView/DockerCredentials.tsx b/control-ui/components/PublisherView/DockerCredentials.tsx
index 16a75f7fd..beb8854db 100644
--- a/control-ui/components/PublisherView/DockerCredentials.tsx
+++ b/control-ui/components/PublisherView/DockerCredentials.tsx
@@ -9,6 +9,7 @@ import {
revokeRegistryApiKey,
} from '../../lib/api'
import { useConfirmDialog } from '../ConfirmDialog'
+import { SectionLoadingSkeleton } from '../SectionLoadingSkeleton'
import { TableHeaderRow } from '../TableHeaderRow'
import type { TableHeaderColumn } from '../TableHeaderRow/types'
import { useToast } from '../Toast'
@@ -166,7 +167,9 @@ export function DockerCredentialsPanel({ orgScope }: { orgScope: string }) {
</>
) : null}
- {view.kind === 'loading' ? <p>Loading…</p> : null}
+ {view.kind === 'loading' ? (
+ <SectionLoadingSkeleton label="Loading push credentials" rows={3} />
+ ) : null}
{view.kind === 'not-owner' ? (
<p className="cu-banner cu-banner--warn">
You must be an org owner to manage push credentials
diff --git a/control-ui/components/PublisherView/GrantAccessModal/index.tsx b/control-ui/components/PublisherView/GrantAccessModal/index.tsx
index 0c6f5ed45..9e7713361 100644
--- a/control-ui/components/PublisherView/GrantAccessModal/index.tsx
+++ b/control-ui/components/PublisherView/GrantAccessModal/index.tsx
@@ -4,6 +4,7 @@ import { useCallback, useEffect, useId, useRef, useState } from 'react'
import { IconX } from '@components/icons'
import { type OrgGrant, createOrgGrant, listOrgGrants, revokeOrgGrant } from '@lib/api'
import { useConfirmDialog } from '../../ConfirmDialog'
+import { SectionLoadingSkeleton } from '../../SectionLoadingSkeleton'
import { useToast } from '../../Toast'
import { Button } from '../../ui'
import { RetryBanner } from '../RetryBanner'
@@ -220,7 +221,11 @@ export function GrantAccessModal({
</span>
</div>
{loading ? (
- <p className="cu-muted-note--compact">Loading grants…</p>
+ <SectionLoadingSkeleton
+ className="cu-section-loading-skeleton--compact"
+ label="Loading grants"
+ rows={2}
+ />
) : loadError ? (
<RetryBanner message="Could not load grants." onRetry={() => void load()} />
) : grants.length === 0 ? (
diff --git a/control-ui/components/PublisherView/GrantedToMe.tsx b/control-ui/components/PublisherView/GrantedToMe.tsx
index e6f6baa4e..667dea80f 100644
--- a/control-ui/components/PublisherView/GrantedToMe.tsx
+++ b/control-ui/components/PublisherView/GrantedToMe.tsx
@@ -4,6 +4,7 @@ import Link from 'next/link'
import { CONTROL_ROUTES } from '@constants/routes'
import type { GrantedToMeItem } from '../../lib/api'
import type { InboundGrantsStatus } from '../../lib/hooks/useInboundGrants'
+import { SectionLoadingSkeleton } from '../SectionLoadingSkeleton'
import { TableHeaderRow } from '../TableHeaderRow'
import type { TableHeaderColumn } from '../TableHeaderRow/types'
import { RetryBanner } from './RetryBanner'
@@ -34,7 +35,9 @@ export function GrantedToMe({
grants: GrantedToMeItem[]
reload: () => void
}) {
- if (status === 'loading') return <p>Loading…</p>
+ if (status === 'loading') {
+ return <SectionLoadingSkeleton label="Loading shared plugins" rows={3} />
+ }
if (status === 'unavailable') {
return (
<p className="cu-banner cu-banner--warn">
diff --git a/control-ui/components/PublisherView/OwnedEntries.tsx b/control-ui/components/PublisherView/OwnedEntries.tsx
index 60d8b8b9f..9bc033edf 100644
--- a/control-ui/components/PublisherView/OwnedEntries.tsx
+++ b/control-ui/components/PublisherView/OwnedEntries.tsx
@@ -2,6 +2,7 @@
import React, { useCallback, useEffect, useState } from 'react'
import { type OwnedRegistryEntry, getOwnedRegistryEntries } from '../../lib/api'
+import { SectionLoadingSkeleton } from '../SectionLoadingSkeleton'
import { TableHeaderRow } from '../TableHeaderRow'
import type { TableHeaderColumn } from '../TableHeaderRow/types'
import { Button } from '../ui'
@@ -58,7 +59,9 @@ export function OwnedEntries({ orgScope }: { orgScope: string }) {
void load()
}, [load])
- if (loading) return <p>Loading your published entries…</p>
+ if (loading) {
+ return <SectionLoadingSkeleton label="Loading published entries" />
+ }
if (error) {
return (
<RetryBanner message="Could not load your published entries." onRetry={() => void load()} />
diff --git a/control-ui/components/PublisherView/index.tsx b/control-ui/components/PublisherView/index.tsx
index 3b62521e2..f065a3dde 100644
--- a/control-ui/components/PublisherView/index.tsx
+++ b/control-ui/components/PublisherView/index.tsx
@@ -3,6 +3,7 @@
import { CONTROL_ROUTES } from '@constants/routes'
import { useInboundGrants } from '../../lib/hooks/useInboundGrants'
import { isPublisherEnabled, usePublishScope } from '../../lib/hooks/usePublishScope'
+import { SectionLoadingSkeleton } from '../SectionLoadingSkeleton'
import { TabBar } from '../TabBar'
import { TablePanelHeader } from '../TablePanelHeader'
import { DockerCredentialsPanel } from './DockerCredentials'
@@ -23,7 +24,9 @@ export function PublisherView({ activeTab }: { activeTab: PublisherTab }) {
if (loading) {
return (
<div className="cu-card">
- <div className="cu-card__body">Loading…</div>
+ <div className="cu-card__body">
+ <SectionLoadingSkeleton label="Loading publisher" rows={3} />
+ </div>
</div>
)
}
diff --git a/control-ui/components/RegistryApiKeysPanel.tsx b/control-ui/components/RegistryApiKeysPanel.tsx
index 6136e748d..a434aa261 100644
--- a/control-ui/components/RegistryApiKeysPanel.tsx
+++ b/control-ui/components/RegistryApiKeysPanel.tsx
@@ -15,6 +15,7 @@ import {
import { useConfirmDialog } from './ConfirmDialog'
import CreateApiKeyModal from './CreateApiKeyModal'
import RevealApiKeyModal from './RevealApiKeyModal'
+import { SectionLoadingSkeleton } from './SectionLoadingSkeleton'
import { TableHeaderRow } from './TableHeaderRow'
import type { TableHeaderColumn } from './TableHeaderRow/types'
import { TablePanelHeader } from './TablePanelHeader'
@@ -147,7 +148,9 @@ export default function RegistryApiKeysPanel() {
/>
<div className="cu-card__body">
- {view.kind === 'loading' ? <p>Loading…</p> : null}
+ {view.kind === 'loading' ? (
+ <SectionLoadingSkeleton label="Loading registry API keys" />
+ ) : null}
{view.kind === 'not-owner' ? (
<p className="cu-banner cu-banner--warn">
You must be an org owner to manage API keys
diff --git a/control-ui/components/RegistryConnectPanel.tsx b/control-ui/components/RegistryConnectPanel.tsx
index e2da0fa60..7db41bc65 100644
--- a/control-ui/components/RegistryConnectPanel.tsx
+++ b/control-ui/components/RegistryConnectPanel.tsx
@@ -12,6 +12,7 @@ import {
} from '../lib/api'
import { usePublishScope } from '../lib/hooks/usePublishScope'
import { useConfirmDialog } from './ConfirmDialog'
+import { SectionLoadingSkeleton } from './SectionLoadingSkeleton'
import { TablePanelHeader } from './TablePanelHeader'
import { useToast } from './Toast'
import { Button, TextInput } from './ui'
@@ -344,7 +345,9 @@ export default function RegistryConnectPanel() {
/>
<div className="cu-card__body">
- {view.kind === 'loading' ? <p>Loading…</p> : null}
+ {view.kind === 'loading' ? (
+ <SectionLoadingSkeleton label="Loading registry connection" rows={3} />
+ ) : null}
{view.kind === 'not-self-hosted' ? (
<p className="cu-banner">
diff --git a/control-ui/components/SectionLoadingSkeleton/index.tsx b/control-ui/components/SectionLoadingSkeleton/index.tsx
new file mode 100644
index 000000000..d219d0cf1
--- /dev/null
+++ b/control-ui/components/SectionLoadingSkeleton/index.tsx
@@ -0,0 +1,33 @@
+'use client'
+
+import { cn } from '@lib/cn'
+import type { SectionLoadingSkeletonProps } from './types'
+
+export function SectionLoadingSkeleton({
+ label,
+ rows = 4,
+ className,
+}: SectionLoadingSkeletonProps) {
+ return (
+ <div
+ aria-busy="true"
+ aria-label={label}
+ className={cn('cu-section-loading-skeleton', className)}
+ role="status"
+ >
+ {Array.from({ length: rows }).map((_, rowIdx) => (
+ <div className="cu-section-loading-skeleton__row" key={rowIdx}>
+ <span
+ aria-hidden="true"
+ className="cu-skeleton cu-section-loading-skeleton__cell cu-section-loading-skeleton__cell--primary"
+ />
+ <span aria-hidden="true" className="cu-skeleton cu-section-loading-skeleton__cell" />
+ <span
+ aria-hidden="true"
+ className="cu-skeleton cu-section-loading-skeleton__cell cu-section-loading-skeleton__cell--short"
+ />
+ </div>
+ ))}
+ </div>
+ )
+}
diff --git a/control-ui/components/SectionLoadingSkeleton/types.ts b/control-ui/components/SectionLoadingSkeleton/types.ts
new file mode 100644
index 000000000..b2489983a
--- /dev/null
+++ b/control-ui/components/SectionLoadingSkeleton/types.ts
@@ -0,0 +1,5 @@
+export type SectionLoadingSkeletonProps = {
+ label: string
+ rows?: number
+ className?: string
+}
diff --git a/control-ui/components/__tests__/DockerCredentials.test.tsx b/control-ui/components/__tests__/DockerCredentials.test.tsx
index 22c9dc43e..30fd606c7 100644
--- a/control-ui/components/__tests__/DockerCredentials.test.tsx
+++ b/control-ui/components/__tests__/DockerCredentials.test.tsx
@@ -38,6 +38,16 @@ const key = {
}
describe('DockerCredentialsPanel', () => {
+ it('renders a skeleton while credentials load', () => {
+ vi.mocked(api.listRegistryApiKeys).mockReturnValue(
+ new Promise(() => undefined) as ReturnType<typeof api.listRegistryApiKeys>
+ )
+ const view = render(<DockerCredentialsPanel orgScope="acme" />)
+ expect(screen.getByRole('status', { name: /loading push credentials/i })).toBeInTheDocument()
+ expect(screen.queryByText(/^Loading/i)).toBeNull()
+ expect(view.container.querySelectorAll('.cu-skeleton').length).toBeGreaterThan(0)
+ })
+
it('lists existing keys', async () => {
vi.mocked(api.listRegistryApiKeys).mockResolvedValue({ org: 'acme', keys: [key] })
render(<DockerCredentialsPanel orgScope="acme" />)
diff --git a/control-ui/components/__tests__/GrantedToMe.test.tsx b/control-ui/components/__tests__/GrantedToMe.test.tsx
index 3ae46bbdb..a67a4f11b 100644
--- a/control-ui/components/__tests__/GrantedToMe.test.tsx
+++ b/control-ui/components/__tests__/GrantedToMe.test.tsx
@@ -5,6 +5,13 @@ import { GrantedToMe } from '../PublisherView/GrantedToMe'
afterEach(cleanup)
describe('GrantedToMe (presentational)', () => {
+ it('renders a skeleton while inbound grants load', () => {
+ const view = render(<GrantedToMe status="loading" grants={[]} reload={vi.fn()} />)
+ expect(screen.getByRole('status', { name: /loading shared plugins/i })).toBeInTheDocument()
+ expect(screen.queryByText(/^Loading/i)).toBeNull()
+ expect(view.container.querySelectorAll('.cu-skeleton').length).toBeGreaterThan(0)
+ })
+
it('renders inbound grants read-only (no revoke)', () => {
render(
<GrantedToMe
diff --git a/control-ui/components/__tests__/OwnedEntries.test.tsx b/control-ui/components/__tests__/OwnedEntries.test.tsx
index bc352e724..015d280d2 100644
--- a/control-ui/components/__tests__/OwnedEntries.test.tsx
+++ b/control-ui/components/__tests__/OwnedEntries.test.tsx
@@ -22,6 +22,16 @@ afterEach(cleanup)
beforeEach(() => vi.clearAllMocks())
describe('OwnedEntries', () => {
+ it('renders a skeleton while owned entries load', () => {
+ vi.mocked(api.getOwnedRegistryEntries).mockReturnValue(
+ new Promise(() => undefined) as ReturnType<typeof api.getOwnedRegistryEntries>
+ )
+ const view = render(<OwnedEntries orgScope="acme" />)
+ expect(screen.getByRole('status', { name: /loading published entries/i })).toBeInTheDocument()
+ expect(screen.queryByText(/Loading your published entries/i)).toBeNull()
+ expect(view.container.querySelectorAll('.cu-skeleton').length).toBeGreaterThan(0)
+ })
+
it('renders owned entries with visibility + status', async () => {
vi.mocked(api.getOwnedRegistryEntries).mockResolvedValue({
data: [
@@ -105,6 +115,20 @@ describe('OwnedEntries', () => {
expect(api.listOrgGrants).toHaveBeenCalledWith('@acme/db')
})
+ it('renders a skeleton while grant access details load', async () => {
+ vi.mocked(api.getOwnedRegistryEntries).mockResolvedValue({
+ data: [{ name: '@acme/db', version: '1.0.0', visibility: 'private', status: 'published' }],
+ })
+ vi.mocked(api.listOrgGrants).mockReturnValue(
+ new Promise(() => undefined) as ReturnType<typeof api.listOrgGrants>
+ )
+ const view = render(<OwnedEntries orgScope="acme" />)
+ fireEvent.click(await screen.findByRole('button', { name: /share access/i }))
+ expect(screen.getByRole('status', { name: /loading grants/i })).toBeInTheDocument()
+ expect(screen.queryByText(/Loading grants/i)).toBeNull()
+ expect(view.container.querySelectorAll('.cu-skeleton').length).toBeGreaterThan(0)
+ })
+
it('closing the modal unmounts it from the DOM', async () => {
vi.mocked(api.getOwnedRegistryEntries).mockResolvedValue({
data: [{ name: '@acme/db', version: '1.0.0', visibility: 'private', status: 'published' }],
diff --git a/control-ui/components/__tests__/PublisherView.test.tsx b/control-ui/components/__tests__/PublisherView.test.tsx
index 276b73c9b..8caca01f1 100644
--- a/control-ui/components/__tests__/PublisherView.test.tsx
+++ b/control-ui/components/__tests__/PublisherView.test.tsx
@@ -43,8 +43,10 @@ describe('PublisherView', () => {
vi.mocked(hook.usePublishScope).mockReturnValue(
publishScopeState({ scope: null, loading: true, error: false })
)
- render(<PublisherView activeTab="entries" />)
- expect(screen.getByText(/loading/i)).toBeInTheDocument()
+ const view = render(<PublisherView activeTab="entries" />)
+ expect(screen.getByRole('status', { name: /loading publisher/i })).toBeInTheDocument()
+ expect(screen.queryByText(/^Loading/i)).toBeNull()
+ expect(view.container.querySelectorAll('.cu-skeleton').length).toBeGreaterThan(0)
})
it('renders unavailable on a curator deploy (fails closed)', () => {
diff --git a/control-ui/components/__tests__/RegistryApiKeysPanel.test.tsx b/control-ui/components/__tests__/RegistryApiKeysPanel.test.tsx
index 7c6bf53dd..53966149e 100644
--- a/control-ui/components/__tests__/RegistryApiKeysPanel.test.tsx
+++ b/control-ui/components/__tests__/RegistryApiKeysPanel.test.tsx
@@ -42,6 +42,16 @@ const key = {
}
describe('RegistryApiKeysPanel', () => {
+ it('renders a skeleton while registry API keys load', () => {
+ vi.mocked(api.listRegistryApiKeys).mockReturnValue(
+ new Promise(() => undefined) as ReturnType<typeof api.listRegistryApiKeys>
+ )
+ const view = render(<RegistryApiKeysPanel />)
+ expect(screen.getByRole('status', { name: /loading registry api keys/i })).toBeInTheDocument()
+ expect(screen.queryByText(/^Loading/i)).toBeNull()
+ expect(view.container.querySelectorAll('.cu-skeleton').length).toBeGreaterThan(0)
+ })
+
it('renders the org header and table on success', async () => {
vi.mocked(api.listRegistryApiKeys).mockResolvedValue({ org: 'acme', keys: [key] })
render(<RegistryApiKeysPanel />)
diff --git a/control-ui/components/__tests__/RegistryConnectPanel.test.tsx b/control-ui/components/__tests__/RegistryConnectPanel.test.tsx
index 37515eec6..7d1af243e 100644
--- a/control-ui/components/__tests__/RegistryConnectPanel.test.tsx
+++ b/control-ui/components/__tests__/RegistryConnectPanel.test.tsx
@@ -46,6 +46,16 @@ beforeEach(() => {
})
describe('RegistryConnectPanel', () => {
+ it('renders a skeleton while registry connection status loads', () => {
+ vi.mocked(api.getRegistryConnection).mockReturnValue(
+ new Promise(() => undefined) as ReturnType<typeof api.getRegistryConnection>
+ )
+ const view = render(<RegistryConnectPanel />)
+ expect(screen.getByRole('status', { name: /loading registry connection/i })).toBeInTheDocument()
+ expect(screen.queryByText(/^Loading/i)).toBeNull()
+ expect(view.container.querySelectorAll('.cu-skeleton').length).toBeGreaterThan(0)
+ })
+
it('shows the request form when disconnected', async () => {
vi.mocked(api.getRegistryConnection).mockResolvedValue({ state: 'disconnected' })
render(<RegistryConnectPanel />)
diff --git a/control-ui/package-lock.json b/control-ui/package-lock.json
index 037915c33..b40ee5454 100644
--- a/control-ui/package-lock.json
+++ b/control-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-control-ui",
- "version": "0.1.371",
+ "version": "0.1.372",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-control-ui",
- "version": "0.1.371",
+ "version": "0.1.372",
"dependencies": {
"@clerum/llm-providers": "file:../packages/llm-providers",
"@clerum/workflow-recipe-capability-policy": "file:../packages/workflow-recipe-capability-policy",
diff --git a/control-ui/package.json b/control-ui/package.json
index d16dbe90b..456c3fe7d 100644
--- a/control-ui/package.json
+++ b/control-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-control-ui",
- "version": "0.1.371",
+ "version": "0.1.372",
"private": true,
"scripts": {
"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",
diff --git a/profile-ui/app/components/AuthGate/index.tsx b/profile-ui/app/components/AuthGate/index.tsx
index 0df2faa22..12bf082f4 100644
--- a/profile-ui/app/components/AuthGate/index.tsx
+++ b/profile-ui/app/components/AuthGate/index.tsx
@@ -21,7 +21,20 @@ function AuthGateBoundary({ children }: AuthGateProps) {
return (
<main className="cu-app cu-app--auth">
<div className="cu-card cu-card--auth">
- <div className="cu-card__body">Loading...</div>
+ <div className="cu-card__body">
+ <div
+ className="profile-skeleton"
+ role="status"
+ aria-label="Loading profile session"
+ aria-busy="true"
+ >
+ <div className="profile-skeleton__row">
+ <span className="profile-skeleton__line profile-skeleton__line--medium" />
+ <span className="profile-skeleton__line" />
+ <span className="profile-skeleton__line profile-skeleton__line--short" />
+ </div>
+ </div>
+ </div>
</div>
</main>
)
diff --git a/profile-ui/app/components/__tests__/AuthGate.test.tsx b/profile-ui/app/components/__tests__/AuthGate.test.tsx
new file mode 100644
index 000000000..f48e668fa
--- /dev/null
+++ b/profile-ui/app/components/__tests__/AuthGate.test.tsx
@@ -0,0 +1,29 @@
+import { afterEach, describe, expect, it, vi } from 'vitest'
+import { cleanup, render, screen } from '@testing-library/react'
+import { useAuth } from '../AuthContext'
+import { AuthGate } from '../AuthGate'
+
+vi.mock('../AuthContext', () => ({ useAuth: vi.fn() }))
+vi.mock('../LoginPanel', () => ({ LoginPanel: () => <div>login-panel</div> }))
+
+afterEach(cleanup)
+
+describe('AuthGate', () => {
+ it('renders a skeleton while profile auth resolves', () => {
+ vi.mocked(useAuth).mockReturnValue({
+ authState: { isLoggedIn: false, isLoading: true, me: null },
+ checkAuth: vi.fn(),
+ login: vi.fn(),
+ logout: vi.fn(),
+ })
+ const view = render(
+ <AuthGate>
+ <div>protected profile content</div>
+ </AuthGate>
+ )
+
+ expect(screen.getByRole('status', { name: /loading profile session/i })).toBeInTheDocument()
+ expect(screen.queryByText(/^Loading/i)).toBeNull()
+ expect(view.container.querySelectorAll('.profile-skeleton__line').length).toBeGreaterThan(0)
+ })
+})
diff --git a/profile-ui/package-lock.json b/profile-ui/package-lock.json
index 15f696d0f..32937e6b9 100644
--- a/profile-ui/package-lock.json
+++ b/profile-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-profile-ui",
- "version": "0.1.107",
+ "version": "0.1.108",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-profile-ui",
- "version": "0.1.107",
+ "version": "0.1.108",
"dependencies": {
"next": "16.2.11",
"react": "^18.3.1",
diff --git a/profile-ui/package.json b/profile-ui/package.json
index 69b6251a9..2aee51694 100644
--- a/profile-ui/package.json
+++ b/profile-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-profile-ui",
- "version": "0.1.107",
+ "version": "0.1.108",
"private": true,
"scripts": {
"dev": "next dev",