Skip to content

Commit e67bfab

Browse files
committed
improvement(platform): squashed 6-commit branch onto staging
Combined work across the platform branch: - removed product tour - consolidated sidebar header and simplified workspace menu - removed loading skeletons, simplified settings, refreshed icons - pruned CLAUDE.md - removed home templates - home credits + suggested actions, integrations route, sidebar polish
1 parent e14a3a5 commit e67bfab

227 files changed

Lines changed: 2312 additions & 5069 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CLAUDE.md

Lines changed: 52 additions & 467 deletions
Large diffs are not rendered by default.

apps/sim/app/(landing)/blog/[slug]/share-button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
DropdownMenuItem,
99
DropdownMenuTrigger,
1010
} from '@/components/emcn'
11-
import { Copy } from '@/components/emcn/icons'
11+
import { Duplicate } from '@/components/emcn/icons'
1212
import { LinkedInIcon, xIcon as XIcon } from '@/components/icons'
1313

1414
interface ShareButtonProps {
@@ -52,7 +52,7 @@ export function ShareButton({ url, title }: ShareButtonProps) {
5252
</DropdownMenuTrigger>
5353
<DropdownMenuContent align='end'>
5454
<DropdownMenuItem onSelect={handleCopyLink}>
55-
<Copy className='h-4 w-4' />
55+
<Duplicate className='h-4 w-4' />
5656
{copied ? 'Copied!' : 'Copy link'}
5757
</DropdownMenuItem>
5858
<DropdownMenuItem onSelect={handleShareTwitter}>

apps/sim/app/(landing)/components/landing-preview/components/landing-preview-logs/landing-preview-logs.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
'use client'
22

33
import { useMemo, useState } from 'react'
4-
import { Download } from 'lucide-react'
5-
import { ArrowUpDown, Badge, Library, ListFilter, Search } from '@/components/emcn'
4+
import { ArrowUpDown, Badge, Library, ListFilter, Search, Upload } from '@/components/emcn'
65
import type { BadgeProps } from '@/components/emcn/components/badge/badge'
76
import { cn } from '@/lib/core/utils/cn'
87
import { workflowBorderColor } from '@/lib/workspaces/colors'
@@ -179,7 +178,7 @@ export function LandingPreviewLogs() {
179178
</div>
180179
<div className='flex items-center gap-1'>
181180
<div className='flex cursor-default items-center rounded-md px-2 py-1 text-[var(--text-secondary)] text-caption'>
182-
<Download className='mr-1.5 h-[14px] w-[14px] text-[var(--text-icon)]' />
181+
<Upload className='mr-1.5 h-[14px] w-[14px] text-[var(--text-icon)]' />
183182
Export
184183
</div>
185184
<button

apps/sim/app/(landing)/integrations/(shell)/[slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import { TemplateCardButton } from '@/app/(landing)/integrations/(shell)/[slug]/
99
import { IntegrationIcon } from '@/app/(landing)/integrations/components/integration-icon'
1010
import { blockTypeToIconMap } from '@/app/(landing)/integrations/data/icon-mapping'
1111
import integrations from '@/app/(landing)/integrations/data/integrations.json'
12+
import { TEMPLATES } from '@/app/(landing)/integrations/data/templates'
1213
import type { AuthType, FAQItem, Integration } from '@/app/(landing)/integrations/data/types'
13-
import { TEMPLATES } from '@/app/workspace/[workspaceId]/home/components/template-prompts/consts'
1414

1515
const allIntegrations = integrations as Integration[]
1616
const INTEGRATION_COUNT = allIntegrations.length

apps/sim/app/workspace/[workspaceId]/home/components/template-prompts/consts.ts renamed to apps/sim/app/(landing)/integrations/data/templates.ts

File renamed without changes.

apps/sim/app/_styles/globals.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ html[data-sidebar-collapsed] .sidebar-container .sidebar-collapse-btn {
185185
:root,
186186
.light {
187187
--bg: #fefefe; /* main canvas - neutral near-white */
188-
--surface-1: #f9f9f9; /* sidebar, panels */
188+
--surface-1: #fbfbfb; /* sidebar, panels */
189189
--surface-2: #ffffff; /* blocks, cards, modals - pure white */
190190
--surface-3: #f7f7f7; /* popovers, headers */
191191
--surface-4: #f5f5f5; /* buttons base */
@@ -206,7 +206,7 @@ html[data-sidebar-collapsed] .sidebar-container .sidebar-collapse-btn {
206206
--text-muted: #707070;
207207
--text-subtle: #8c8c8c;
208208
--text-body: #3b3b3b;
209-
--text-icon: #5e5e5e;
209+
--text-icon: #525252;
210210

211211
--text-inverse: #ffffff;
212212
--text-muted-inverse: #a0a0a0;
@@ -362,7 +362,7 @@ html[data-sidebar-collapsed] .sidebar-container .sidebar-collapse-btn {
362362
--text-muted: #787878;
363363
--text-subtle: #7d7d7d;
364364
--text-body: #cdcdcd;
365-
--text-icon: #939393;
365+
--text-icon: #a0a0a0;
366366

367367
--text-inverse: #1b1b1b;
368368
--text-muted-inverse: #b3b3b3;

apps/sim/app/chat/components/input/input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export const ChatInput: React.FC<{
182182
<div
183183
onClick={handleContainerClick}
184184
className={cn(
185-
'relative z-10 cursor-text rounded-[20px] border border-[var(--border-1)] bg-[var(--landing-bg-elevated)] px-2.5 py-2',
185+
'relative z-10 cursor-text rounded-2xl border border-[var(--border-1)] bg-[var(--landing-bg-elevated)] px-2.5 py-2',
186186
isDragOver && 'border-purple-500'
187187
)}
188188
onDragEnter={(e) => {

apps/sim/app/chat/components/message/components/file-download.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import { useState } from 'react'
44
import { createLogger } from '@sim/logger'
55
import { sleep } from '@sim/utils/helpers'
6-
import { ArrowDown, Download, Music } from 'lucide-react'
7-
import { Button, Loader } from '@/components/emcn'
6+
import { Music } from 'lucide-react'
7+
import { Button, Loader, Upload } from '@/components/emcn'
88
import { DefaultFileIcon, getDocumentIcon } from '@/components/icons/document-icons'
99
import type { ChatFile } from '@/app/chat/components/message/message'
1010

@@ -128,7 +128,7 @@ export function ChatFileDownload({ file }: ChatFileDownloadProps) {
128128
{isDownloading ? (
129129
<Loader className='h-3.5 w-3.5' animate />
130130
) : (
131-
<ArrowDown
131+
<Upload
132132
className={`h-3.5 w-3.5 transition-opacity ${isHovered ? 'opacity-100' : 'opacity-0'}`}
133133
/>
134134
)}
@@ -178,7 +178,7 @@ export function ChatFileDownloadAll({ files }: ChatFileDownloadAllProps) {
178178
{isDownloading ? (
179179
<Loader className='h-3 w-3' animate />
180180
) : (
181-
<Download className='h-3 w-3' strokeWidth={2} />
181+
<Upload className='h-3 w-3' strokeWidth={2} />
182182
)}
183183
</button>
184184
)

apps/sim/app/chat/components/message/message.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use client'
22

33
import { memo, useState } from 'react'
4-
import { Check, Copy, File as FileIcon, FileText, Image as ImageIcon } from 'lucide-react'
5-
import { Tooltip } from '@/components/emcn'
4+
import { Check, File as FileIcon, FileText, Image as ImageIcon } from 'lucide-react'
5+
import { Duplicate, Tooltip } from '@/components/emcn'
66
import {
77
ChatFileDownload,
88
ChatFileDownloadAll,
@@ -214,7 +214,7 @@ export const ClientChatMessage = memo(
214214
{isCopied ? (
215215
<Check className='h-3 w-3' strokeWidth={2} />
216216
) : (
217-
<Copy className='h-3 w-3' strokeWidth={2} />
217+
<Duplicate className='h-3 w-3' />
218218
)}
219219
</button>
220220
</Tooltip.Trigger>

apps/sim/app/playground/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import {
2020
Code,
2121
Combobox,
2222
Connections,
23-
Copy,
2423
Cursor,
2524
DatePicker,
2625
DocumentAttachment,
@@ -999,7 +998,6 @@ export default function PlaygroundPage() {
999998
{ Icon: CardIcon, name: 'Card' },
1000999
{ Icon: ChevronDown, name: 'ChevronDown' },
10011000
{ Icon: Connections, name: 'Connections' },
1002-
{ Icon: Copy, name: 'Copy' },
10031001
{ Icon: Cursor, name: 'Cursor' },
10041002
{ Icon: DocumentAttachment, name: 'DocumentAttachment' },
10051003
{ Icon: Download, name: 'Download' },

0 commit comments

Comments
 (0)