github / github/app

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

Offen
#2,604 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
triage
Vorherrschende Sprache
Keine Sprachdaten
Sterne
2.1k
Forks
153
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
github
Bereich
desktop, frontend
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
58/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.