github / github/app

Allow renaming a pull request name from within the Pull request canvas

オープン
#2,604 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
triage
主要言語
言語のデータがありません
スター
2.1k
フォーク
153
PR マージ指標
30日以内にマージされた PR はありません

説明

### Feature summary

Renaming a PR title from GHC app PR canvas

### What problem are you trying to solve?

I want to be able to rename the pull request directly from the canvas similar to the experience on the Github website.

### Proposed solution

My suggestion:
- Add a pencil icon button
- When the button is clicked change the title to a Input + Save button + Cancel button
- If Saved is clicked, it does the operation then changes back text only
- If Cancel is clicked, it does not trigger any changes and goes back to text only
- When in edit mode, enter key is equivalent to clicking save, ESC key is equivalent to clicking cancel

Image

Image

### Workflow impact

_No response_

### Installation context

_No response_

### Additional context

_No response_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by locating the Pull request canvas and how it currently renders pull request titles, then find the existing operation used to update pull request data. Implement the pencil, input, save, and cancel states with Enter and Escape behavior, and verify that saving persists the renamed title while canceling leaves it unchanged.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github
領域
desktop, frontend
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
58/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。