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

Gopass command before setting up gopass #2963

Closed
sarojregmi200 opened this issue Oct 6, 2024 · 2 comments · Fixed by #2975
Closed

Gopass command before setting up gopass #2963

sarojregmi200 opened this issue Oct 6, 2024 · 2 comments · Fixed by #2975
Labels
ux User experience / User Interface related

Comments

@sarojregmi200
Copy link

Summary

It is not a bug, but thought it might help make this project a tiny bit better. I tried setting up the gopass today and installed it successfully and tried to run gopass by running gopass binary. And it says it is not yet setup to setup type gopass init and then exits the process.
I think it can be improved.
Screenshot 2024-10-06 at 17 41 35

Steps To Reproduce

  • install gopass.
  • Type gopass in your terminal and see (you should not have it already configured).

Better behavior

Gopass is not yet setup in your system do you want to set it up? A small message like this will be a smoother onboarding experience for those who are setting it up for the first time.

Environment

Local, personal pc.

  • OS: [Arch linux]
  • gopass Version: [1.15.14]
  • Installation method: [pacman]

I have just started using the project and have searched for similar issue but have not found one it is what I think is a goodway and what I felt while getting the error message.

@dominikschulz
Copy link
Member

Thanks for the report. But I'm afraid I don't fully understand how you'd like it to change.

We already provide a hint on what to do (gopass setup).
Could you maybe provide an example of how a more welcoming error message could look like?

@dominikschulz dominikschulz added the ux User experience / User Interface related label Oct 7, 2024
@sarojregmi200
Copy link
Author

Sure.

It would be great if it just continued, rather than exiting the program.
Saying something like.
"Do you want to continue to setup? yes(y) no(n)".

Something like this will better improve the flow of the program.

dominikschulz pushed a commit that referenced this issue Oct 22, 2024
* [FEATURE] Ask for setup if not initialized

Fixes #2963.

Tested-by: Eng Zer Jun <engzerjun@gmail.com>
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>

* Change default from true to false

Reference: #2975 (comment)
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>

---------

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ux User experience / User Interface related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants