Skip to content

Commit a2e27ca

Browse files
andresdjassoclaude
authored andcommitted
revert(skills): drop the skills empty state
Removed at request. The skills list goes back to rendering nothing for zero data, which is what it did before this branch. Takes `vignette.tsx` with it — the shared stage and skeleton bar were left over from the first pass, and skills was the last thing still importing them once the other four graphics were redrawn. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 90a28a3 commit a2e27ca

5 files changed

Lines changed: 1 addition & 128 deletions

File tree

apps/sim/app/workspace/[workspaceId]/components/resource/components/resource-empty-state/gallery-preview.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
FilesEmptyState,
55
KnowledgeEmptyState,
66
LogsEmptyState,
7-
SkillsEmptyState,
87
TablesEmptyState,
98
} from '@/app/workspace/[workspaceId]/components/resource/components/resource-empty-state'
109

@@ -13,7 +12,6 @@ const ENTRIES = [
1312
{ label: 'Tables', node: <TablesEmptyState onCreate={() => {}} /> },
1413
{ label: 'Logs', node: <LogsEmptyState /> },
1514
{ label: 'Files', node: <FilesEmptyState onUpload={() => {}} /> },
16-
{ label: 'Skills', node: <SkillsEmptyState /> },
1715
]
1816

1917
/**
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
export { FilesEmptyState } from '@/app/workspace/[workspaceId]/components/resource/components/resource-empty-state/files-empty-state'
22
export { KnowledgeEmptyState } from '@/app/workspace/[workspaceId]/components/resource/components/resource-empty-state/knowledge-empty-state'
33
export { LogsEmptyState } from '@/app/workspace/[workspaceId]/components/resource/components/resource-empty-state/logs-empty-state'
4-
export { SkillsEmptyState } from '@/app/workspace/[workspaceId]/components/resource/components/resource-empty-state/skills-empty-state'
54
export { TablesEmptyState } from '@/app/workspace/[workspaceId]/components/resource/components/resource-empty-state/tables-empty-state'
6-
export {
7-
Bar,
8-
Vignette,
9-
} from '@/app/workspace/[workspaceId]/components/resource/components/resource-empty-state/vignette'

apps/sim/app/workspace/[workspaceId]/components/resource/components/resource-empty-state/skills-empty-state.tsx

Lines changed: 0 additions & 59 deletions
This file was deleted.

apps/sim/app/workspace/[workspaceId]/components/resource/components/resource-empty-state/vignette.tsx

Lines changed: 0 additions & 58 deletions
This file was deleted.

apps/sim/app/workspace/[workspaceId]/skills/skills.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { getErrorMessage } from '@sim/utils/errors'
77
import { useParams, useRouter } from 'next/navigation'
88
import { useQueryState } from 'nuqs'
99
import { IntegrationTabsHeader, SkillTile } from '@/app/workspace/[workspaceId]/components'
10-
import { SkillsEmptyState } from '@/app/workspace/[workspaceId]/components/resource/components/resource-empty-state'
1110
import { ShowcaseWithExplore } from '@/app/workspace/[workspaceId]/integrations/components/showcase-with-explore'
1211
import { SettingsEmptyState } from '@/app/workspace/[workspaceId]/settings/components/settings-empty-state'
1312
import {
@@ -126,9 +125,7 @@ export function Skills() {
126125
<SettingsEmptyState variant='inline'>
127126
No skills found matching “{searchTerm}
128127
</SettingsEmptyState>
129-
) : isLoading ? null : (
130-
<SkillsEmptyState />
131-
)}
128+
) : null}
132129
</div>
133130
</div>
134131
</div>

0 commit comments

Comments
 (0)