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

Mark user-visible graveler errors and phrase them for users #2738

Merged
merged 3 commits into from Nov 23, 2021

Conversation

arielshaqed
Copy link
Contributor

Fixes #2725.

@arielshaqed arielshaqed added pr/merge-if-approved Reviewer: please feel free to merge if no major comments include-changelog PR description should be included in next release changelog labels Nov 22, 2021
@arielshaqed arielshaqed force-pushed the bugfix/2725-improve-graveler-errors branch from b831c16 to 8d142de Compare November 22, 2021 10:21
@arielshaqed arielshaqed added the area/UI Improvements or additions to UI label Nov 22, 2021
@itaiad200
Copy link
Contributor

This improves readability of the errors so I'm approving. I still think we can improve the error of the original issue #2725, how hard is it to add the dirty branch name to the error?

Copy link
Contributor

@itaiad200 itaiad200 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving with a comment

The easy term for users is "has uncommitted changes", so put that up front.
"Dirty" is a useful codeword.  Keep it in parentheses at the end, to train
users about it.
@arielshaqed
Copy link
Contributor Author

Thanks! After talking f2f, I rephrased and added the name of the failing (dirty) branch to the message.

Committing since approved, but happy to revisit if you think it's needed.

@arielshaqed arielshaqed merged commit 0c811fa into master Nov 23, 2021
@arielshaqed arielshaqed deleted the bugfix/2725-improve-graveler-errors branch November 23, 2021 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/UI Improvements or additions to UI include-changelog PR description should be included in next release changelog pr/merge-if-approved Reviewer: please feel free to merge if no major comments
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI: Merging into a "dirty" branch yields an unfriendly error
2 participants