Commit Graph
2172 Commits
Author SHA1 Message Date
Rye b7a1cb8d7e added visual marker to mark it as a pmp 2026-03-19 20:27:41 +01:00
Rye aaa802606d added missing questionmark lol 2026-03-18 22:49:55 +01:00
Rye cee2cb6118 added fallback body to be spec compliant 2026-03-18 21:56:31 +01:00
Rye 93a93a686a doc: a bit of code doc 2026-03-18 15:03:44 +01:00
Rye 2ad4fa055a merging from dev 2026-03-18 14:59:04 +01:00
Rye c836e90338 Merge remote-tracking branch 'fork-new/dev' into feat/allow-setting-pmp 2026-03-18 14:58:41 +01:00
Rye 8d598fdf3f fix a few pmp editing bugs 2026-03-18 14:48:20 +01:00
Rye cd4079be99 remove unused profile invalidation functions and fix profile association handling 2026-03-18 13:02:51 +01: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 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 e3120287f5 Merge branch 'dev' into feat/allow-setting-pmp 2026-03-17 20:17:48 +01:00
Rye 67056a264d refactoring pmp 2026-03-17 20:13:59 +01:00
Rye d91adfb032 refactor: animalCosmetics 2026-03-17 20:13:17 +01:00
Rye b56f2eb246 fixed pronouns error 2026-03-17 19:59:12 +01:00
Rye 8360ee1f50 fix: add missing key prop to PerMessageProfileEditor component 2026-03-17 19:40:52 +01:00
Rye 3b4a12f689 fix: update import statements for PronounEditor and PronounSet in Cosmetics.tsx 2026-03-17 19:33:22 +01:00
Rye 793ce6deeb actually delete the entry from the index when 2026-03-17 19:23:11 +01: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
Rye 3c3fa36e6d add rename functionality for per-message profiles 2026-03-17 19:08:39 +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
Rye 3d58df0468 remove console warnings for per-message profile handling 2026-03-17 18:25:31 +01:00
Rye 80c8597295 refactor: replace perMessageProfileAtomFamily with getCurrentlyUsedPerMessageProfileForRoom in RoomInput bc somehow caching didn't really work in any reliable manner 2026-03-17 18:14:17 +01: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
Rye 7e7adbb7d2 implement per-message profile management and pronouns support 2026-03-17 17:25:47 +01:00
Rye 919daf0f5d documentation of code relating to displaying pronouns in the room timeline 2026-03-17 16:29:55 +01:00
Rye e321d5f953 refactor: use constant for account data prefix in setCurrentlyUsedPerMessageProfileIdForRoom 2026-03-17 16:27:06 +01:00
Rye 0ef60ca4d2 enhance documentation for PerMessageProfileRoomAssociationWrapper; clarify purpose of associations field 2026-03-17 16:26:03 +01:00
Rye 26bc3744bc add pronouns support to PerMessageProfile; update editor and hooks for pronoun management 2026-03-17 16:24:46 +01: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
Rye d279c4029b add delete functionality to PerMessageProfileEditor and integrate into overview; adjust layout and styles 2026-03-17 15:48:59 +01:00
Rye cd1e87a9dc restructure per-message profile components and update settings integration 2026-03-17 15:18:08 +01: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