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

Integrate Toasts #10

Closed
iamhectorsosa opened this issue May 16, 2023 · 3 comments · Fixed by #23
Closed

Integrate Toasts #10

iamhectorsosa opened this issue May 16, 2023 · 3 comments · Fixed by #23
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@iamhectorsosa
Copy link
Collaborator

Integrate Toasts on the application to provide user feedback. This would be specially great for when the clipboard's image is captured.

Grab inspo from: https://ui.shadcn.com/docs/components/toast

Context: When the user tries to use an asset that isn't an image from their clipboard, an error is printed to the console from:
https://github.com/ekqt/screenshot/blob/main/src/utils/clipboard.ts

Improve the experience by triggering a success toast instead when the image has been received successfully and a failure toast when no image type has been found

@iamhectorsosa iamhectorsosa added enhancement New feature or request help wanted Extra attention is needed labels May 16, 2023
@iamhectorsosa
Copy link
Collaborator Author

Related to: (feat) Alert before paste & screenshot history #1

@alefDev-prog
Copy link
Contributor

Hi, I have started to check out some solutions to this

@iamhectorsosa
Copy link
Collaborator Author

Hi, I have started to check out some solutions to this

I'll assign you to this one then! @alefDev-prog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants