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

Push to library project: Error UX improvements #1045

Merged

Conversation

iLLiCiTiT
Copy link
Member

Changelog Description

Capture TaskNotSetError to raise artist friendly message. Any unhandled exception will show generic message and button to show error detail dialog.

Additional info

Button Try again is visible all the time if it fails. Buttons now have some tooltips. Text in overlay label can be selected to be copied.

Testing notes:

  1. Run push to library project action on product type that requires task in product name template.
  2. The UI should tell you the reason why it failed.
  3. If the push crashed because of unhandled error, it will show generic message "Unhandled error happened. Check error detail for more information." and button to see full traceback. (I don't know how to trigger unhandled error...).

Resolves #1035

@iLLiCiTiT iLLiCiTiT self-assigned this Dec 10, 2024
@iLLiCiTiT iLLiCiTiT added type: bug Something isn't working type: enhancement Improvement of existing functionality or minor addition and removed type: bug Something isn't working labels Dec 10, 2024
@ynbot ynbot added type: enhancement Improvement of existing functionality or minor addition size/S labels Dec 10, 2024
@64qam
Copy link
Member

64qam commented Dec 11, 2024

Not sure if I test it correctly, only this appears...
image

@iLLiCiTiT
Copy link
Member Author

I would say yes. It is the same error as here #1035 , but without the traceback.

@iLLiCiTiT iLLiCiTiT merged commit 79903e4 into develop Dec 11, 2024
3 checks passed
@iLLiCiTiT iLLiCiTiT deleted the enhancement/1035-renders-push-to-library-project-error branch December 11, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/S type: enhancement Improvement of existing functionality or minor addition
Projects
None yet
Development

Successfully merging this pull request may close these issues.

renders Push to Library project error
3 participants