question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proposal: add path to "Remove repository" dialog

See original GitHub issue

Currently, when you right click and Remove... on a repository in the list, you’ll get the following dialog: image

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:

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
outofambitcommented, Oct 3, 2018

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

Also, you can use the Ref component to format the filepath text.

Feel free to ping @desktop/engineering with any questions!

1reaction
NickCravercommented, Oct 3, 2018

@outofambit Thanks for the time savers there (and thanks all for feedback!) I opened a PR with the changes in #5807.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found