Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Bug]: Long descriptions in the composer `/` command menu are truncated with no way to read the full text

未关闭 适合新手
#26,940 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@voltcrash 已经在做这个了。

开始于 2026年10月30日。

  • #27414 来自 @voltcrash —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
react, typescript
领域
frontend

调研方向

从 apps/web/src/components/chat/ComposerCommandMenu.tsx 开始,issue指出描述文本被截断以及行高亮行为。检查命令菜单现有的悬停状态和键盘选择状态,然后选择一种在这两种状态下显示完整描述的方式。当悬停或高亮某一行时可以读到长描述,即为完成。

由索引模型根据 Issue 内容生成。

描述

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

apps/web

Steps to reproduce
  1. In a thread, type / in the composer to open the command menu.
  2. Find an entry whose description is longer than the row, for example a provider command or skill with a long description.
  3. Hover the row, or highlight it with the keyboard.

Composer command menu with truncated descriptions

Image
Expected behavior

Hovering or highlighting a row lets me read the whole description. For example, the text scrolls or animates horizontally, the active row expands or wraps, or a tooltip shows the full text.

Actual behavior

The description is cut off with an ellipsis and nothing reveals the rest, so you cannot read what the command does. For example /code-review ends in "(plus reuse/simpli…" and /ultrareview ends in "Runs in a …".

In the code (upstream/main @ 6d450a4284), ComposerCommandMenu.tsx renders the description as a plain truncated span:

<span className="min-w-0 flex-1 truncate text-left text-secondary-label text-xs">
  {props.item.description}
</span>

(apps/web/src/components/chat/ComposerCommandMenu.tsx, line 242). The row has no title, no tooltip, and no hover or active-state handling for the description. onMouseMove only sets the highlighted item. A search of apps/web/src found no marquee or text-scroll style that could be reused.

Impact

Minor bug or occasional failure

Version or commit

Code references: upstream/main @ 6d450a4284. The screenshot is from a locally running T3 Code; I did not record its version.

Environment

T3 Code web UI; the server runs on Linux (WSL2). Client OS and browser or desktop shell not recorded.

Logs or stack traces

No response

Workaround

None found for the full text apart from reading the provider's own documentation for the command.

主要语言
TypeScript
星标
24.8k
派生
6.4k
平均合并
14 小时 40 分钟
30 天内合并 PR
193

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pingdotgg/t3code 的其他 Issue

查看 pingdotgg/t3code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。