Commit Graph
3361 Commits
Author SHA1 Message Date
7w1 3dd2fee9dc Merge pull request #392 from melogale/dev
update to sable call 1.1.4 with rnnoise
2026-03-19 03:38:43 +00:00
7w1 84e52ad519 Merge pull request #343 from SableClient/fix/thread-classic-sync
fix(threads): thread drawer empty with classic sync
2026-03-19 03:37:58 +00:00
melogale ea2c32a5c0 changeset 2026-03-18 23:25:53 -04:00
melogale 60e8e960a6 update to sable call 1.1.4 2026-03-18 23:21:59 -04:00
7w1 53a652b47a Merge pull request #347 from SableClient/fix/thread-indicator
fix: hide ThreadIndicator badge inside ThreadDrawer compose box
2026-03-18 18:04:58 +00:00
7w1 3d75daf691 Merge pull request #364 from SableClient/tiny-hoverstate-patch
tiny patch
2026-03-18 13:03:26 -05:00
7w1 9c736203ad Update ImageContent.tsx 2026-03-18 12:56:52 -05:00
7w1 476ec6ffe1 Merge pull request #355 from SableClient/fix-mention-highlight-toggle
Add toggle for mention highlighting
2026-03-17 22:03:26 -05:00
7w1 75f84f90d1 Merge pull request #354 from SableClient/fix/hide-presence-member-list
Hide presence badge in members list for unsupported users
2026-03-17 22:01:56 -05:00
7w1 54c5562bea Merge pull request #353 from SableClient/feat/pronoun-parse
Pronoun pills for all
2026-03-17 22:01:42 -05:00
7w1 3043f77d85 add toggle for mention highlighting 2026-03-17 21:58:31 -05:00
7w1 4eef3cefef Hide presence badge in members list for users without homeserver support, mimicking room profile apperance. 2026-03-17 21:36:48 -05:00
7w1 dcfafa4f5e Update Message.tsx 2026-03-17 21:28:22 -05:00
7w1 c851eb4e11 cache things 2026-03-17 21:23:18 -05:00
7w1 0f14e675ba pronoun pills for all 2026-03-17 21:15:38 -05:00
7w1 53df685fa3 Merge pull request #351 from SableClient/7w1-patch-1
Update CODEOWNERS
2026-03-17 18:53:30 -05:00
7w1 4b4d41f98f Update CODEOWNERS 2026-03-17 18:50:59 -05:00
Evie Gauthier e1d51ad852 chore: add changeset 2026-03-17 18:05:57 -04:00
Evie Gauthier 3f26cd9515 fix: hide ThreadIndicator badge inside ThreadDrawer compose box
Inside the ThreadDrawer the user is already in thread context, so showing
the "Thread" badge in the reply chip is redundant and visually noisy.

The compose box always sets replyDraft.relation.rel_type = RelationType.Thread
when threadRootId is set (so the message goes to the right thread), but that
should not make the ThreadIndicator visible there.

Add !threadRootId guard to the ThreadIndicator render condition.

Adds 4 unit tests covering the four branches of the condition.
2026-03-17 17:56:24 -04:00
7w1 e08639869d Merge pull request #334 from SableClient/release
chore: prepare release 1.9.3
2026-03-17 21:43:29 +00:00
github-actions[bot] 55d27dcd5e chore: prepare release 1.9.3 2026-03-17 21:41:47 +00:00
7w1 399890b06e Merge pull request #345 from SableClient/fix-autocomplete
add tab
2026-03-17 16:41:26 -05:00
7w1 f94d400584 add tab 2026-03-17 16:11:11 -05:00
7w1 b3d9b3550e Merge pull request #342 from SableClient/fix/autocomplete-selection
fix(autocomplete): Enter always selects first item; first item not highlighted on open
2026-03-17 20:53:06 +00:00
Evie Gauthier 0fb883bfaa test(autocomplete): add tests for data-selected stamping and keyboard navigation
Covers the two bugs fixed in the previous commit:

- Verifies the first button gets data-selected="true" on initial render so the
  CSS highlight rule fires immediately (regression for the dep-array fix).
- Verifies the first button is also stamped when async search results load new
  buttons after the initial render (the original regression).
- Verifies keyboard navigation via the AUTOCOMPLETE_NAVIGATE_EVENT moves the
  selected index and that it clamps at the list boundaries.

Also adds an eslint-disable comment in AutocompleteMenu.tsx explaining why
the no-dep-array useLayoutEffect is intentional (setSelectedIndex is a stable
React setter; the conditional call cannot cause an infinite loop).
2026-03-17 16:38:39 -04:00
Evie Gauthier 86bdb80816 refactor+test(threads): extract getThreadReplyEvents and add unit tests
Extract the replyEvents IIFE into a module-level function so the fix-first-
then-check-length logic can be exercised in isolated unit tests without
mounting the full component.

Tests cover:
- Returns thread.events (minus root) when the Thread object has replies.
- Excludes reactions (RelationType.Annotation) from the results.
- Classic-sync regression: thread.events = [rootEvent] => falls back to the
  live room timeline (the bug was that length-1 thread blocked the fallback).
- Falls back to live timeline when getThread() returns null.
- Filters out events belonging to a different thread.
- Returns [] when neither source has relevant events.
2026-03-17 16:17:47 -04:00
Evie Gauthier 2a63f596fe fix(threads): thread drawer empty with classic sync
With classic sync, RoomViewHeader creates Thread objects via
room.createThread(id, rootEvent, [], false) — passing no initialEvents.
This means thread.events starts as just [rootEvent] (or empty).

Two bugs resulted:

1. The gate `if (fromThread.length > 0)` blocked the live-timeline fallback.
   Since thread.events = [rootEvent], length was 1 (truthy), but after
   filtering the root out the array was empty — yielding zero replies even
   though the events were present in the main room timeline.
   Fix: compute the filtered array first, then gate on its length so the
   fallback is reached when the thread object has no actual replies yet.

2. Even after #1, subsequent renders and read-receipt logic used thread.events
   (empty) rather than the live timeline.
   Fix: add a mount-time useEffect that backfills matching events from the
   unfiltered live timeline into the Thread object via thread.addEvents() so
   the authoritative source is populated for future interactions.
2026-03-17 16:17:47 -04:00
Evie Gauthier e033e36a1e fix(autocomplete): Enter always selects first item; first item not highlighted
Two related bugs in the mention/room/emoji autocomplete:

1. Enter key always inserted the first suggestion instead of the highlighted one.
   Cause: querySelector('[data-selected]') matched ALL buttons since every button
   has the attribute set to either 'true' or 'false'. The first button in DOM
   order was always returned.
   Fix: use '[data-selected="true"]' to select only the active item.

2. The first item had no visual highlight on initial open (the CSS rule requires
   data-selected='true', but the useLayoutEffect responsible for stamping that
   attribute only re-ran when selectedIndex changed -- not when buttons first
   appeared after async search results loaded).
   Fix: remove the dep array so the effect runs after every render; newly-loaded
   buttons are stamped immediately.
2026-03-17 16:17:32 -04:00
Rose ab138a11b5 Merge pull request #311 from SableClient/fix/better-ux-voice-messages
fix: better ux voice messages
2026-03-17 18:17:18 +00:00
hazre 42351dac03 docs: add changeset 2026-03-17 18:58:33 +01:00
hazre 35e842f768 fix: simplify mobile stuff 2026-03-17 18:54:18 +01:00
hazre 8f5b2e32f8 fix: waveform algorithm 2026-03-17 18:54:18 +01:00
hazre f81fdd38af chore: merge dev into nyxsutsn 2026-03-17 18:54:18 +01:00
hazre 4ed7f65399 fix: prevent first waveform bar from being lit when audio not playing 2026-03-17 18:54:17 +01:00
7w1 9fa328dd12 Merge pull request #338 from SableClient/fix-image-render
Fix images not rendering when dimensions aren't present
2026-03-17 12:45:55 -05:00
7w1 2a1e4105ac fix images not rendering 2026-03-17 12:41:43 -05:00
7w1 54415a1a21 Merge pull request #337 from SableClient/various-patches
fix enter emoticon autocomplete & empty message rendering
2026-03-17 12:11:33 -05:00
7w1 1a9f41805a Update MsgTypeRenderers.tsx 2026-03-17 12:09:28 -05:00
7w1 2a42941e4b fix enter & empty messages 2026-03-17 11:44:02 -05:00
Rose 9ed985a2a8 Merge pull request #328 from DidiDidi129/dev
Fix macOS name in the devices tab from 'Mac OS' to 'macOS'
2026-03-17 15:06:25 +00:00
7w1 bc5fc02962 Merge pull request #333 from SableClient/feat/sentry-pr
feat: Sentry crash reporting integration (opt-in)
2026-03-17 15:05:51 +00:00
7w1 992aff1421 Update sentry-opt-in-crash-reporting.md 2026-03-17 10:04:20 -05:00
Evie Gauthier 0a54d0f78a Simplify Sentry crash reporting description
Removed mention of privacy-safe data scrubbing and controls in Settings.
2026-03-17 09:39:41 -04:00
Evie Gauthier 370cba4f60 chore: add changeset for sentry PR 2026-03-17 09:35:39 -04:00
Evie Gauthier f624c8d36b feat(sentry): make consent banner non-dismissable 2026-03-17 09:34:28 -04:00
Evie Gauthier 9e9218bb00 feat(sentry): switch crash reporting from opt-out to opt-in 2026-03-17 09:03:12 -04:00
Didi 5052aaf38d Correct casing of 'Mac OS' to 'macOS' in devices tab 2026-03-17 18:37:01 +10:30
Didi 4308179ca1 Added changeset 2026-03-17 18:33:13 +10:30
Didi 1b243b24ac Make Mac OS, macOS in user-agent 2026-03-17 18:26:03 +10:30
Didi 3f51f7a72d Revert Broken Changes 2026-03-17 17:58:28 +10:30