Skip to content

[FEATURE]: TUI: timestamp gutter mode for messages #29399

Closed as not planned
Closed as not planned

Description

@guysoft

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

This specific proposal — a tri-state /timestamps cycle (hide → footer → gutter → hide) with a fixed HH:MM left gutter on both user and assistant messages and a click-to-popup for the full second-precision date — is new. Several adjacent requests exist and are cited under "Prior demand" below; this issue offers a concrete design and PR that addresses several of them.

Describe the enhancement you want to request

The TUI already has /timestamps to show the time under each user message ("footer" mode). When scanning a long conversation it's useful to see when each message was sent at a glance, but the footer style takes a full line per message, doesn't align across rows, and only applies to user messages.

Proposal

Extend /timestamps to cycle three modes instead of two:

  • hide (current default) — nothing shown
  • footer — current "show" behavior, time on a line below each user message
  • gutter — fixed 5-char HH:MM column to the left of each message (user and assistant), 24-hour. Click the gutter to open a small popup with the full local datetime (HH:MM:SS) and relative time

Add an optional tui.json key timestamps_mode ("hide" | "footer" | "gutter", default "hide") that seeds the default for new users. The slash command still cycles at runtime; the config key just sets the starting mode. Existing users keep their current toggle — the kv-stored legacy "show" value is normalized to "footer" at read time.

Prior demand for this feature — and what this PR addresses

Closed by this proposal:

BTW, even looks like someone is maintainig their own fork with this feature, so people do want this!
ariane-emory#191

Why this design

Three alternatives considered:

  • A (this proposal): one cycle, three modes. Single mental model. One slash command. Config seeds default.
  • B: independent toggles (/timestamps for footer, /timestamp-gutter for gutter). Both can be on at once, duplicates the timestamp visually.
  • C: replace footer with gutter behind the same toggle. Cleaner visually but breaks current users' UX without a way back.

Scope deliberately not in v1:

  • Mouse-only popup. Keyboard support (t on a selected message) needs a new selectedMessageID signal — follow-up PR.
  • Gutter width is hardcoded to 6 cells (HH:MM + space). No dynamic measurement, keeps alignment stable across narrow and wide terminals.

PR

PR #29398 has the implementation, docs, and unit tests (14 new tests, all green, typecheck clean across all 15 packages).

Activity

  1. github-actions commented on May 26, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Feature requests must use the Feature Request template, which requires a verification checkbox confirming the feature hasn't been suggested before
    • The issue title should start with [FEATURE]: (e.g. [FEATURE]: TUI: timestamp gutter mode for messages)

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. github-actions commented on May 26, 2026

    @github-actions
    Contributor

    Thanks for the detailed write-up — the content here is genuinely useful. However, this issue still has a couple of template compliance issues that need to be addressed:

    1. Title must start with [FEATURE]: — Feature request titles are required to follow the format [FEATURE]: your title here. Please update the title.
    2. Missing verification checkbox — The Feature Request template requires a verification checkbox confirming you've searched for duplicates / existing issues. This appears to be absent.

    Please update the title and add the required checkbox, and we'll get the label removed. Thanks!

  3. changed the title [-]TUI: timestamp gutter mode for messages[/-] [+][FEATURE]: TUI: timestamp gutter mode for messages[/+] on May 26, 2026
  4. github-actions commented on May 26, 2026

    @github-actions
    Contributor

    Thanks for updating the issue — it now meets our contributing guidelines! The prefix is in place and the verification checkbox is checked. The label has been removed. We appreciate the detailed write-up.

  5. github-actions commented on Jul 27, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions