github-community-projects / private-mirrors

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

fix: edit mirror dialog to display current mirror name #178

Closed zkoppert closed 2 months ago

zkoppert commented 2 months ago

Pull Request

fixes #136

Proposed Changes

Updates the 'Edit mirror' dialog to display the current mirror name instead of the placeholder text 'repository-name'.

Readiness Checklist

Author/Contributor

Reviewer

zkoppert commented 2 months ago

I believe we can but wanted to check: Can we safely assume that the mirrorName is never empty? Otherwise, this would result in the placeholder being blank.

zkoppert commented 2 months ago

Anyone have local dev setup working so they could check this looks correct in the running app? Otherwise I can work to get that setup going this afternoon.

sutterj commented 2 months ago

I'll check it out here locally now.

sutterj commented 2 months ago

Current mirror name is missing from location:

Screenshot 2024-06-13 at 3 13 37 PM
sutterj commented 2 months ago
Screenshot 2024-06-13 at 3 33 20 PM Screenshot 2024-06-13 at 3 33 24 PM
zkoppert commented 2 months ago

Thanks for the find and fix @sutterj!