Resolve lint errors in ProfileTab and MemberHeader
- Added Button import to MemberHeader - Fixed newAvatar scope issue in handleUploadPhoto and handleCreateAvatar Creator - Stored avatarIdToRefresh in outer scop...
Add Manage Backgrounds button in MemberHeader
- Added handleManageBackgroundsClick prop to MemberHeader - Added Manage Backgrounds button next to URL input when custom background is enabled - BackgroundMana...
Store avatar hash and extension in *** session data
- Added updateSession method to KSessionService for updating session fields - Updated setActiveAvatar to store userAvatarHash and userAvatarExtension in session...
Refresh profile data after setting avatar and ensure proper activation
- handleSelectAvatar now sets avatar as active via API and refreshes profile data - handleUploadPhoto and handleCreateAvatar Creator now update member and refre...
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...
Include avatar URLs in member profile response
- Added helper methods to generate avatar URLs (getThemeDomain, getPublicBucketName, generateFileHash, getPublicBucketUrl, generateAvatarUrl) - Updated getMembe...
Add avatar fallback logic to chat components and member list
- Created avatarUtils.ts with utility functions for avatar fallback (member -> user -> initials) - Updated HexHeadGroup to fetch and display avatars with fallba...
Add ThemeBackgroundController with hash-based storage and public bucket support
Adaugă entitate de fundal și depozit tematic cu relații utilizator/membru
Implement ThemeBackground system: entity, repository, controller, and enhanced BackgroundManager with slideshow support
Fix lint error: change let to const for filtered variable and remove unused imports
Enhance Select Avatar tab: add search, sort by newest, date/time display, edit avatars, and photo cropping with draggable mask
Fix Grid layout: replace Grid container/item with Box using CSS Grid to match FormPersonalInfo.tsx exact layout
Fix TypeScript errors: add eslint-disable for EyeDropper any type, remove unused imports
Replace CREATE AVATAR tab with exact layout from FormPersonalInfo.tsx - matching kamo-register avatar creator interface
Fix Swiper CSS imports: move to top-level side-effect imports instead of dynamic imports
Fixează duplicatul React import care cauzează eroare de construcție
Fix Swiper import: utilizați import dinamic pentru a rezolva problema comună a modulului JS/ESM
Fix TypeScript error: replace 'any' with 'unknown' in error handling
Fix Grid component API utilizare pentru a se potrivi MUI v7 Grid API
Update Create Avatar layout to match kamo-register design
- Reorganize Create Avatar tab with top row for quick settings (Style, Seed) - Split bottom row into two columns: Preview (left) and Advanced Settings (right) -...
Switch back to MuiAvatar components for avatar display
- Replace img tags with MuiAvatar components - Maintains all existing functionality (error handling, loading callbacks) - Cleaner code using Material-UI compone...
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...
Remove ID-based fallback code, use only hash-based naming
- Remove all try-catch fallback logic for missing fileHash column - Remove ID-based file naming fallbacks - Code now exclusively uses hash-based file storage - ...
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 ...
Înlocuiește MuiAvatar cu img tag pentru a afișa corect imagini avatar
- Foloseste eticheta img nativ în loc de componenta MuiAvatar pentru o mai bună redare a imaginii - Înveliți img în container cutie cu stil adecvat pentru afișa...
Implement hash-based file storage for avatars
- Generate SHA-256 hash from avatar ID after persistence - Store hash in database fileHash field - Upload files to MinIO using hash-based naming: {hash}.{fileEx...
Adaugă câmp Hash fișier la entitatea Avatar pentru stocarea securizată a fișierelor
- Adăugaţi coloana de fişierHash pentru a stoca SHA-256 hash de ID avatar - Hash este folosit pentru numele de fișier MinIO pentru a preveni atacurile de enumer...
Generare URL Avatar și probleme de afișare
- Adăugați X-Forwarded-Host antet de transfer în proxy API astfel încât backend poate genera URL-uri tematice corecte - Adaugati logare comprehensiva pentru upl...
Îmbunătăţirea managementului avatarului UI şi funcţionalitatea
- Fixaţi avatarul în Select Avatar popup pentru a arăta imagini pentru toate avatarele (generate SVG client-side atunci când URL lipsă) - Fix Upload Funcţionali...
Fixează eroarea de sintaxă SQL în getPageviewExpandedMetrics interogare
Elimină apelurile de transformareAvatarUrl - afișează imagini direct de pe URL-urile suportului
Actualizează avatarUrlTransform pentru a reveni nedefinit în loc de nul
Add logging and ensure public bucket URL format matches working pattern
Comută avatare la găleată publică - nu este nevoie de aut, direct URL-uri temă
Utilizați tipul de promisiune pentru params în Next.js 15 handler traseu
Actualizare Next.js 15 handler de manipulare params pentru proxy de stocare avatar
Aplicați transformarea URL pe URL-urile avatarului în MemberHeader și ProfileTab
Adaugă ruta proxy și transformarea URL pentru imagini avatar pentru a remedia erorile de conținut mixte
Ca ceea ce vezi de transport maritim?
Fiecare dintre aceste actualizări aterizează automat în spațiul de lucru. Începe gratuit și urmăriți-l crească săptămână după săptămână.