Commit Graph
6704 Commits
Author SHA1 Message Date
piko-piko 93c51ce6cc Middle click to open the preview card thumbnail in a new tab 2026-03-14 12:22:31 +01:00
Rye 8e07ab9911 implement bandwidth saving feature for stickers and emojis, but because it will increase server load make it opt-in and experimental 2026-03-14 05:45:44 +01:00
7w1 f008ca80ef Merge pull request #261 from SableClient/7w1-patch-1
fix more changesets
2026-03-14 04:11:43 +00:00
7w1 f57bffaff4 Update perf-sliding-sync.md 2026-03-13 23:09:41 -05:00
7w1 ec39a832d2 Update fix-ui-bugs.md 2026-03-13 23:09:22 -05:00
7w1 00b7fe47c2 Update fix-notification-handling.md 2026-03-13 23:08:49 -05:00
7w1 a84d604d38 Update fix-badge-positioning.md 2026-03-13 23:08:13 -05:00
7w1 ef57d4a6a6 Merge pull request #260 from SableClient/7w1-patch-1
fix changesets
2026-03-14 04:04:17 +00:00
7w1 d4ba3634a1 Update strip_beeper_pmp_on_forward.md 2026-03-13 23:02:33 -05:00
7w1 185f07846d Update feat-threads.md 2026-03-13 23:01:51 -05:00
7w1 4a1e51ffbf Update feat-internal-debug-logging.md 2026-03-13 23:01:36 -05:00
7w1 09c57366e5 Update error_page_with_report.md 2026-03-13 23:01:14 -05:00
7w1 dd73ea784c Update disable_quick_add_for_encrypted_sticker.md 2026-03-13 23:00:54 -05:00
7w1 a4b9e2da6a Update add_tombstone_settings_toggle_for_redacted_msgs.md 2026-03-13 23:00:17 -05:00
Evie Gauthier 61d5a2ebd0 Merge pull request #123 from Just-Insane/feat/threads
feat(threads): implement thread side panel with full functionality
2026-03-14 03:51:49 +00:00
Evie Gauthier aed7b76f08 fix: resolve merge conflict markers and restore non-thread files from upstream 2026-03-13 23:48:22 -04:00
Evie Gauthier 0516054580 chore: remove non-thread files and references 2026-03-13 23:33:33 -04:00
Evie Gauthier dfcefe0d58 chore: remove thread-mockup and check-quality.sh, restore CallControls
- Remove src/app/features/thread-mockup/ directory and all mockup references
- Remove scripts/check-quality.sh
- Restore CallControls.tsx to origin/dev (removed unrelated changes)
- Verified RoomInput.tsx and RoomTimeline.tsx contain only thread-related changes
2026-03-13 23:30:01 -04:00
Evie Gauthier 962736cabf revert: remove unintended workflow file changes 2026-03-13 23:30:01 -04:00
Evie Gauthier 897ad0e7c3 fix(threads): add explicit type annotations to ThreadBrowser callbacks 2026-03-13 23:30:01 -04:00
Evie Gauthier e617ce0b1e feat(threads): add supporting features and infrastructure
Editor:
- Fix Slate initialValue per-instance to support multiple editors
- Each editor (main timeline, thread drawer) maintains independent state
- Prevents value conflicts between simultaneous editors

Thread Mockup:
- Add ThreadMockupPage for development and design testing
- Full mockup UI with realistic thread interactions
- Navigation from WelcomePage for easy access
- Routes added for /mockup/threads path

Quality Tooling:
- Add check-quality.sh script for pre-push validation
- Runs type checks, lint, and builds before pushing
- Helps catch issues before CI/CD

CI/CD:
- Update GitHub Actions workflows for quality checks
- Update dependabot and cloudflare preview workflows
- Update docker-publish workflow
- Update require-changeset workflow

Call Preferences:
- Clean up unused imports in CallControls.tsx
- Remove orphaned callPreferences hook code

Changesets:
- Add feat-threads.md for minor version bump
- Remove fix_call_preferences.md (superseded)
2026-03-13 23:30:01 -04:00
Evie Gauthier 516cd3d51e feat(threads): add thread reply input handling
RoomInput:
- Seed thread reply draft when opening drawer from notification
- Handle thread relation in message composition
- Support isolated draft state per thread
- Auto-populate replyTo when replying in thread
- Send messages with thread relation metadata
- Clear thread draft after sending reply
2026-03-13 23:30:01 -04:00
Evie Gauthier 04495680a1 feat(threads): integrate threads into room timeline and header
RoomTimeline:
- Add ThreadReplyChip component showing reply count, avatars, latest reply preview
- Filter thread replies from main timeline (keep only root messages)
- Add thread button to start threads from messages
- Exclude thread events from triggering timeline pagination
- Re-render on ThreadEvent updates for live reply counts
- Thread reply counts exclude root message, reactions, and edits

RoomViewHeader:
- Add thread button with unread badge using SDK notification APIs
- Initialize Thread objects from room history on mount
- Scan timeline for thread roots and thread replies
- Auto-create Thread objects for new thread events
- Toggle between thread drawer and thread browser
- Close drawer and open browser when clicking button with drawer open

Room:
- Render ThreadDrawer when thread is open (desktop: side panel, mobile: overlay)
- Render ThreadBrowser when browser open and no thread active
- Auto-open thread drawer when navigating to thread event IDs
- Coordinate openThreadId and threadBrowserOpen state

RoomViewFollowing:
- Support filtering read receipts by thread participant IDs
- Show thread-specific following indicator
2026-03-13 23:27:42 -04:00
Evie Gauthier 155492146d feat(threads): implement ThreadDrawer and ThreadBrowser components
ThreadDrawer:
- Side panel for viewing and replying within threads
- Full message rendering with reactions, edits, deletions, replies
- Auto-scrolls to bottom on new replies
- Marks thread as read when viewing
- Isolated draft state per thread
- Emoji picker and sticker support

ThreadBrowser:
- List view of all threads in room sorted by latest activity
- Search functionality to filter threads by content
- Thread preview with root message, reply count, and latest reply
- Click to open thread in drawer
- Jump button to navigate to root message in main timeline

Both:
- Desktop: side panel mode
- Mobile: full-screen overlay mode
- Re-render on ThreadEvent updates
2026-03-13 23:26:57 -04:00
Evie Gauthier cc22321cf7 feat(threads): add core thread state management and types
- Add roomToOpenThread atom family for tracking active thread per room
- Add roomToThreadBrowser atom family for thread browser visibility
- Add Thread, ThreadEvent, and NotificationCountType exports to matrix-sdk types
- Update toggleReaction to support thread timeline sets
- Foundation for thread feature state management
2026-03-13 23:26:57 -04:00
7w1 78ebffac2e Merge pull request #257 from dozro/compat/msc2723-msg-forwarding
add MSC2723 forwarding meta data for more compatibility
2026-03-14 03:15:13 +00:00
7w1 633626ac98 Update compat_msc2723_msg_forwarding.md 2026-03-13 22:13:50 -05:00
7w1 9830f71c33 Merge pull request #259 from SableClient/7w1-patch-1
Update CODE_OF_CONDUCT.md
2026-03-14 02:40:39 +00:00
7w1 5e6122ea9c Update CODE_OF_CONDUCT.md 2026-03-13 21:38:40 -05:00
Evie Gauthier a4447dda6a Merge pull request #255 from Just-Insane/fix/media-and-chunk-errors
fix: Media blob cache and chunk loading error handling
2026-03-14 02:27:06 +00:00
Evie Gauthier f67abc05d7 fix: format src/index.tsx and add changeset 2026-03-13 22:25:30 -04:00
Evie Gauthier ea22db6d7d Merge pull request #245 from Just-Insane/feat/internal-debug-logging
feat: Add internal debug logging system
2026-03-14 02:24:28 +00:00
Evie Gauthier 2292a14571 fix(lint): suppress intentional ref read in BackgroundNotifications cleanup 2026-03-13 22:22:11 -04:00
Evie Gauthier 188f588ce7 fix(lint): adjust RoomTimeline callback dependencies for exhaustive-deps 2026-03-13 22:21:51 -04:00
Evie Gauthier 79e4e09436 fix(lint): resolve react-hooks/exhaustive-deps, arrow-body-style, and no-plusplus errors 2026-03-13 22:17:13 -04:00
Evie Gauthier 1261c3b2a0 fix(notifications): move variable declarations before use in debug log 2026-03-13 22:14:30 -04:00
Rye 9f65957442 add MSC2723 forwarded message props for compatibility with MSC2723 specifications 2026-03-14 03:12:56 +01:00
7w1 3b14c34142 Merge pull request #256 from dozro/sec/strip-beeper-pmp-on-forward
strip beeper's per message profile when forwarding
2026-03-14 02:12:04 +00:00
Evie Gauthier 54ac93c39a chore: fix formatting and linting issues for CI 2026-03-13 22:10:36 -04:00
Rye bb787c504c added forward meta data for public original messages as defined in MSC2723
see https://github.com/matrix-org/matrix-spec-proposals/pull/2723
2026-03-14 02:59:42 +01:00
Rye 2e2e1ae06b added changeset for the fix of https://github.com/SableClient/Sable/issues/254 2026-03-14 02:52:31 +01:00
Evie Gauthier 14eaad61a0 chore: remove accidentally committed .envrc file 2026-03-13 21:50:54 -04:00
Rye 40950a728f strip beepers per message profile on forward
fixes https://github.com/SableClient/Sable/issues/254
2026-03-14 02:48:39 +01:00
Rye eeae3d5b80 Merge branch 'dev' of https://github.com/dozro/Sable2 into dev 2026-03-14 02:33:51 +01:00
Evie Gauthier fb80eabc22 chore: add changeset for internal debug logging 2026-03-13 21:25:34 -04:00
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 21fc2baa40 chore: Remove accidentally committed debug log file 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