Commit Graph

90 Commits

Author SHA1 Message Date
8060d50a6f feat: implement CORS proxy for Matrix homeservers during development and refactor call handling logic 2026-04-20 22:23:42 +10:00
9a00375568 feat: Implement view transitions for smoother navigation
- Added `useViewTransitions` hook to enable view transitions in the app.
- Created `useNavigateWithTransition` for navigation with transitions.
- Integrated view transitions in `ClientRoot`, `HomeTab`, `InboxTab`, and `SettingsTab`.
- Introduced `AnimatedOutlet` and `RouteTransition` components for route-based animations.
- Enhanced CSS for transitions and added a new `twilightTheme`.
- Updated Vite configuration to serve sound and font assets.
- Added support for reaction notifications in the room utility.
- Created `DirectList` and related components for direct messaging functionality.
2026-03-25 06:14:11 +11:00
4f1179d5cd YT Fixes 2026-03-23 22:13:32 +11:00
75a9b4ca1e feat: implement centralized access token management for media downloads and user authentication 2026-03-23 21:53:27 +11:00
c7bd376292 feat: Implement sub-room functionality
- Added support for sub-rooms in the SpaceHierarchy component, allowing rooms to have nested child rooms.
- Introduced UnjoinedSubRoomItem component to display unjoined sub-rooms with a join button.
- Created SubRooms settings page for managing sub-rooms, including adding and removing sub-rooms.
- Updated RoomNavItem to include options for creating sub-rooms.
- Enhanced room fetching logic to filter out sub-rooms from the main room list.
- Added hooks for managing sub-rooms state and permissions.
- Updated relevant state management to handle sub-room creation and association with parent rooms.
2026-03-15 16:25:53 +11:00
c07cf58086 feat: implement fallback to unauthenticated requests for media fetching on 401 errors 2026-03-13 01:19:58 +11:00
37f4297972 feat: add avatar border color customization and improve text contrast across user profile components 2026-03-12 23:08:05 +11:00
67f3ae4d34 feat: add border color customization for user profile chips and improve text contrast 2026-03-12 22:18:05 +11:00
834de012b4 feat: enhance user profile customization with avatar border color and gradient options
- Added support for setting avatar border color and gradient in user profile settings.
- Introduced new hooks for managing user profile styles and fetching metadata from avatars.
- Implemented an AngleSelector component for selecting gradient direction.
- Updated RoomNavItem to display parent space information for direct messages.
- Improved caching mechanism for user banners and profile styles.
- Refactored image metadata handling to include new profile style attributes.
2026-03-12 20:50:00 +11:00
fc30d81f8f feat: Enhance user color and banner management
- Updated `useUserColor` hook to support fetching and embedding user color from avatar metadata with authentication.
- Introduced `useUserBanner` hook for managing user banners stored in avatar metadata, including fetching and embedding functionality.
- Added `fetchAndExtractMetadata` utility to retrieve both color and banner from images.
- Implemented `CustomStatusDialog` component for users to set and clear custom status messages.
- Modified `SettingsTab` to include custom status functionality and improved user experience.
- Enhanced image metadata utilities to support banner extraction and embedding in PNG format.
- Updated sidebar settings to handle user profile changes more gracefully.
2026-03-12 10:58:38 +11:00
29c409fad8 feat: implement useMarkAsRead hook for improved unread state management and update notification handling 2026-02-28 00:10:35 +11:00
495747af84 fix: improve text selection handling in copy handler for message formatting 2026-02-22 03:58:11 +11:00
42cc081d49 feat: enhance LiveKit service URL handling and add clipboard support for Electron 2026-02-22 03:41:07 +11:00
f5ba778e46 feat: add CallParticipantsIndicator component to display active call participants
fix: silently ignore OIDC configuration errors in ServerConfigsLoader
fix: handle loadPreview errors in UrlPreviewCard component
fix: silently ignore errors in notification tap listener setup in tauri
2026-02-22 03:17:36 +11:00
e218ab5c37 feat: add emoticon conversion feature for text and HTML inputs 2026-02-21 23:55:15 +11:00
8b0960d366 electron 2026-02-21 17:50:49 +11:00
6c741577ce feat: add Vite configuration with custom plugins and server settings 2026-02-21 16:16:15 +11:00
c55e311241 feat(youtube): add YouTube embed support with yt-dlp integration for ad-free streaming 2026-02-20 16:27:59 +11:00
21d4bc6ad9 feat: add Telegram sticker import functionality
- Implemented TelegramImport component for importing sticker packs from Telegram using a bot token.
- Added utility functions for animated sticker conversion (TGS and WEBM to GIF).
- Created telegramStickerImport module to handle fetching and processing of Telegram sticker sets.
- Introduced GIF.js type definitions for TypeScript support.
2026-02-19 21:57:25 +11:00
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
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
4ca4af0e8b feat(sync): implement background sync and visibility handling for mobile 2026-02-05 19:20:49 +11:00
47b24d26ff fix: update openExternalUrl to use invoke for Tauri command and add fallback for opener plugin 2026-01-25 21:50:10 +11:00
546135988e fix: enhance logging in openExternalUrl for better debugging 2026-01-25 20:09:03 +11:00
fbb6ec213b fix: simplify opener import and improve error logging 2026-01-25 18:40:27 +11:00
156dfcf397 fix: add Tauri opener plugin for external URL handling and improve notification focus behavior 2026-01-25 13:58:44 +11:00
72ba2e200a fix: enhance file paste handler to support clipboard images on Linux with Tauri 2026-01-25 11:31:51 +11:00
92c3ec8082 fix: update openExternalUrl to use dynamic import for Tauri shell plugin 2026-01-24 08:21:34 +11:00
7c2851e958 fix: refine openExternalUrl to correctly import Tauri shell plugin based on environment 2026-01-24 08:18:45 +11:00
455cf5cce6 fix: update openExternalUrl to use Tauri plugin shell for improved URL handling 2026-01-24 08:15:49 +11:00
92be07cb47 feat: refactor openExternalUrl to use dedicated Tauri shell utility 2026-01-24 08:12:39 +11:00
13d87e44c8 fix: update Tauri shell import to use Vite ignore for compatibility 2026-01-24 08:08:59 +11:00
a2268f863b fix: improve Tauri shell import logic in openExternalUrl function 2026-01-24 08:04:09 +11:00
a6b76a9be7 feat: implement openExternalUrl utility for consistent external link handling 2026-01-24 07:59:45 +11:00
c0af925420 feat: enhance Tauri support with notification handling and safe area insets 2026-01-24 07:48:21 +11:00
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
Ajay Bura
90ca8ca2c5 Remove unused javascript (#2470) 2025-08-29 19:34:52 +10:00
Ajay Bura
b4266c26b0 New create chat screen (#2463)
* fix dm invite appears in home

* use migrated function for convert to dm/room commands

* add new create chat screen
2025-08-24 22:40:44 +10:00
Ajay Bura
09b88d164f Fix message button opens left dm room (#2453) 2025-08-19 22:38:46 +10:00
Ajay Bura
789da641c1 Fix incorrectly parsed mxid (#2452) 2025-08-19 22:36:57 +10:00
Ajay Bura
367397fdd4 Fix type error when accessing FileList (#2441) 2025-08-16 21:35:34 +10:00
Ajay Bura
63fa60e7f4 Open user profile at around mouse anchor (#2440) 2025-08-16 21:34:46 +10:00
Ajay Bura
1ad7fe8deb Fix missing creators support using via (#2431)
* add additional_creators in IRoomCreateContent type

* use creators in getViaServers

* consider creators in guessing perfect parent
2025-08-16 21:30:02 +10:00
Ajay Bura
f82cfead46 Support room version 12 (#2399)
* WIP - support room version 12

* add room creators hook

* revert changes from powerlevels

* improve use room creators hook

* add hook to get dm users

* add options to add creators in create room/space

* add member item component in member drawer

* remove unused import

* extract member drawer header component

* get room creators as set only if room version support them

* add room permissions hook

* support room v12 creators power

* make predecessor event id optional

* add info about founders in permissions

* allow to create infinite powers to room creators

* allow everyone with permission to create infinite power

* handle additional creators in room upgrade

* add option to follow space tombstone
2025-08-13 00:12:30 +10:00
Ajay Bura
faa952295f Redesign space/room creation panel (#2408)
* add new create room

* rename create room modal file

* default restrict access for space children in room create modal

* move create room kind selector to components

* add radii variant to sequence card component

* more more reusable create room logic to components

* add create space

* update address input description

* add new space modal

* fix add room button visible on left room in space lobby
2025-08-05 23:07:07 +10:00
Gimle Larpes
9183fd66b2 Add settings to enable 24-hour time format and customizable date format (#2347)
* Add setting to enable 24-hour time format

* added hour24Clock to TimeProps

* Add incomplete dateFormatString setting

* Move 24-hour  toggle to Appearance

* Add "Date & Time" subheading, cleanup after merge

* Add setting for date formatting

* Fix minor formatting and naming issues

* Document functions

* adress most comments

* add hint for date formatting

* add support for 24hr time to TimePicker

* prevent overflow on small displays
2025-07-27 22:13:00 +10:00
Ajay Bura
67b05eeb09 Render room avatar as fallback for dm group chat (#2398)
* render room avatar for dm group chat

* remove extra conditions
2025-07-23 21:00:02 +05:30
Ajay Bura
50cc78788f Jump to time option in room timeline (#2377)
* add time and date picker components

* add time utils

* add jump to time in room timeline

* fix typo causing crash in safari
2025-07-15 22:41:33 +10:00
Ajay Bura
c30c142653 Stop parsing servername from roomId (#2391) 2025-07-15 22:33:45 +10:00
Ajay Bura
fbd7e0a14b improve parent selection when opening a room (#2388)
when a room has more than one orphan parent, we will select parent which has highest number of special users who have special powers in selected room.
2025-07-11 21:03:55 +10:00