Skip to content

Commit 469781f

Browse files
committed
rename and file change
1 parent c165f54 commit 469781f

13 files changed

Lines changed: 51 additions & 49 deletions

File tree

apps/sim/app/workspace/[workspaceId]/home/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getSession } from '@/lib/auth'
33
import { Home } from './home'
44

55
export const metadata: Metadata = {
6-
title: 'Home',
6+
title: 'New chat',
77
}
88

99
interface HomePageProps {

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const allNavigationItems: NavigationItem[] = [
101101
{ id: 'general', label: 'General', icon: Settings, section: 'account' },
102102
{
103103
id: 'access-control',
104-
label: 'Access Control',
104+
label: 'Access control',
105105
icon: ShieldCheck,
106106
section: 'enterprise',
107107
requiresHosted: true,
@@ -110,7 +110,7 @@ export const allNavigationItems: NavigationItem[] = [
110110
},
111111
{
112112
id: 'audit-logs',
113-
label: 'Audit Logs',
113+
label: 'Audit logs',
114114
icon: ClipboardList,
115115
section: 'enterprise',
116116
requiresHosted: true,
@@ -148,10 +148,10 @@ export const allNavigationItems: NavigationItem[] = [
148148
requiresTeam: true,
149149
},
150150
{ id: 'secrets', label: 'Secrets', icon: Key, section: 'account' },
151-
{ id: 'custom-tools', label: 'Custom Tools', icon: Wrench, section: 'tools' },
152-
{ id: 'mcp', label: 'MCP Tools', icon: McpIcon, section: 'tools' },
153-
{ id: 'apikeys', label: 'Sim API Keys', icon: TerminalWindow, section: 'system' },
154-
{ id: 'workflow-mcp-servers', label: 'MCP Servers', icon: Server, section: 'system' },
151+
{ id: 'custom-tools', label: 'Custom tools', icon: Wrench, section: 'tools' },
152+
{ id: 'mcp', label: 'MCP tools', icon: McpIcon, section: 'tools' },
153+
{ id: 'apikeys', label: 'Sim API keys', icon: TerminalWindow, section: 'system' },
154+
{ id: 'workflow-mcp-servers', label: 'MCP servers', icon: Server, section: 'system' },
155155
{
156156
id: 'byok',
157157
label: 'BYOK',
@@ -161,14 +161,14 @@ export const allNavigationItems: NavigationItem[] = [
161161
},
162162
{
163163
id: 'copilot',
164-
label: 'Copilot Keys',
164+
label: 'Copilot keys',
165165
icon: HexSimple,
166166
section: 'system',
167167
requiresHosted: true,
168168
},
169169
{
170170
id: 'inbox',
171-
label: 'Sim Mailer',
171+
label: 'Sim mailer',
172172
icon: Send,
173173
section: 'system',
174174
requiresMax: true,
@@ -180,16 +180,16 @@ export const allNavigationItems: NavigationItem[] = [
180180
? [
181181
{
182182
id: 'credential-sets' as const,
183-
label: 'Email Polling',
183+
label: 'Email polling',
184184
icon: Mail,
185185
section: 'system' as const,
186186
},
187187
]
188188
: []),
189-
{ id: 'recently-deleted', label: 'Recently Deleted', icon: TrashOutline, section: 'system' },
189+
{ id: 'recently-deleted', label: 'Recently deleted', icon: TrashOutline, section: 'system' },
190190
{
191191
id: 'sso',
192-
label: 'Single Sign-On',
192+
label: 'Single sign-on',
193193
icon: LogIn,
194194
section: 'enterprise',
195195
requiresHosted: true,
@@ -198,7 +198,7 @@ export const allNavigationItems: NavigationItem[] = [
198198
},
199199
{
200200
id: 'data-retention',
201-
label: 'Data Retention',
201+
label: 'Data retention',
202202
icon: Database,
203203
section: 'enterprise',
204204
requiresHosted: true,
@@ -207,7 +207,7 @@ export const allNavigationItems: NavigationItem[] = [
207207
},
208208
{
209209
id: 'data-drains',
210-
label: 'Data Drains',
210+
label: 'Data drains',
211211
icon: Upload,
212212
section: 'enterprise',
213213
requiresHosted: true,

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ const SUCCESS_RESET_DELAY_MS = 2000
3434
const DEFAULT_REQUEST_TYPE = 'bug'
3535

3636
const REQUEST_TYPE_OPTIONS = [
37-
{ label: 'Bug Report', value: 'bug' },
37+
{ label: 'Bug report', value: 'bug' },
3838
{ label: 'Feedback', value: 'feedback' },
39-
{ label: 'Feature Request', value: 'feature_request' },
39+
{ label: 'Feature request', value: 'feature_request' },
4040
{ label: 'Other', value: 'other' },
4141
]
4242

@@ -302,8 +302,8 @@ export function HelpModal({ open, onOpenChange, workflowId, workspaceId }: HelpM
302302
}
303303

304304
return (
305-
<ChipModal open={open} onOpenChange={onOpenChange} srTitle='Help & Support' size='md'>
306-
<ChipModalHeader onClose={() => onOpenChange(false)}>Help &amp; Support</ChipModalHeader>
305+
<ChipModal open={open} onOpenChange={onOpenChange} srTitle='Help & support' size='md'>
306+
<ChipModalHeader onClose={() => onOpenChange(false)}>Help &amp; support</ChipModalHeader>
307307

308308
<form onSubmit={handleSubmit(onSubmit)} className='flex min-h-0 flex-1 flex-col'>
309309
<ChipModalBody className='min-h-0'>
@@ -351,7 +351,7 @@ export function HelpModal({ open, onOpenChange, workflowId, workspaceId }: HelpM
351351

352352
<div className='flex flex-col gap-2'>
353353
<p className='font-medium text-[var(--text-secondary)] text-sm'>
354-
Attach Images (Optional)
354+
Attach images (optional)
355355
</p>
356356
<Button
357357
type='button'
@@ -390,7 +390,7 @@ export function HelpModal({ open, onOpenChange, workflowId, workspaceId }: HelpM
390390
{images.length > 0 && (
391391
<div className='space-y-2'>
392392
<p className='font-medium text-[var(--text-secondary)] text-sm'>
393-
Uploaded Images
393+
Uploaded images
394394
</p>
395395
<div className='grid grid-cols-2 gap-3'>
396396
{images.map((image, index) => (

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/search-modal/components/search-groups/search-groups.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export const ToolOpsGroup = memo(function ToolOpsGroup({
115115
}) {
116116
if (items.length === 0) return null
117117
return (
118-
<Command.Group heading='Tool Operations' className={GROUP_HEADING_CLASSNAME}>
118+
<Command.Group heading='Tool operations' className={GROUP_HEADING_CLASSNAME}>
119119
{items.map((op) => (
120120
<MemoizedCommandItem
121121
key={op.id}
@@ -253,7 +253,7 @@ export const PagesGroup = memo(function PagesGroup({
253253
})
254254

255255
export const TablesGroup = createIconGroup('Tables', 'table', Table)
256-
export const KnowledgeBasesGroup = createIconGroup('Knowledge Bases', 'knowledge-base', Database)
256+
export const KnowledgeBasesGroup = createIconGroup('Knowledge bases', 'knowledge-base', Database)
257257

258258
export const ConnectedAccountsGroup = createColoredIconGroup('Connected', 'connected-account')
259259
export const IntegrationsGroup = createColoredIconGroup('Integrations', 'integration')

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export function SearchModal({
109109
[
110110
{
111111
id: 'home',
112-
name: 'Home',
112+
name: 'New chat',
113113
icon: Home,
114114
href: `/workspace/${workspaceId}/home`,
115115
},
@@ -136,14 +136,14 @@ export function SearchModal({
136136
},
137137
{
138138
id: 'knowledge-base',
139-
name: 'Knowledge Base',
139+
name: 'Knowledge base',
140140
icon: Database,
141141
href: `/workspace/${workspaceId}/knowledge`,
142142
hidden: permissionConfig.hideKnowledgeBaseTab,
143143
},
144144
{
145145
id: 'scheduled-tasks',
146-
name: 'Scheduled Tasks',
146+
name: 'Scheduled tasks',
147147
icon: Calendar,
148148
href: `/workspace/${workspaceId}/scheduled-tasks`,
149149
},

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,20 +369,20 @@ export function SettingsSidebar({
369369
<ChipModal
370370
open={showDiscardDialog}
371371
onOpenChange={(open) => !open && handleCancelDiscard()}
372-
srTitle='Unsaved Changes'
372+
srTitle='Unsaved changes'
373373
>
374-
<ChipModalHeader showDivider={false}>Unsaved Changes</ChipModalHeader>
374+
<ChipModalHeader showDivider={false}>Unsaved changes</ChipModalHeader>
375375
<ChipModalBody>
376376
<p className='px-2 text-[var(--text-secondary)] text-sm'>
377377
You have unsaved changes. Are you sure you want to discard them?
378378
</p>
379379
</ChipModalBody>
380380
<ChipModalFooter>
381381
<Chip variant='filled' flush onClick={handleCancelDiscard}>
382-
Keep Editing
382+
Keep editing
383383
</Chip>
384384
<Chip variant='destructive' flush onClick={handleConfirmDiscard}>
385-
Discard Changes
385+
Discard changes
386386
</Chip>
387387
</ChipModalFooter>
388388
</ChipModal>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function canManageBilling(
120120
* Priority order:
121121
* 1. Blocked/dispute states (all users including free with past due payments)
122122
* 2. Free users see upgrade badge
123-
* 3. Critical usage shows "Get Help" (enterprise) or "Set Limit" (others)
123+
* 3. Critical usage shows "Get help" (enterprise) or "Set limit" (others)
124124
*
125125
* @param state - The current display state
126126
* @returns Badge configuration with visibility, variant, and label
@@ -129,18 +129,18 @@ function getBadgeConfig(state: DisplayState): BadgeConfig {
129129
const { isBlocked, isDispute, planType, isCritical, canManageBilling } = state
130130

131131
if (isDispute && canManageBilling) {
132-
return { show: true, variant: 'red', label: 'Get Help' }
132+
return { show: true, variant: 'red', label: 'Get help' }
133133
}
134134
if (isBlocked && canManageBilling) {
135-
return { show: true, variant: 'red', label: 'Fix Now' }
135+
return { show: true, variant: 'red', label: 'Fix now' }
136136
}
137137

138138
if (planType === 'free') {
139139
return { show: true, variant: 'blue-secondary', label: 'Upgrade' }
140140
}
141141

142142
if (isCritical && canManageBilling) {
143-
const label = planType === 'enterprise' ? 'Get Help' : 'Set Limit'
143+
const label = planType === 'enterprise' ? 'Get help' : 'Set limit'
144144
return { show: true, variant: 'red', label }
145145
}
146146

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/workflow-list/components/delete-modal/delete-modal.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ export function DeleteModal({
7575

7676
let title = ''
7777
if (itemType === 'workflow') {
78-
title = isMultiple ? 'Delete Workflows' : 'Delete Workflow'
78+
title = isMultiple ? 'Delete workflows' : 'Delete workflow'
7979
} else if (itemType === 'folder') {
80-
title = isMultiple ? 'Delete Folders' : 'Delete Folder'
80+
title = isMultiple ? 'Delete folders' : 'Delete folder'
8181
} else if (itemType === 'task') {
82-
title = isMultiple ? 'Delete Chats' : 'Delete Chat'
82+
title = isMultiple ? 'Delete chats' : 'Delete chat'
8383
} else if (itemType === 'mixed') {
84-
title = 'Delete Items'
84+
title = 'Delete items'
8585
} else {
86-
title = 'Delete Workspace'
86+
title = 'Delete workspace'
8787
}
8888

8989
const restorableTypes = new Set<string>(['workflow', 'folder', 'mixed'])
@@ -258,7 +258,7 @@ export function DeleteModal({
258258
<p className='px-2 text-[var(--text-secondary)] text-sm'>
259259
{renderDescription()}{' '}
260260
{restorableTypes.has(itemType)
261-
? 'You can restore it from Recently Deleted in Settings.'
261+
? 'You can restore it from Recently deleted in Settings.'
262262
: 'This action cannot be undone.'}
263263
</p>
264264
{isWorkspace && workspaceName && (

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/workflow-list/components/folder-item/folder-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export function FolderItem({
177177
try {
178178
const result = await createFolderMutation.mutateAsync({
179179
workspaceId,
180-
name: 'New Folder',
180+
name: 'New folder',
181181
parentId: folder.id,
182182
id: generateId(),
183183
})

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/workspace-header/components/create-workspace-modal/create-workspace-modal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ export function CreateWorkspaceModal({
4949
}
5050

5151
return (
52-
<ChipModal open={open} onOpenChange={onOpenChange} srTitle='Create Workspace'>
53-
<ChipModalHeader onClose={() => onOpenChange(false)}>Create Workspace</ChipModalHeader>
52+
<ChipModal open={open} onOpenChange={onOpenChange} srTitle='Create workspace'>
53+
<ChipModalHeader onClose={() => onOpenChange(false)}>Create workspace</ChipModalHeader>
5454
<ChipModalBody onKeyDown={handleKeyDown}>
5555
<ChipModalField
5656
type='input'

0 commit comments

Comments
 (0)