github / github/app

Additional line breaks added after submitting prompt with Pick and Polish attachment

未关闭
#776 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bugs
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

### Short summary

Additional line breaks added after submitting prompt with Pick and Polish attachment

### Affected version or release

0.2.24

### Installation context

_No response_

### What happened?

https://github.com/user-attachments/assets/82accf67-90e8-497f-9e70-0fa857693e9c

### Steps to reproduce

1. use pick and polish to attach an element
2. Type a prompt with no line breaks and hit enter

Expected - Prompt shows as entered upon submit
Actual - 4 line breaks are added above prompt

### Expected behavior

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

未指定源文件或测试。首先在 GitHub Copilot 应用 0.2.24 中使用 Pick and Polish 复现该问题,然后跟踪 prompt 的提交和渲染路径;当不带换行符的 prompt 在提交后保持不变时,即表示完成。

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

评估

领域
desktop, frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

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