Skip to content

showMessageTimestamps setting is declared but not wired to any render logic #1044

Description

@StribDavoflav

Describe the bug

The plugin settings schema includes a showMessageTimestamps option ("Stamp each message with its arrival time"), and it can be toggled on in settings. However, toggling it has no visible effect in the chat view.

What I found digging through main.js (v2.0.43):

  • showMessageTimestamps is declared in the settings schema and can be set to true.
  • There's no code path that reads this setting to render a timestamp on individual chat messages — no CSS class, no conditional render logic tied to it.
  • The existing toLocaleTimeString calls in the plugin are used elsewhere (the conversation history dropdown, showing relative dates like "2:30 PM" or "Aug 3" next to past conversations) — not per-message timestamps inside an open thread.

Expected behavior

When showMessageTimestamps is enabled, each message bubble in the active chat thread should display a timestamp (e.g., time sent/received).

Suggested fix

Wire the existing setting to the message-rendering component — likely just needs a conditional <span> with toLocaleTimeString() (or similar) next to each message, gated on settings.showMessageTimestamps.

Environment

  • Claudian v2.0.43
  • Obsidian (macOS)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions