Proposal: add path to "Remove repository" dialog
See original GitHub issueCurrently, when you right click and Remove...
on a repository in the list, you’ll get the following dialog:
Several times, I’ve found I had another clone somewhere and GitHub desktop had the wrong one…not the thing I intended to edit. So time to remove that and add the right one.
Since this dialog also offers to delete the files off disk, I think it should include the file path it’s talking about. Can we please add a link with the repo path on it? That’d remove any ambiguity from the situation, and in my case: help find that duplicate repo to boot. Something like this:
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Ability to immediately remove a project scheduled for delayed ...
User navigates to the deleted project settings and clicks "Permanently delete now". User confirms once by typing the project name again. A ...
Read more >How do I remove a folder from version control (but not delete it ...
In the local history dialog, select the "Deleting" action (should be the top one) and click the Revert button. If you get an...
Read more >Repository Manager - Advanced Installer
For dialogs and prerequisites use the option "Add from Repository". ... Change repository path - changes the location without moving the resources inside....
Read more >Deleting repositories - Google Cloud
The Remove repository dialog opens. Type the name of the repository you want to delete. Click Delete.
Read more >Define area paths and assign to a team - Azure - Microsoft Learn
Ensure you're a member of the Project Administrators group to add an area path under the root node or edit or delete any...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Implementation tips!
The place to start on this would be in: https://github.com/desktop/desktop/blob/9ada1c10559089eea46c8354ac8a1b1404f771b4/app/src/ui/remove-repository/confirm-remove-repository.tsx#L27
The
repository
prop should have the information needed (aka the path) for this new message 😃 you can see what it contains at https://github.com/desktop/desktop/blob/9ada1c10559089eea46c8354ac8a1b1404f771b4/app/src/models/repository.ts#L19Also, you can use the Ref component to format the filepath text.
Feel free to ping
@desktop/engineering
with any questions!@outofambit Thanks for the time savers there (and thanks all for feedback!) I opened a PR with the changes in #5807.