Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't back out of adding new project #2539

Closed
mkroening opened this issue Feb 5, 2024 · 9 comments · Fixed by #4671
Closed

Can't back out of adding new project #2539

mkroening opened this issue Feb 5, 2024 · 9 comments · Fixed by #4671
Labels
bug Something isn't working 🎉reproduced🎉 The issue could be reproduced by following the instructions UX something related to the user's experience

Comments

@mkroening
Copy link

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.

@schacon schacon added the bug Something isn't working label Feb 5, 2024
@OlegGulevskyy
Copy link

I can't reproduce it on my side, is it still an issue?

@Kamaropoulos
Copy link

Yeah, I'm also having the same issue.

@mkroening
Copy link
Author

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?

@OlegGulevskyy
Copy link

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?

@alexcameron89
Copy link

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.
image

I'm not familiar with the source code, but I wonder if it's because:

  1. "/" seems to be determined as the ProjectSetup page after attempting to set up a project
  2. Without history, the back button directs to "/" (source)

@Byron Byron added the UX something related to the user's experience label Apr 21, 2024
@Byron
Copy link
Collaborator

Byron commented Apr 21, 2024

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.

@davidbuzz
Copy link

davidbuzz commented Jul 13, 2024

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/

@Byron Byron added the 🎉reproduced🎉 The issue could be reproduced by following the instructions label Jul 13, 2024
@Comnir
Copy link
Contributor

Comnir commented Aug 10, 2024

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")?

@Comnir
Copy link
Contributor

Comnir commented Aug 10, 2024

I don't have much experience with frontend/JS development, but I made an attempt to implement the suggestion - #4671

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🎉reproduced🎉 The issue could be reproduced by following the instructions UX something related to the user's experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants