Commit Graph
1950 Commits
Author SHA1 Message Date
Evie Gauthier 83262b3593 feat: enhance debug logging and fix background notifications
Debug logging:
- Add logging to LeaveRoomPrompt, CreateRoom, Space, AccountSwitcherTab
- Add build version to debug log exports
- Add network/sync logging to initMatrix

Background notifications:
- Add explicit listener cleanup before stopping clients
- Add exponential backoff retry for failed background clients (5 attempts)
- Add 30s timeout to waitForSync to prevent indefinite hangs
- Use useMemo for inactive sessions array
- Track cleanup callbacks per client
2026-03-13 21:25:34 -04:00
Evie Gauthier 9c017b85cf feat(debug-logging): enhance sync logging and fix filter button issue
- Add comprehensive sync cycle logging in slidingSync.ts:
  - Track room count changes per list with deltas
  - Log initial sync completion with timing and room counts
  - Monitor list expansion progress with detailed stats
  - Detect slow sync cycles (>1s) and expansions (>500ms)
  - Track network connectivity changes with connection info
  - Log attach/dispose lifecycle with diagnostics
  - Add error logging for list operations

- Fix filter button closing settings dialog in DebugLogViewer:
  - Add stopPropagation to category/level menu button handlers
  - Prevents event bubbling that was closing parent dialog

- Add .envrc for automatic Node 24 environment activation via direnv
- Add .nvmrc to specify Node v24.14.0 requirement
2026-03-13 21:25:34 -04:00
Evie Gauthier c123cfefb2 fix(debug-logger): Fix TypeScript error with filters.since undefined check 2026-03-13 21:25:34 -04:00
Evie Gauthier 44029b6a5c fix(debug-logger): Fix PopOut component pattern and state management
- Change debugLoggerEnabledAtom from getter function to direct value atom to properly update UI
- Convert PopOut components from children function to anchor-based pattern
- Add click handlers for category and level filter menus
- Fix TypeScript errors with entry.data unknown type checks
- Filters should now display correctly when clicked
2026-03-13 21:25:34 -04:00
Evie Gauthier c647d561c1 fix build issue 2026-03-13 21:25:34 -04:00
Evie Gauthier 4624617bbf feat: add UI and timeline debug logging
- Add 'ui' and 'timeline' log categories to debugLogger
- Log Room component mount/unmount and drawer state changes
- Log RoomTimeline lifecycle events (mount, unmount, initialization)
- Track timeline pagination (start, complete, errors)
- Monitor live timeline linking state changes
- Log scroll position changes (at bottom, scrolled up)
- Track jump-to-event operations
- Log timeline refresh events
- Add UI and Timeline category filters in DebugLogViewer
- Update description to mention new categories

This provides comprehensive visibility into UI component lifecycle
and timeline visualization state for debugging issues with room
rendering, timeline scrolling, and UI element visibility.
2026-03-13 21:25:34 -04:00
Evie Gauthier bcf5a84220 feat: add internal debug logging system
- Add comprehensive debug logger utility with circular buffer (1000 entries max)
- Add debug log state management with Jotai atoms
- Create DebugLogViewer UI component with real-time updates and filtering
- Integrate debug logger into Developer Tools settings
- Add logging for sync state changes (initMatrix, slidingSync)
- Add logging for authentication (login, logout, session management)
- Add logging for push notifications (permissions, subscriptions)
- Add logging for app lifecycle (visibility changes, backgrounding)
- Add logging for network connectivity (online/offline)
- Add logging for notifications (filtering, routing, mute decisions)
- Add logging for messages (send success/failure, uploads, scheduled)
- Add logging for calls (widget lifecycle, join/hangup, events)
- Support filtering by category and level
- Support exporting logs as JSON (all or filtered)
- Support copying logs to clipboard
2026-03-13 21:25:34 -04:00
7w1 1b97bb8780 fix call preferences not persisting 2026-03-13 14:16:09 -05:00
7w1 6cd5704e18 Merge pull request #193 from dozro/sonar-qube/fixes-2026-03-11
[internal] Fix a few maintainability issues raised by SonarQube
2026-03-12 22:28:30 -05:00
7w1 ee5b34c99c Merge pull request #236 from dozro/fix/sticker-add-encrypted-sticker
Improve sticker handling and update documentation on limitations
2026-03-12 22:17:48 -05:00
7w1 466442cbbb Merge pull request #233 from Just-Insane/fix/notification-handling
Fix notification handling (edits, reactions)
2026-03-12 22:10:15 -05:00
7w1 4e4521a863 Merge pull request #231 from Just-Insane/fix/badge-positioning
Fix badge positioning and alignment across sidebar components
2026-03-12 22:00:59 -05:00
7w1 99499ba462 Merge pull request #234 from Just-Insane/fix/ui-bugs
Fix reaction clicks, zoom persistence, and empty message rendering
2026-03-12 22:00:48 -05:00
7w1 d63ea73995 Merge pull request #240 from dozro/enh/exception-page
Add error page for enhanced reporting and user experience
2026-03-12 21:58:58 -05:00
7w1 6b5466e274 Merge pull request #232 from Just-Insane/perf/sliding-sync
Optimize sliding sync with progressive loading
2026-03-12 21:11:04 -05:00
7w1 931d7459a0 Merge pull request #238 from dozro/feat/tombstone-toggle
Add settings toggle for displaying deleted message tombstones
2026-03-12 20:30:59 -05:00
Rye a6ad473313 add error page for improved error reporting and user experience 2026-03-13 00:51:07 +01:00
Rye 74ce2923e4 add tombstone setting toggle title for improved user guidance 2026-03-12 23:20:23 +01:00
Rye 478b12f7ab add settings toggle for showing tombstones of deleted messages 2026-03-12 23:11:20 +01:00
7w1 91febe0afe fix bubble layout overflow 2026-03-12 16:44:06 -05:00
Rye a96b5954cb docs: adding documentation about the current limitations of quick adding stickers in case of them being encrypted 2026-03-12 22:26:27 +01:00
Rye 58808ebccc fix: handle undefined sticker URLs in MessageInternal 2026-03-12 21:59:55 +01:00
Evie Gauthier 3b98dfc89f fix: auto-format sliding sync files with prettier
- All TypeScript and ESLint checks passing
2026-03-12 14:54:45 -04:00
Evie Gauthier 1d12be5f31 fix: correct isNotificationEvent function usage
- Update BackgroundNotifications.tsx to use single-argument isNotificationEvent
- Update roomToUnread.ts to use single-argument isNotificationEvent
- Auto-format files with prettier
- All TypeScript and ESLint checks passing
2026-03-12 14:53:44 -04:00
Evie Gauthier 9b68143a28 fix: eliminate nested ternary and add missing toRem imports
- Refactor DirectDMsList.tsx to use renderAvatar() function instead of nested ternaries
- Add toRem import to InboxTab.tsx and UnverifiedTab.tsx
- All ESLint and TypeScript checks now passing
2026-03-12 14:51:54 -04:00
Evie Gauthier 27fe27342a fix: correct isNotificationEvent function usage 2026-03-12 14:47:04 -04:00
Evie Gauthier a38b519f15 perf: optimize sliding sync with progressive loading and improved timeline management 2026-03-12 14:26:16 -04:00
Evie Gauthier bd31de7b54 fix: notification handling with null safety and improved logic 2026-03-12 14:25:54 -04:00
Evie Gauthier e1c31a2338 fix: badge positioning and alignment across sidebar components 2026-03-12 14:25:32 -04:00
Evie Gauthier 51abbbaf2a fix: reaction clicks, zoom persistence, and empty message rendering 2026-03-12 14:25:08 -04:00
7w1 87106292e7 fix #227
adds a check to make sure the pronoun array is an actual array
2026-03-12 13:19:27 -05:00
7w1 00b9ded364 Merge pull request #212 from Just-Insane/feat/group-dm-avatars-clean
feat: Add DM button to sidebar when there are unread DMs
2026-03-11 22:54:28 -05:00
Evie Gauthier f385cadf09 Remove unused import of config from DirectDMsList.css.ts 2026-03-11 23:51:27 -04:00
Evie Gauthier 19feda129d Simplify groupMembers mapping in DirectDMsList 2026-03-11 23:51:02 -04:00
Evie Gauthier 9614134c2f Remove debug log for group DM members
Removed debug logging for group DMs.
2026-03-11 23:48:46 -04:00
Evie Gauthier fa243abbd3 Merge branch 'dev' into feat/notification-improvements 2026-03-11 23:46:34 -04:00
Evie Gauthier c6bb5ed49c feat: add triangle avatar layout for group DMs with bot filtering
- Display up to 3 member avatars in triangle formation
- Most recent sender at top center, others at bottom corners
- Filter out bridge bots (ending with 'bot') while keeping bridged users
- Uses room.loadMembersIfNeeded() for lazy-loaded member state
- Respects 'Show DM Counts' notification setting
- 24px avatars in 40px container with proper spacing and borders
2026-03-11 23:37:02 -04:00
7w1 011052214e DM Calls (#165)
* Accepting call things & placement in dms

* evil things to make liner happy

* be happy

* make ringtone stfu

* add room call button and make popup not popup when calling yourself

* support msc4075 maybe possibly idk

* happy lint make

* play sound on outgoing call

* resizeable dm call window

* add custom ringtone and fix audio looping forever

* notifications that will total work trust

* make ringtone and modal stuff actually work after someone leaves call

* hide button for rooms with no perms

* changeset

* update formatting things to work with new controls

* update control styling for mobile

* fix voice appearing in normal voice room chats

* fix non-interactable element call elements

* redo prescreen controls for mobile and dms

* only join call rooms automatically
2026-03-11 21:17:51 -05:00
Evie Gauthier 8476116ed8 Fix: Only send reaction notifications for reactions to your own messages 2026-03-11 20:50:37 -04:00
Rye 14dcb504e0 fix sonarqube issues
fixed sonarqube issues:
- typescript:S7753
- typescript:S7764
- typescript:S7755
- typescript:S6582
2026-03-12 00:40:57 +01:00
Rye e561c18040 fix sonarqube issues
fixed sonarqube issues:
- typescript:S7781
- typescript:S7735
- typescript:S7784

ignored sonarqube issues (for now):
- typescript:S3776
- typescript:S4123
2026-03-11 23:55:16 +01:00
Rye af013d797d fixing sonarqube issues
fixed sonarqube issues:
- typescript:S6759
- typescript:S7781
- typescript:S4822

ignored sonarqube issues:
- typescript:S7735
2026-03-11 23:37:11 +01:00
Rye 6ec4f9911f fix: address metadata leak in message forwarding from private rooms 2026-03-11 23:23:35 +01:00
hazre b71320ec17 feat: add dynamic device display name 2026-03-11 22:12:31 +01:00
7w1 20c5c29bbf Merge pull request #164 from Sugaryyyy/dev
add max-width to custom emotes to prevent overly wide emotes
2026-03-11 15:46:39 -05:00
Evie Gauthier 976d2e8db1 fix: comprehensive notification improvements for sliding sync
- Fix DM notifications using multiple detection signals (m.direct + member count heuristic)
- Fix encrypted event handling with proper event type checking and decryption
- Use fixupNotifications() to reconcile Sliding Sync notification count drift
- Force DM notifications for all messages (excluding mute/mentions-only settings)
- Implement robust stale count detection and correction for accurate badge numbers
- Add timeline walking fallback for computing real counts when SDK counters are stale
- Improve notification type detection for DMs with proper mute checks
- Show in-app banner for background account notifications when app is visible
- Add sound notifications for all accounts (active and background)
- Always force reaction notifications to show for all room types
- Improve background notification routing - build payload first, then route by visibility

Known Issues:
- Background account notifications: System/push notifications do not work when app is hidden
- Mobile keyboard banner positioning: Banner not properly positioned when keyboard is open on iOS
2026-03-11 16:34:06 -04:00
7w1 8f394a1a87 merge upstream and remove duplicate voice room button 2026-03-11 14:02:47 -05:00
hazre fcfe06fc95 fix: resolve peer dependency and matrix-sdk-crypto-wasm issues 2026-03-11 17:23:52 +01:00
hazre 8f9095a393 fix: type and fmt issues 2026-03-11 17:20:05 +01:00
Krishan 6a05ff5840 chore(release): v4.11.1 [skip ci] (#2765)
* chore(release): 4.11.0 [skip ci]

* chore(release): 4.11.1 [skip ci]
2026-03-11 23:07:37 +11:00