gitbutler
gitbutler copied to clipboard
Can't back out of adding new project
On macOS, after clicking “Add new project” and selecting a directory, you are prompted to select a target branch. There is a “Back” button next to “Let's go!”, but it does not work. Even after restarting the app, I can't leave the screen.
Resetting the app with rm -rf ~/Library/Application\ Support/com.gitbutler.app works.
I can't reproduce it on my side, is it still an issue?
Yeah, I'm also having the same issue.
I can't reproduce it on my side, is it still an issue?
Sorry for not responding. Yeah, this is still an issue. How can I help you reproduce this?
I am not really sure, I was just shopping around for ways to contribute to GB and tried to reproduce it without any luck. I will try again later but if anything comes to mind, please don't hesitate. Maybe someone from GB team will have some thoughts and pointers as well?
I've had a similar issue. One thing I've noticed is that even if I close the app, and open it back up, the app stays on the ProjectSetup page.
I'm not familiar with the source code, but I wonder if it's because:
- "/" seems to be determined as the ProjectSetup page after attempting to set up a project
- Without history, the back button directs to "/" (source)
I noticed the same, the issue is still present as of Version 0.11.3 (20240419.070253) .
A workaround I employ is to hit "Let's go!", then try the Authentication with the "Auto" option. Since this usually takes longer than I am willing to wait, I go "Back" all the way until the UI drops into the worktree view of the newly added repository.
I have an identical bug on latest .deb build on ubuntu... I got to the 'project setup' page after selecting a valid, but undesirable git repo to use, and tried to clik 'Back' and the back button doesn't work. closing and re-opening the app now brings me to the same screen with the same back button still not working. I dont want to preess continue, as its the 'wrong repo'. one of these worked [ linux ]: rm -rf ~/.config/com.gitbutler.app/ rm -rf ~/.cache/git-butler/ rm -rf ~/.local/share/git-butler/ rm -rf ~/.local/share/com.gitbutler.app/ rm -rf ~/.cache/com.gitbutler.app/
From what I understand, when clicking “Add new project”, the new project is already created in the projects list. So when the root page is opened, by either "Back" or reopening GitButler, it will redirect to project.
So maybe a solution would be to delete the partially-added project when clicking "Back" (recently changed to "Cancel")?
I don't have much experience with frontend/JS development, but I made an attempt to implement the suggestion - #4671