Skip to content

Commit 5bfd821

Browse files
waleedlatif1claude
andcommitted
refactor: move docs link from settings to help dropdown
The Docs link (https://docs.sim.ai) was buried in settings navigation. Moved it to the Help dropdown in the sidebar for better discoverability. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d08805f commit 5bfd821

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

apps/sim/app/workspace/[workspaceId]/settings/navigation.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import {
2-
BookOpen,
32
Card,
43
Connections,
54
HexSimple,
@@ -38,7 +37,6 @@ export type SettingsSection =
3837
| 'skills'
3938
| 'workflow-mcp-servers'
4039
| 'inbox'
41-
| 'docs'
4240
| 'admin'
4341
| 'recently-deleted'
4442

@@ -156,14 +154,6 @@ export const allNavigationItems: NavigationItem[] = [
156154
requiresEnterprise: true,
157155
selfHostedOverride: isSSOEnabled,
158156
},
159-
{
160-
id: 'docs',
161-
label: 'Docs',
162-
icon: BookOpen,
163-
section: 'system',
164-
requiresHosted: true,
165-
externalUrl: 'https://docs.sim.ai',
166-
},
167157
{
168158
id: 'admin',
169159
label: 'Admin',

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import {
2222
Tooltip,
2323
} from '@/components/emcn'
2424
import {
25+
BookOpen,
2526
Calendar,
2627
Database,
2728
File,
@@ -1418,6 +1419,14 @@ export const Sidebar = memo(function Sidebar() {
14181419
)}
14191420
</Tooltip.Root>
14201421
<DropdownMenuContent align='start' side='top' sideOffset={4}>
1422+
<DropdownMenuItem
1423+
onSelect={() =>
1424+
window.open('https://docs.sim.ai', '_blank', 'noopener,noreferrer')
1425+
}
1426+
>
1427+
<BookOpen className='h-[14px] w-[14px]' />
1428+
Docs
1429+
</DropdownMenuItem>
14211430
<DropdownMenuItem onSelect={() => setIsHelpModalOpen(true)}>
14221431
<HelpCircle className='h-[14px] w-[14px]' />
14231432
Report an issue

0 commit comments

Comments
 (0)