Skip to content

Conversation

@abebinder
Copy link

Related Issue: linuxmint/cinnamon#13437

Apparently some users (including myself!) don't have notifications enabled so there is no discernible result that happens when upload button is pressed in mintreport.

This PR replaces the notification with a dialog window. It also improves the error handling.

Before

Happy Case

Notification sent to user after upload.

before_upload_happy

Users with notifications disabled would see nothing.

Sad case

Notification sent to user with the happy case message and an empty link, even though the pastebin script errored out. This is due to incomplete error handling.

before_upload_unhappy

Users with notifications disabled would see nothing.

After

Happy case

Dialog info window with happy case message

after_pastebin_popup_happy

Unhappy case

Dialog error window with unhappy case message. Error from pastebin script is shown due to improved error handling.

after_upload_unhappy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant