Commit Graph
783 Commits
Author SHA1 Message Date
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 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 f94d400584 add tab 2026-03-17 16:11:11 -05: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 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 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
7w1 2a42941e4b fix enter & empty messages 2026-03-17 11:44:02 -05:00
Evie Gauthier 9e9218bb00 feat(sentry): switch crash reporting from opt-out to opt-in 2026-03-17 09:03:12 -04:00
7w1 a6b62926cf Merge pull request #325 from SableClient/fix-colors-and-threads
Fix colors and threads and things
2026-03-17 00:03:05 -05:00
7w1 d222dc2892 i didn't test this :p 2026-03-16 23:53:42 -05:00
Jason Beetham 689381f01e Remove pip video setting 2026-03-16 22:47:23 -06:00
7w1 31850dc9dc fix thread fallback 2026-03-16 23:42:57 -05:00
7w1 0f10e19e85 revert my stupidity 2026-03-16 23:34:53 -05:00
7w1 e81d24e0ea fix colors and threads 2026-03-16 23:32:00 -05:00
7w1 141fab7292 swap settings menu order 2026-03-16 22:27:44 -05:00
Evie Gauthier 57eedcbf60 chore: resolve merge conflicts with dev; document telemetry consent banner 2026-03-16 22:27:17 -04:00
7w1 687d6721ce Merge pull request #127 from melogale/dev
Bring in sable-call!
2026-03-17 01:33:17 +00:00
Evie Gauthier 62925c8d7e Merge pull request #310 from SableClient/fix/quick-issues-batch-1
fix: Quick issues batch 1 — UI/UX polish
2026-03-17 01:10:31 +00:00
Evie Gauthier d7ede9532c fix: resolve lint/format errors in autocomplete virtual selection 2026-03-16 20:30:30 -04:00
Evie Gauthier b6db65c33b fix: virtual autocomplete selection — typing preserved, arrow keys navigate 2026-03-16 20:14:46 -04:00
melogale 3e42d3bf70 Merge remote-tracking branch 'upstream/dev' into dev 2026-03-16 19:49:03 -04:00
melogale abf0848aa6 fix delayed events 2026-03-16 19:23:46 -04:00
Evie Gauthier ec5e9812aa fix: quick issues batch 1 (#2 #44 #45 #52 #66 #67 #69 #79 #35 #103 #120 #168) 2026-03-16 17:16:04 -04:00
Rose 5b1245c4ee Merge branch 'dev' into sonarqube/maintainability-2026-03-14 2026-03-16 21:42:24 +01:00
7w1 2e94050719 add toggle to show call button for large rooms 2026-03-16 15:21:58 -05:00
Evie Gauthier bfefbf3c75 Merge pull request #305 from SableClient/fix/call-camera-default
fix(call): respect saved camera/mic preferences when starting call from room header
2026-03-16 19:43:03 +00:00
Evie Gauthier 7257255793 Merge pull request #303 from SableClient/fix/emoji-display-name-color
fix(timeline): prevent emoji color bleed in read receipt display names
2026-03-16 19:40:09 +00:00
Evie Gauthier 135dbe922f Merge pull request #302 from SableClient/fix/thread-empty-space
fix(thread): reduce excessive whitespace between root message and replies
2026-03-16 19:39:37 +00:00
Evie Gauthier 1124ba173e fix(thread): override height:100% from folds Scroll base class to allow content-sized root message 2026-03-16 15:35:41 -04:00
Evie Gauthier b58aa52b46 Merge pull request #304 from SableClient/feat/ctrl-f-search
feat(search): intercept Ctrl+F / Cmd+F to open Sable search
2026-03-16 19:32:10 +00:00
Evie Gauthier 67f0b9b319 Merge pull request #296 from dozro/compat/msc4268
Refactor sendFeedback utility and add ShareE2EEHistory command
2026-03-16 19:26:15 +00:00
Rye 8802476670 added settings toggle 2026-03-16 20:21:53 +01:00
Evie Gauthier 97d28324aa fix(fmt): reformat RoomViewFollowing to satisfy prettier 2026-03-16 15:20:08 -04:00
Evie Gauthier 3a446a1921 fix(call): respect user camera/mic preferences when starting call from room header
RoomCallButton was calling startCall(room) without passing preferences,
which caused Element Call to use its own defaults (camera on) instead of
the user's saved settings. Now reads preferences via useCallPreferences()
and passes them to startCall(), matching the behavior of PrescreenControls.

Fixes #285
2026-03-16 15:02:08 -04:00
Evie Gauthier 012c9a0c34 feat(search): add Ctrl+F / Cmd+F as search hotkey
Overrides browser find-in-page (Ctrl+F) to open Sable's search modal
instead, matching the behavior users expect from chat applications.
The existing Ctrl+K hotkey remains functional.

Fixes #179
2026-03-16 15:00:48 -04:00
Evie Gauthier 68c1ca19fa fix(read-receipts): prevent emoji color bleed in follower names
WebKit (Safari/iOS) has a rendering quirk where colorful emoji inside <b>
tags can contaminate the paint color of adjacent sibling text nodes. This
caused display names following a user with an emoji (e.g. '🔴 Alice') to
render with the emoji's color instead of the expected text color.

Apply -webkit-text-fill-color: inherit on <b> name tags and
-webkit-text-fill-color: currentColor on the following <Text as="span">
elements. This explicitly resets the WebKit fill color chain at each step,
preventing emoji paint properties from cascading into sibling spans.

Fixes #267
2026-03-16 14:57:13 -04:00
Evie Gauthier 3dbfc69505 fix(thread): reduce excessive gap between root message and replies
The thread drawer had padding: S600 0 (24px top+bottom) on both the root
message box and the reply messages box, plus S200 padding on the reply count
label. This stacked up to ~84px of empty space between the root message and
the first reply, especially noticeable in newly created threads.

Fix:
- Root message box: change bottom padding S600→S200 (top kept at S400)
- Reply messages box: remove top padding (reply count label already provides
  visual separation)

Fixes #294
2026-03-16 14:55:37 -04:00
Evie Gauthier 931c13fbfe Merge pull request #286 from dozro/fix/voice-message-mess
Fix audio codec handling and enhance voice recorder functionality
2026-03-16 18:24:16 +00:00
Evie Gauthier 85b0da3847 Merge pull request #282 from nushea/Edit-file-body
feat: edit file description
2026-03-16 18:11:57 +00:00
Evie Gauthier 2abb63f967 chore: resolve merge conflict with dev (HandleDecryptPushEvent + Sentry features) 2026-03-16 13:59:14 -04:00
hazre 3c40ad77f3 chore: merge dev into fix/better-ux-voice-messages 2026-03-16 15:19:49 +01:00
hazre 7e76985ebd fix: more polish on voice messages 2026-03-16 15:16:20 +01:00