From d5c1e5e95cb840777178170f093548b18b746377 Mon Sep 17 00:00:00 2001 From: cwyptt Date: Tue, 25 Aug 2026 08:57:44 -0500 Subject: [PATCH 1/2] Add setting to show timestamps on every message --- .changeset/show-all-timestamps.md | 5 ++++ src/app/features/room/message/Message.tsx | 28 ++++++++++++++++++- src/app/features/settings/general/General.tsx | 8 ++++++ src/app/state/settings.ts | 2 ++ 4 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 .changeset/show-all-timestamps.md diff --git a/.changeset/show-all-timestamps.md b/.changeset/show-all-timestamps.md new file mode 100644 index 000000000..7fb415be9 --- /dev/null +++ b/.changeset/show-all-timestamps.md @@ -0,0 +1,5 @@ +--- +default: minor +--- + +Add a setting to show all timestamps, including on grouped messages from the same sender diff --git a/src/app/features/room/message/Message.tsx b/src/app/features/room/message/Message.tsx index d976bd4e5..fde71cb95 100644 --- a/src/app/features/room/message/Message.tsx +++ b/src/app/features/room/message/Message.tsx @@ -538,6 +538,7 @@ function MessageInternal( const [parsePronouns] = useSetting(settingsAtom, 'parsePronouns'); const [useRightBubbles] = useSetting(settingsAtom, 'useRightBubbles'); + const [showAllTimestamps] = useSetting(settingsAtom, 'showAllTimestamps'); const { cleanedDisplayName, inlinePronoun } = useMemo(() => { const rawName = pmp?.displayname || resolvedSenderDisplayName || ''; return getParsedPronouns(rawName, parsePronouns); @@ -661,7 +662,32 @@ function MessageInternal( ); - return <>; + return showAllTimestamps ? ( + + + + + + ) : ( + <> + ); }; const avatarJSX = (collapsed?: boolean) => { diff --git a/src/app/features/settings/general/General.tsx b/src/app/features/settings/general/General.tsx index 1e0ed551d..7b559a028 100644 --- a/src/app/features/settings/general/General.tsx +++ b/src/app/features/settings/general/General.tsx @@ -819,6 +819,7 @@ function Messages() { settingsAtom, 'hideMembershipInReadOnly' ); + const [showAllTimestamps, setShowAllTimestamps] = useSetting(settingsAtom, 'showAllTimestamps'); const [messageLayout] = useSetting(settingsAtom, 'messageLayout'); const [rightBubbles, setRightBubbles] = useSetting(settingsAtom, 'useRightBubbles'); @@ -839,6 +840,13 @@ function Messages() { after={} /> + Date: Thu, 27 Aug 2026 12:44:15 -0500 Subject: [PATCH 2/2] Register show-all-timestamps as a shareable settings focus id --- src/app/features/settings/settingsLink.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/features/settings/settingsLink.ts b/src/app/features/settings/settingsLink.ts index 8959dc82f..1f5dfd9ec 100644 --- a/src/app/features/settings/settingsLink.ts +++ b/src/app/features/settings/settingsLink.ts @@ -47,6 +47,7 @@ export const settingsLinkFocusIdsBySection: Record