Commit Graph
2139 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
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 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
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 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
Didi ca3b1602b0 Fix OS name check from 'Mac OS' to 'macOS' 2026-03-17 16:36:35 +10:30
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 add946378a fix replies new lines 2026-03-16 23:57:45 -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 f226a422e8 Merge pull request #280 from SableClient/feat/sentry-pr
feat(sentry): error tracking, performance monitoring, and session replay
2026-03-17 03:04:48 +00:00
Evie Gauthier 2ee72702e6 Merge pull request #314 from SableClient/fix/matrix-to-custom-base
fix: support custom matrix.to base URL via config
2026-03-17 03:04:28 +00:00
Evie Gauthier 4714518514 test(sentry): unit tests for scrubbers and TelemetryConsentBanner
- Extract scrubMatrixIds/scrubDataObject/scrubMatrixUrl from instrument.ts
  into src/app/utils/sentryScrubbers.ts so they can be tested independently
- Add 43 unit tests covering token redaction, Matrix entity ID scrubbing,
  URL path scrubbing (API + app routes + percent-encoded deep-links),
  and scrubDataObject recursive traversal
- Add 12 RTL integration tests for TelemetryConsentBanner: visibility
  gating (no DSN, pre-existing pref), Got it, dismiss, and Opt out flows
2026-03-16 22:44:37 -04:00
Evie Gauthier 57eedcbf60 chore: resolve merge conflicts with dev; document telemetry consent banner 2026-03-16 22:27:17 -04:00
Evie Gauthier f65f12687a test(matrix-to): add RTL integration tests for config→matrix-to wiring 2026-03-16 22:19:23 -04:00
Evie Gauthier 55fd9bbc7e style(matrix-to): fix prettier formatting in test file 2026-03-16 21:51:39 -04:00
Evie Gauthier edc1c67ecf test(matrix-to): add unit tests; fix setMatrixToBase reset, http support, room regex 2026-03-16 21:43:51 -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 121334b5e1 fix: keep formatted_body links as standard matrix.to for interop
Outgoing links embedded in Matrix events (mention HTML, reply quotes)
must use https://matrix.to so other clients (Element, FluffyChat, etc.)
can parse them as Matrix permalinks. Custom base applies only to UI
navigation links (copy-to-clipboard buttons).
2026-03-16 21:26:18 -04:00
melogale b224d936c4 final fix 2026-03-16 21:18:37 -04:00
Evie Gauthier 2da742d716 fix: dynamic matrix.to regexes; route mentions through plugin generators (#67)
- matrix-to.ts: replace static hardcoded regexes with a lazily-built
  cached set that matches both https://matrix.to (cross-client compat)
  and the configured custom base URL (if matrixToBaseUrl is set in
  config.json)
- editor/output.ts: Mention block now calls getMatrixToRoom /
  getMatrixToRoomEvent instead of hardcoding the matrix.to base
- room.ts: parseReplyFormattedBody uses getMatrixToRoomEvent /
  getMatrixToRoom for the same reason
2026-03-16 21:17:19 -04: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 097e12d3a4 fix: correct remaining VIDEO_VOLUME_KEY reference and add useEffect import 2026-03-16 21:03:30 -04:00
Evie Gauthier b584d1867b fix: support matrixToBaseUrl config to override matrix.to base (#67) 2026-03-16 20:51:51 -04:00
Evie Gauthier 1a4af27d49 fix: persist volume for audio+video; split changesets; revert matrix.to (#120) 2026-03-16 20:51:22 -04: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