Repository navigation
Conversation
Message bylines show a day and a time, such as "Mon, Oct 26 at 9:39 AM", even though the day divider above the row already names the day. Add an opt-in "Message times" choice under Message timestamps: "Date and time" (the default, unchanged) or "Time only". With "Time only", a byline shows just the clock time in the chosen 12- or 24-hour format. The tooltip and the screen-reader text keep the full date. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Abhiroop Basu <787045+abhiroopb@users.noreply.github.com>
…amps The subtitle no longer assumes a day divider sits above every message. A new test checks the choice disappears when message timestamps are hidden. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A byline today reads "Mon, Oct 26 at 9:39 AM" or "Yesterday at 08:36", even though the day divider just above the row already names the day. People coming from Slack expect the byline to show only the clock time ("09:39"). With "Time only", a byline shows the clock time alone, in the 12- or 24-hour format already chosen under Clock.
Behavior
buzz-clock.v1."time"reads as "Date and time".Changes
shared/clock-preference.ts: addmessageTimeFormat: "date-time" | "time"toClockPreference, parse it, and include it in the change key so bylines re-render.features/messages/MessageTimestamp.tsx: with"time", renderformatTimeinstead offormatItemTimestamp.app/AppearanceSettings.tsx: add the "Message times" select under Message timestamps.Testing
MessageTimestamp.test.tsx: a byline shows09:05with "Time only" on a 24-hour clock, keeps the full date for screen readers, and goes back to the dated form with "Date and time".clock-preference.test.tsx: an unknown stored value reads as "date-time". The saved shape includes the new field.AppearanceSettings.test.tsx: choosing "Time only" saves it with the other clock settings.vitest run src/shared src/features/messages/MessageRow.test.tsx src/features/messages/MessageTimestamp.test.tsx src/app/AppearanceSettings.test.tsx src/app/shell/SearchPreview.test.tsx(43 files, 715 tests pass),biome checkon the changed files, andtsc --noEmit.🤖 Generated with Claude Code