Convert null to undefined for avatarSrc type compatibility
- fetchMemberAvatar returns string | null but avatarSrc expects string | undefined - Use nullish coalescing operator to convert null to undefined
Add .js extension to dynamic imports for node16 module resolution
- TypeScript with node16 moduleResolution requires explicit file extensions - Changed relative imports to include .js extension
Use relative paths for dynamic imports of avatarUtils
- Changed dynamic imports from @/app/lib/avatarUtils to relative paths - Fixes TypeScript module resolution error during build
Fix async/await syntax error in HexHeadGroup useEffect
- Wrapped Promise.all in async function to fix build error - useEffect callbacks cannot be async directly
Update avatarUtils to use URLs directly from member profile
- Backend now includes avatar URLs in member profile response - Removed unnecessary second API call to /api/security/avatars/{id} - More efficient and works cor...
Use correct bucket and object path structure for MinIO uploads
- Change bucket name from domain-based to 'public' bucket - Include domain path (e.g., kamocrm-com) as part of object name, not bucket name - Fix object path st...
Properly handle MinIO upload failures for avatars
- Remove silent exception swallowing in Avatar Creator avatar creation - Add proper error handling and rollback for failed uploads - Delete database record if f...
Handle missing fileHash column gracefully
- Add try-catch around fileHash access to handle missing database column - Fall back to ID-based file naming if fileHash column doesn't exist yet - Allows code ...
Replace MuiAvatar with img tag to properly display avatar images
- Use native img tag instead of MuiAvatar component for better image rendering - Wrap img in Box container with proper styling for circular display - Maintains ...
Avatar URL generation and display issues
- Add X-Forwarded-Host header forwarding in API proxy so backend can generate correct theme domain URLs - Add comprehensive logging for avatar upload and fetch ...
Improve avatar management UI and functionality
- Fix avatar display in Select Avatar popup to show images for all avatars (generate SVG client-side when URL missing) - Fix Upload Photo functionality with imp...
Remove transformAvatarUrl calls - display images directly from backend URLs
Add logging and ensure public bucket URL format matches working pattern
Switch avatars to public bucket - no auth needed, direct theme URLs
Update Next.js 15 route handler params handling for avatar storage proxy
Apply URL transformation to avatar URLs in MemberHeader and ProfileTab
Add proxy route and URL transformation for avatar images to fix mixed content errors
Revert to getPresignedUrl like backgrounds - getPresignedUrlWithEndpoint was breaking uploads
Add retry logic for Maven dependency downloads to handle transient Central failures
Simplify StorageController - validate OTK, get image, stream it
Use proxy route for avatar URLs instead of MinIO SDK presigned URLs
Generate presigned URLs normally then replace hostname with theme domain
Use getPresignedUrlWithEndpoint with theme domain for all avatar URLs
Use getPresignedUrl method that works instead of getPresignedUrlWithEndpoint
Generate presigned URLs with theme domain directly in backend for avatars
Backend now generates presigned URLs with theme domain directly, frontend uses them as-is
Use direct theme domain URLs for avatars - construct URLs using theme path logic as requested
Correct avatar URL path - internal bucket should use /internal/ directly, not /public/bucket-name/internal/
Create server-side getThemePath function - getThemePath uses window which doesn't exist on server
Use getThemePath to construct avatar URLs instead of presigned URLs
Add comprehensive logging and error handling to processAvatarResponse
Like what you see shipping?
Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.