github-community-projects / private-mirrors

A GitHub App that allows you to contribute upstream using private mirrors of public projects
MIT License
125 stars 13 forks source link

The 'edit mirror' dialog should present the current name of the mirror instead of the sample text #136

Closed ahpook closed 3 months ago

ahpook commented 3 months ago

Describe the bug

When editing a mirror to rename it, the dialog presents the default org-name/repository-name in the box to show the target destination, as if you were creating it. This should show the current actual name which then gets replaced by the edited name as you type.

To Reproduce

  1. Go to a mirror and click ... and click Edit to bring up the edit dialog
  2. Note the default name shows the text repository-name

Expected behavior

Since we are editing a real repo, the text should show the current name of the repo.

Screenshots

Image

Additional context

No response