Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Composer model tooltip omits the model-picker shortcut #11536

Closednbros(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. Open a thread in T3 Code.
  2. Hover over the model selector in the composer.
  3. Compare its tooltip with the visible model label and the configured model-picker shortcut.

Expected behavior

The tooltip should describe the action and show its current keyboard shortcut, for example: Change model · ⇧⌘M.

  • Display the configured modelPicker.toggle binding, including custom bindings and platform-appropriate modifiers.
  • If no shortcut is assigned, show “Change model” without a shortcut.
  • Preserve the full model name where useful for truncated labels.
  • Apply this to web and desktop.

This request is separate from adding effort-level shortcuts: the model-picker shortcut already exists; its tooltip should make it discoverable.

Actual behavior

The tooltip only repeats the model name already visible on the button. In the screenshot, both show “GPT-6-Astra”, with no hint that ⇧⌘M opens the model picker.

This makes an existing keyboard action difficult to discover while composing a prompt.

Related: https://github.com/pingdotgg/t3code/issues/1352 was closed after adding the Plan/Build shortcut to that control’s tooltip. The model selector still lacks its shortcut hint.

Image

Impact

Cosmetic issue

Version or commit

0.0.40 (09e8de9c655a)

Environment

macOS, T3 Code desktop; model: GPT-6-Astra.

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

Use the existing model-picker shortcut: ⇧⌘M on macOS or Ctrl+Shift+M on Windows/Linux, or look it up in Settings → Keybindings.

  1. nbros(GitHub profile, opens in a new tab) added labelsbug

  2. nbros(GitHub profile, opens in a new tab) added labelsneeds-triage

  3. Triage

    Confirmed. The composer model trigger tooltip only repeats the visible model name. modelPicker.toggle already exists (mod+shift+m → ⇧⌘M on macOS, Ctrl+Shift+M elsewhere) and already opens the picker; it is just not shown on hover.

    Where

    In apps/web/src/components/chat/ProviderModelPicker.tsx, the trigger tooltip is props.triggerLabel ?? triggerLabel (the model name / “Choose model”). keybindings is already passed in and used for jump labels inside the open picker, not on the closed button.

    ChatComposer already passes isComposerOwned and keybindings. ChatView already routes modelPicker.toggle to composerRef.current?.toggleModelPicker(). shortcutLabelForCommand already formats the current binding, including custom ones.

    Desktop wraps this same web control, so one change covers web + desktop. Settings also uses ProviderModelPicker (project defaults, text-generation model) without composer ownership — that shortcut only works in chat, so the hint should be gated on the composer-owned trigger. Mobile uses a sheet, not this hover tooltip.

    • #1352 asked for the same treatment on Plan/Build and was closed as done. Today that tooltip is still mode copy only, and there is no interaction-mode keybinding in contracts. Residual / stale close reason — not a duplicate of this issue.
    • #7571 / #2549 are about the model options (effort) picker. Out of scope here, as noted in the report.
    • #5400 kept jump-key labels in sync inside the open model list.

    Suggested fix

    When isComposerOwned, build the tooltip from the action plus the current modelPicker.toggle label, e.g. Change model · ⇧⌘M. If the command is unbound, show Change model with no shortcut. Keep the full model name when the button label is truncated. Existing sidebar tooltip pattern: Toggle main sidebar (${shortcut}) in AppSidebarLayout.

    Small cosmetic discoverability fix. Accepting as an enhancement.

  4. juliusmarminge removed labelsbug

  5. juliusmarminge added labelsenhancement

  6. juliusmarminge removed labelsneeds-triage

  7. juliusmarminge added labelsaccepted

  8. juliusmarminge added labelsvia-triage

  9. juliusmarminge closed this

Sign in to join this conversation.