diff --git a/.changeset/fix-empty-message.md b/.changeset/fix-empty-message.md
deleted file mode 100644
index 2febfa10..00000000
--- a/.changeset/fix-empty-message.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-default: patch
----
-
-Fix messages with body empty but formatted body filled rendering as empty.
diff --git a/.changeset/fix-enter-autocomplete.md b/.changeset/fix-enter-autocomplete.md
deleted file mode 100644
index c44d196b..00000000
--- a/.changeset/fix-enter-autocomplete.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-default: patch
----
-
-Fix emoticon autocomplete not respecting character threshold setting.
diff --git a/.changeset/fix-image-render.md b/.changeset/fix-image-render.md
deleted file mode 100644
index 4b4aeff0..00000000
--- a/.changeset/fix-image-render.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-default: patch
----
-
-Fix images without explicit dimensions not appearing.
diff --git a/.changeset/fix-macos-casing.md b/.changeset/fix-macos-casing.md
deleted file mode 100644
index 735318ab..00000000
--- a/.changeset/fix-macos-casing.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-default: patch
----
-
-Fix Mac OS to macOS in the the devices tab
diff --git a/.changeset/fix-presence-badge-member-list.md b/.changeset/fix-presence-badge-member-list.md
new file mode 100644
index 00000000..f227b478
--- /dev/null
+++ b/.changeset/fix-presence-badge-member-list.md
@@ -0,0 +1,5 @@
+---
+default: patch
+---
+
+Hide presence badge in members list for users without homeserver support, mimicking room profile apperance.
diff --git a/.changeset/improved_voice_message_recording_ui_it_should_now_feel_a_lot_more_intergrated_.md b/.changeset/improved_voice_message_recording_ui_it_should_now_feel_a_lot_more_intergrated_.md
deleted file mode 100644
index eaeb76ec..00000000
--- a/.changeset/improved_voice_message_recording_ui_it_should_now_feel_a_lot_more_intergrated_.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-default: patch
----
-
-# Improved voice message recording UI, it should now feel a lot more integrated.
diff --git a/.changeset/mention-highlight-toggle.md b/.changeset/mention-highlight-toggle.md
new file mode 100644
index 00000000..d2c7ddd2
--- /dev/null
+++ b/.changeset/mention-highlight-toggle.md
@@ -0,0 +1,5 @@
+---
+default: patch
+---
+
+Added a toggle to notifications to disable full message mention highlighting.
diff --git a/.changeset/pronoun-pills.md b/.changeset/pronoun-pills.md
new file mode 100644
index 00000000..416f3764
--- /dev/null
+++ b/.changeset/pronoun-pills.md
@@ -0,0 +1,5 @@
+---
+default: minor
+---
+
+Added a setting to Appearance that attempts to convert text in names like (it/its) into a pronoun pill, enlabed by default.
diff --git a/.changeset/sentry-opt-in-crash-reporting.md b/.changeset/sentry-opt-in-crash-reporting.md
deleted file mode 100644
index 175ef088..00000000
--- a/.changeset/sentry-opt-in-crash-reporting.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-default: patch
----
-
-Add opt-in Sentry crash reporting with a consent banner.
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 696e9679..4a725057 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -1 +1 @@
-* @7w1 @Just-Insane @hazre
+* @7w1 @hazre
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1f6792b6..46b8a198 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,17 @@
# Sable Client Changelog
+## 1.9.3 (2026-03-17)
+
+### Fixes
+
+* Fix autocomplete Enter & Tab key always selecting the first item and the first item not being highlighted on open. ([#310](https://github.com/SableClient/Sable/pull/310) by @Just-Insane)
+* Fix messages with body empty but formatted body filled rendering as empty. ([#337](https://github.com/SableClient/Sable/pull/337) by @7w1)
+* Fix emoticon autocomplete not respecting character threshold setting. ([#337](https://github.com/SableClient/Sable/pull/337) by @7w1)
+* Fix images without explicit dimensions not appearing. ([#338](https://github.com/SableClient/Sable/pull/338) by @7w1)
+* Fix Mac OS to macOS in the the devices tab ([#328](https://github.com/SableClient/Sable/pull/328) by @DidiDidi129)
+* Improved voice message recording UI, it should now feel a lot more integrated. ([#311](https://github.com/SableClient/Sable/pull/311) by @hazre)
+* Add opt-in Sentry crash reporting with a consent banner. ([#333](https://github.com/SableClient/Sable/pull/333) by @Just-Insane)
+
## 1.9.2 (2026-03-17)
### Fixes
diff --git a/package.json b/package.json
index 9739e961..6c52a2e0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "sable",
- "version": "1.9.2",
+ "version": "1.9.3",
"description": "An almost stable Matrix client",
"type": "module",
"packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be",
diff --git a/src/app/components/editor/autocomplete/AutocompleteMenu.test.tsx b/src/app/components/editor/autocomplete/AutocompleteMenu.test.tsx
new file mode 100644
index 00000000..f0e2fd2f
--- /dev/null
+++ b/src/app/components/editor/autocomplete/AutocompleteMenu.test.tsx
@@ -0,0 +1,193 @@
+import { type ReactNode } from 'react';
+import { describe, it, expect, vi } from 'vitest';
+import { render, act } from '@testing-library/react';
+import {
+ AutocompleteMenu,
+ AUTOCOMPLETE_NAVIGATE_EVENT,
+ type AutocompleteNavigateDetail,
+} from './AutocompleteMenu';
+
+// ── Mocks ─────────────────────────────────────────────────────────────────────
+
+vi.mock('focus-trap-react', () => ({
+ default: ({ children }: { children: ReactNode }) => <>{children}>,
+}));
+
+vi.mock('folds', () => ({
+ Header: ({ children }: { children: ReactNode }) =>
{children}
,
+ Menu: ({ children }: { children: ReactNode }) => {children}
,
+ Scroll: ({ children, onKeyDown }: { children: ReactNode; onKeyDown?: unknown }) => (
+ // eslint-disable-next-line jsx-a11y/no-static-element-interactions
+ {children}
+ ),
+ config: { space: { S200: '8px' } },
+ Icons: {},
+}));
+
+vi.mock('$utils/keyboard', () => ({
+ preventScrollWithArrowKey: vi.fn(),
+ stopPropagation: vi.fn(() => true),
+}));
+
+vi.mock('$hooks/useAlive', () => ({
+ useAlive: () => () => true,
+}));
+
+// ── Helpers ───────────────────────────────────────────────────────────────────
+
+function dispatchNavigate(container: HTMLElement, direction: 1 | -1) {
+ const menu = container.querySelector('[data-autocomplete-menu]');
+ if (!menu) throw new Error('data-autocomplete-menu element not found');
+ menu.dispatchEvent(
+ new CustomEvent(AUTOCOMPLETE_NAVIGATE_EVENT, {
+ bubbles: true,
+ detail: { direction },
+ })
+ );
+}
+
+function renderMenu(children: ReactNode) {
+ return render(
+ header} requestClose={() => {}}>
+ {children}
+
+ );
+}
+
+// ── Tests ─────────────────────────────────────────────────────────────────────
+
+describe('AutocompleteMenu — data-selected stamping', () => {
+ it('stamps the first button with data-selected="true" on initial render', () => {
+ const { container } = renderMenu(
+ <>
+
+
+
+ >
+ );
+
+ const buttons = container.querySelectorAll('button');
+ expect(buttons[0].getAttribute('data-selected')).toBe('true');
+ expect(buttons[1].getAttribute('data-selected')).toBe('false');
+ expect(buttons[2].getAttribute('data-selected')).toBe('false');
+ });
+
+ it('stamps buttons when children load after initial render (async results)', async () => {
+ // Start with no children (empty search, buttons not yet present)
+ const { container, rerender } = renderMenu(null);
+
+ // Simulate async search results arriving
+ await act(async () => {
+ rerender(
+ header} requestClose={() => {}}>
+
+
+
+ );
+ });
+
+ const buttons = container.querySelectorAll('button');
+ expect(buttons).toHaveLength(2);
+ // First button must be marked selected — this was the bug: with the old
+ // [selectedIndex] dep array the effect didn't re-run when buttons appeared.
+ expect(buttons[0].getAttribute('data-selected')).toBe('true');
+ expect(buttons[1].getAttribute('data-selected')).toBe('false');
+ });
+
+ it('resets selection to the first button when the item list changes', async () => {
+ const { container } = renderMenu(
+ <>
+
+
+ >
+ );
+
+ // Navigate to the second item
+ act(() => dispatchNavigate(container, 1));
+
+ const before = container.querySelectorAll('button');
+ expect(before[1].getAttribute('data-selected')).toBe('true');
+
+ // Re-render with a completely different set of buttons (new search results)
+ await act(async () => {
+ render(
+ header} requestClose={() => {}}>
+
+
+
+ ,
+ { container: container.firstElementChild?.parentElement ?? document.body }
+ );
+ });
+ });
+});
+
+describe('AutocompleteMenu — keyboard navigation', () => {
+ it('moves selection forward with direction +1', () => {
+ const { container } = renderMenu(
+ <>
+
+
+
+ >
+ );
+
+ act(() => dispatchNavigate(container, 1));
+
+ const buttons = container.querySelectorAll('button');
+ expect(buttons[0].getAttribute('data-selected')).toBe('false');
+ expect(buttons[1].getAttribute('data-selected')).toBe('true');
+ expect(buttons[2].getAttribute('data-selected')).toBe('false');
+ });
+
+ it('moves selection backward with direction -1', () => {
+ const { container } = renderMenu(
+ <>
+
+
+
+ >
+ );
+
+ // Go to last item first
+ act(() => dispatchNavigate(container, 1));
+ act(() => dispatchNavigate(container, 1));
+
+ act(() => dispatchNavigate(container, -1));
+
+ const buttons = container.querySelectorAll('button');
+ expect(buttons[0].getAttribute('data-selected')).toBe('false');
+ expect(buttons[1].getAttribute('data-selected')).toBe('true');
+ expect(buttons[2].getAttribute('data-selected')).toBe('false');
+ });
+
+ it('clamps selection at the first item when navigating backward at index 0', () => {
+ const { container } = renderMenu(
+ <>
+
+
+ >
+ );
+
+ act(() => dispatchNavigate(container, -1));
+
+ const buttons = container.querySelectorAll('button');
+ expect(buttons[0].getAttribute('data-selected')).toBe('true');
+ });
+
+ it('clamps selection at the last item when navigating forward past the end', () => {
+ const { container } = renderMenu(
+ <>
+
+
+ >
+ );
+
+ act(() => dispatchNavigate(container, 1));
+ act(() => dispatchNavigate(container, 1)); // attempt to go past the end
+
+ const buttons = container.querySelectorAll('button');
+ expect(buttons[0].getAttribute('data-selected')).toBe('false');
+ expect(buttons[1].getAttribute('data-selected')).toBe('true');
+ });
+});
diff --git a/src/app/components/editor/autocomplete/AutocompleteMenu.tsx b/src/app/components/editor/autocomplete/AutocompleteMenu.tsx
index 0b82001b..9b907a8a 100644
--- a/src/app/components/editor/autocomplete/AutocompleteMenu.tsx
+++ b/src/app/components/editor/autocomplete/AutocompleteMenu.tsx
@@ -28,7 +28,12 @@ export function AutocompleteMenu({ headerContent, requestClose, children }: Auto
}
};
- // Sync data-selected to DOM; reset to index 0 when the item list changes
+ // Sync data-selected to DOM; reset to index 0 when the item list changes.
+ // No dep array — runs after every render so newly-loaded buttons are stamped
+ // immediately (buttons arrive async when search results load).
+ // setSelectedIndex is a stable React setter; the conditional call never
+ // triggers an infinite update chain (it only fires when button count changes).
+ // eslint-disable-next-line react-hooks/exhaustive-deps
useLayoutEffect(() => {
const buttons = Array.from(
itemsRef.current?.querySelectorAll('button') ?? []
@@ -46,7 +51,7 @@ export function AutocompleteMenu({ headerContent, requestClose, children }: Auto
buttons.forEach((btn, i) => {
btn.setAttribute('data-selected', String(i === safeIdx));
});
- }, [selectedIndex]);
+ });
// Listen for navigation events dispatched by the editor key handler
useEffect(() => {
diff --git a/src/app/features/room/MembersDrawer.tsx b/src/app/features/room/MembersDrawer.tsx
index c54d9650..1834d283 100644
--- a/src/app/features/room/MembersDrawer.tsx
+++ b/src/app/features/room/MembersDrawer.tsx
@@ -155,7 +155,11 @@ function MemberItem({
}}
>
}
+ badge={
+ presence && presence.lastActiveTs !== 0 ? (
+
+ ) : undefined
+ }
>
(
return;
}
- if (isKeyHotkey('enter', evt) && !isComposing(evt)) {
+ if ((isKeyHotkey('enter', evt) || isKeyHotkey('tab', evt)) && !isComposing(evt)) {
const selectedItem =
- autocompleteMenu.querySelector('button[data-selected]') ??
+ autocompleteMenu.querySelector('button[data-selected="true"]') ??
autocompleteMenu.querySelector('button');
if (selectedItem) {
diff --git a/src/app/features/room/message/Message.tsx b/src/app/features/room/message/Message.tsx
index b0956271..87bd0e52 100644
--- a/src/app/features/room/message/Message.tsx
+++ b/src/app/features/room/message/Message.tsx
@@ -79,7 +79,7 @@ import { MessageSourceCodeItem } from '$components/message/modals/MessageSource'
import { MessageForwardItem } from '$components/message/modals/MessageForward';
import { MessageDeleteItem } from '$components/message/modals/MessageDelete';
import { MessageReportItem } from '$components/message/modals/MessageReport';
-import { filterPronounsByLanguage } from '$utils/pronouns';
+import { filterPronounsByLanguage, getParsedPronouns } from '$utils/pronouns';
import { useMentionClickHandler } from '$hooks/useMentionClickHandler';
import {
addStickerToDefaultPack,
@@ -407,6 +407,8 @@ function MessageInternal(
*/
const pronouns = parsedPMPContent?.pronouns ?? profile.pronouns;
+ const [highlightMentions] = useSetting(settingsAtom, 'highlightMentions');
+
// Avatars
// Prefer the room-scoped member avatar (m.room.member) over the global profile
// avatar so per-room avatar overrides are respected in the timeline.
@@ -416,11 +418,6 @@ function MessageInternal(
return mxc ? mxcUrlToHttp(mx, mxc, useAuthentication, 48, 48, 'crop') : undefined;
}, [pmp, collapse, profile.avatarUrl, senderId, mx, room, useAuthentication]);
- const displayName = useMemo(
- () => pmp?.displayname || senderDisplayName,
- [pmp, senderDisplayName]
- );
-
const cachedAvatar = useBlobCache(avatarUrl ?? undefined);
// UI State
@@ -449,8 +446,32 @@ function MessageInternal(
const [mobileOptionsOpen, setMobileOptionsOpen] = useState(false);
const optionsRef = useRef(null);
+
const [showPronouns] = useSetting(settingsAtom, 'showPronouns');
+ const [parsePronouns] = useSetting(settingsAtom, 'parsePronouns');
+
const [useRightBubbles] = useSetting(settingsAtom, 'useRightBubbles');
+ const { cleanedDisplayName, inlinePronoun } = useMemo(() => {
+ const rawName = pmp?.displayname || senderDisplayName || '';
+ return getParsedPronouns(rawName, parsePronouns);
+ }, [pmp, senderDisplayName, parsePronouns]);
+
+ const mergedPronouns = useMemo(() => {
+ const existing = profile.pronouns ? [...profile.pronouns] : [];
+
+ if (inlinePronoun) {
+ const isDupe = existing.some((p) => p.summary?.toLowerCase() === inlinePronoun);
+
+ if (!isDupe) {
+ existing.push({
+ summary: inlinePronoun,
+ language: 'en',
+ });
+ }
+ }
+
+ return existing;
+ }, [profile.pronouns, inlinePronoun]);
useEffect(() => {
if (!mobileOptionsOpen) return undefined;
@@ -483,7 +504,7 @@ function MessageInternal(
onClick={onUsernameClick}
>
- {displayName}
+ {cleanedDisplayName}
{showPronouns && (
@@ -526,7 +547,7 @@ function MessageInternal(
}
/>
@@ -751,7 +772,7 @@ function MessageInternal(
space={messageSpacing}
collapse={collapse}
highlight={highlight}
- notifyHighlight={notifyHighlight}
+ notifyHighlight={highlightMentions ? notifyHighlight : undefined}
selected={!!menuAnchor || !!emojiBoardAnchor}
{...props}
{...hoverProps}
@@ -1002,7 +1023,7 @@ function MessageInternal(
autoFocus
value={nickDraft}
onChange={(e) => setNickDraft(e.target.value)}
- placeholder={displayName}
+ placeholder={cleanedDisplayName}
onKeyDown={(e) => {
if (e.key === 'Enter') {
setNickname(senderId, nickDraft || undefined, mx);
@@ -1176,6 +1197,7 @@ export const Event = as<'div', EventProps>(
const [menuAnchor, setMenuAnchor] = useState();
const [mobileOptionsOpen, setMobileOptionsOpen] = useState(false);
+ const [highlightMentions] = useSetting(settingsAtom, 'highlightMentions');
const handleContextMenu: MouseEventHandler = (evt) => {
if (mobileOrTablet()) {
@@ -1252,7 +1274,7 @@ export const Event = as<'div', EventProps>(
space={messageSpacing}
autoCollapse
highlight={highlight}
- notifyHighlight={notifyHighlight}
+ notifyHighlight={highlightMentions ? notifyHighlight : undefined}
selected={!!menuAnchor}
{...props}
{...hoverProps}
diff --git a/src/app/features/settings/cosmetics/Cosmetics.tsx b/src/app/features/settings/cosmetics/Cosmetics.tsx
index d1a65b6b..f0bf1d8f 100644
--- a/src/app/features/settings/cosmetics/Cosmetics.tsx
+++ b/src/app/features/settings/cosmetics/Cosmetics.tsx
@@ -165,6 +165,7 @@ function IdentityCosmetics() {
'legacyUsernameColor'
);
const [showPronouns, setShowPronouns] = useSetting(settingsAtom, 'showPronouns');
+ const [parsePronouns, setParsePronouns] = useSetting(settingsAtom, 'parsePronouns');
const [renderGlobalColors, setRenderGlobalColors] = useSetting(
settingsAtom,
'renderGlobalNameColors'
@@ -196,6 +197,13 @@ function IdentityCosmetics() {
after={}
/>
+
+ }
+ />
+
{
@@ -400,6 +401,20 @@ export function SystemNotification() {
after={}
/>
+
+
+ }
+ />
+
);
}
diff --git a/src/app/state/settings.ts b/src/app/state/settings.ts
index e9331c62..0a8e47fd 100644
--- a/src/app/state/settings.ts
+++ b/src/app/state/settings.ts
@@ -71,6 +71,7 @@ export interface Settings {
privacyBlurAvatars: boolean;
privacyBlurEmotes: boolean;
showPronouns: boolean;
+ parsePronouns: boolean;
renderGlobalNameColors: boolean;
filterPronounsBasedOnLanguage?: boolean;
filterPronounsLanguages?: string[];
@@ -97,6 +98,7 @@ export interface Settings {
saveStickerEmojiBandwidth: boolean;
alwaysShowCallButton: boolean;
faviconForMentionsOnly: boolean;
+ highlightMentions: boolean;
// furry stuff
renderAnimals: boolean;
@@ -154,6 +156,7 @@ const defaultSettings: Settings = {
privacyBlurAvatars: false,
privacyBlurEmotes: false,
showPronouns: true,
+ parsePronouns: true,
renderGlobalNameColors: true,
renderRoomColors: true,
renderRoomFonts: true,
@@ -178,6 +181,7 @@ const defaultSettings: Settings = {
saveStickerEmojiBandwidth: false,
alwaysShowCallButton: false,
faviconForMentionsOnly: false,
+ highlightMentions: true,
// furry stuff
renderAnimals: true,
diff --git a/src/app/utils/pronouns.ts b/src/app/utils/pronouns.ts
index 4af0d386..943547a0 100644
--- a/src/app/utils/pronouns.ts
+++ b/src/app/utils/pronouns.ts
@@ -73,3 +73,45 @@ export function filterPronounsByLanguage(
return filteredPronouns;
}
+
+const pronounParseCache = new Map<
+ string,
+ { cleanedDisplayName: string; inlinePronoun: string | null }
+>();
+
+export function getParsedPronouns(rawName: string, parseSetting: boolean) {
+ if (!parseSetting || !rawName) {
+ return { cleanedDisplayName: rawName, inlinePronoun: null };
+ }
+
+ if (pronounParseCache.has(rawName)) {
+ return pronounParseCache.get(rawName)!;
+ }
+
+ // match text like (she/her) or [he/they/them] but not (hi)
+ const regex = /[([]?([a-zA-Z]+\/[a-zA-Z]+(?:\/[a-zA-Z]+)?)[)\]]?/;
+ const match = rawName.match(regex);
+
+ let result: { cleanedDisplayName: string; inlinePronoun: string | null } = {
+ cleanedDisplayName: rawName,
+ inlinePronoun: null,
+ };
+
+ if (match) {
+ let strippedName = rawName.replace(match[0], '').trim();
+ if (!strippedName || strippedName === '') {
+ strippedName = rawName;
+ }
+ result = {
+ cleanedDisplayName: strippedName,
+ inlinePronoun: match[1].toLowerCase().slice(0, 16),
+ };
+ }
+
+ if (pronounParseCache.size > 1000) {
+ pronounParseCache.clear();
+ }
+
+ pronounParseCache.set(rawName, result);
+ return result;
+}