Skip to content

Commit 1b903f2

Browse files
authored
fix(images): updated helm charts with branding URL guidance, removed additional nextjs image optimizations (#2205)
1 parent 414a54c commit 1b903f2

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export function ChatHeader({ chatConfig, starCount }: ChatHeaderProps) {
3737
alt={`${chatConfig?.title || 'Chat'} logo`}
3838
width={24}
3939
height={24}
40+
unoptimized
4041
className='h-6 w-6 rounded-md object-cover'
4142
/>
4243
)}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ export function HelpModal({ open, onOpenChange }: HelpModalProps) {
523523
src={image.preview}
524524
alt={`Preview ${index + 1}`}
525525
fill
526+
unoptimized
526527
className='object-contain'
527528
/>
528529
<button

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function UserAvatar({ user, index }: UserAvatarProps) {
6262
sizes='14px'
6363
className='object-cover'
6464
referrerPolicy='no-referrer'
65-
unoptimized={user.avatarUrl.startsWith('http')}
65+
unoptimized
6666
onError={() => setImageError(true)}
6767
/>
6868
) : (

helm/sim/values.schema.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,15 +238,18 @@
238238
},
239239
"NEXT_PUBLIC_BRAND_LOGO_URL": {
240240
"type": "string",
241-
"description": "Custom logo URL"
241+
"format": "uri",
242+
"description": "Custom logo URL (must be a full URL, e.g., https://example.com/logo.png)"
242243
},
243244
"NEXT_PUBLIC_BRAND_FAVICON_URL": {
244245
"type": "string",
245-
"description": "Custom favicon URL"
246+
"format": "uri",
247+
"description": "Custom favicon URL (must be a full URL, e.g., https://example.com/favicon.ico)"
246248
},
247249
"NEXT_PUBLIC_CUSTOM_CSS_URL": {
248250
"type": "string",
249-
"description": "Custom stylesheet URL"
251+
"format": "uri",
252+
"description": "Custom stylesheet URL (must be a full URL)"
250253
},
251254
"NEXT_PUBLIC_SUPPORT_EMAIL": {
252255
"type": "string",

0 commit comments

Comments
 (0)