Commit Graph
26 Commits
Author SHA1 Message Date
litruv bfbdf98468 Refactor image metadata handling for user color embedding
- Updated useUserColor hook to support multiple image formats (PNG, WebP, JPEG, GIF) for color embedding and extraction.
- Introduced unified image metadata utilities in imageMetadata.ts for detecting formats and handling color operations.
- Added GIF metadata utilities in gifMetadata.ts for reading and writing user color.
- Implemented JPEG metadata utilities in jpegMetadata.ts for embedding and extracting user color.
- Created WebP metadata utilities in webpMetadata.ts for handling user color in WebP images.
- Enhanced error handling and logging for unsupported formats and operations.
2026-02-06 15:27:15 +11:00
litruv 516000a25f feat: add user color customization and metadata handling
- Implemented `useUserColor` hook to manage user profile color stored in avatar PNG metadata.
- Added `useOtherUserColor` hook to fetch and cache colors from other users' avatars.
- Created utility functions for reading and writing PNG metadata, enabling color embedding and extraction.
- Refactored `SearchResultGroup`, `RoomInput`, `Message`, `RoomPinMenu`, and `Notifications` components to utilize user color for display.
- Introduced `UserColorPicker` component in settings for users to select and save their profile color.
- Enhanced notification and message rendering to prioritize custom user colors over legacy colors.
2026-02-06 05:53:37 +11:00
litruv 4ca4af0e8b feat(sync): implement background sync and visibility handling for mobile 2026-02-05 19:20:49 +11:00
litruv 1a452f52ca feat(call): add sound effects and incoming call notification UI
- Implemented sound management for call events including mute, unmute, deafen, undeafen, call joined, call depart, and dialing sounds.
- Created a new CallSounds class to handle sound playback and state management.
- Added IncomingCallNotification component to display incoming call alerts with caller information and action buttons.
- Styled the incoming call notification using vanilla-extract CSS for animations and layout.
- Integrated sound playback for incoming calls with a 15-second threshold for dialing sound.
2026-02-05 03:24:18 +11:00
litruv cd912025f1 feat: add PresenceAvatar component with presence indicator styles 2026-01-25 22:41:51 +11:00
litruv 47b24d26ff fix: update openExternalUrl to use invoke for Tauri command and add fallback for opener plugin 2026-01-25 21:50:10 +11:00
litruv 546135988e fix: enhance logging in openExternalUrl for better debugging 2026-01-25 20:09:03 +11:00
litruv 847f755ba4 debug: add logging to handleExternalLinkClick 2026-01-25 19:49:37 +11:00
litruv fbb6ec213b fix: simplify opener import and improve error logging 2026-01-25 18:40:27 +11:00
litruv 2a7384e979 fix: add Tauri opener plugin to package-lock.json for external URL handling 2026-01-25 14:02:27 +11:00
litruv 156dfcf397 fix: add Tauri opener plugin for external URL handling and improve notification focus behavior 2026-01-25 13:58:44 +11:00
litruv 72ba2e200a fix: enhance file paste handler to support clipboard images on Linux with Tauri 2026-01-25 11:31:51 +11:00
litruv d226b1810a fix: add Cinny community spaces and rooms to featuredCommunities in config.json 2026-01-25 04:20:35 +11:00
litruv 3efc68e893 Refactor code structure for improved readability and maintainability 2026-01-25 03:09:58 +11:00
litruv 7b97d19e48 fix: update app name from Cinny to Paarrot in HTML and manifest files 2026-01-25 01:08:53 +11:00
litruv 0cfc6cb0ab fix: implement external link handling with Tauri shell in UrlPreviewCard and react-custom-html-parser 2026-01-25 00:40:38 +11:00
litruv 92c3ec8082 fix: update openExternalUrl to use dynamic import for Tauri shell plugin 2026-01-24 08:21:34 +11:00
litruv 7c2851e958 fix: refine openExternalUrl to correctly import Tauri shell plugin based on environment 2026-01-24 08:18:45 +11:00
litruv 455cf5cce6 fix: update openExternalUrl to use Tauri plugin shell for improved URL handling 2026-01-24 08:15:49 +11:00
litruv 92be07cb47 feat: refactor openExternalUrl to use dedicated Tauri shell utility 2026-01-24 08:12:39 +11:00
litruv 13d87e44c8 fix: update Tauri shell import to use Vite ignore for compatibility 2026-01-24 08:08:59 +11:00
litruv a2268f863b fix: improve Tauri shell import logic in openExternalUrl function 2026-01-24 08:04:09 +11:00
litruv a6b76a9be7 feat: implement openExternalUrl utility for consistent external link handling 2026-01-24 07:59:45 +11:00
litruv c0af925420 feat: enhance Tauri support with notification handling and safe area insets 2026-01-24 07:48:21 +11:00
litruv 54f5fa95a6 Fix authenticated media loading for Tauri/WebKit environments
- Add useAuthenticatedMediaUrl hook that fetches media with auth headers
- Add AuthenticatedMedia, AuthenticatedAvatarImage components
- Update downloadMedia and downloadEncryptedMedia to accept access token
- Update all media components to pass access token for auth media
- Fix 401 errors on Matrix servers requiring authenticated media (v1.11+)

This fixes media loading in Tauri desktop apps where service workers
may not work reliably for cross-origin authenticated requests.
2026-01-23 22:31:37 +11:00
litruv 94f8466d1c feat: add call management features with useCall and useRoomCallMembers hooks
- Implemented useCall hook for managing call state and actions.
- Created useRoomCallMembers hook to track active call members in a room.
- Added useRtcConfig for fetching RTC configurations and LiveKit JWT.
- Developed Audio settings component for managing audio devices and settings.
- Introduced device selection and screen sharing options in the Audio settings.
- Persisted audio settings in localStorage for user preferences.
2026-01-23 19:35:25 +11:00