-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
chore: add a user feedback in case of an error #171
Conversation
This feedback would show the user a message if something went wrong while generating AI for post to highlight
Can you add a screenshot @a0m0rajab? |
@bdougie added. |
where does "Configuration file is empty" come from? Doesn't seem like a helpful error. |
@diivi from this line: ai/src/content-scripts/components/GenerateAIDescription/DescriptionGeneratorButton.ts Line 73 in 8ce3724
I manually through it to get the error screenshot. |
Not so sure about "file", but it was there before too, so okay! |
The copy might need an update but that's out of scope of this PR, you can check the code.
Sent from mobile device
…________________________________
From: Divyansh Singh ***@***.***>
Sent: Sunday, June 11, 2023 12:20:33 AM
To: open-sauced/ai ***@***.***>
Cc: Abdurrahman Rajab ***@***.***>; Mention ***@***.***>
Subject: Re: [open-sauced/ai] chore: add a user feedback in case of an error (PR #171)
https://github.com/open-sauced/ai/blob/8ce37248bbd71cef152919d3e6585f5cf5c4bc8f/src/content-scripts/components/GenerateAIDescription/DescriptionGeneratorButton.ts#L73
Not so sure about "file", but it was there before too, so okay!
—
Reply to this email directly, view it on GitHub<#171 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AELNMKPSFSLDQVWBOVZFNL3XKTQKDANCNFSM6AAAAAAY4CYVNU>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there are some unrelated warning messages for unused variables. Everything else looks good.
currently failing on #173 and can be fixed there.
🎉 This PR is included in version 1.6.0-beta.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.6.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This PR adds a toast promise to the generateAiDescription function in posthighlight.tsx. The toast promise displays a loading message wThis feedback would show the user a message if something went wrong while generating AI for post to highlight
This adds an error message feedback for user when they face an issue in the AI generation on the post to highight popup
What type of PR is this? (check all applicable)
Description
This adds an error message feedback for user when they face an issue in the AI generation on the post to highight popup
Related Tickets & Documents
#168
Mobile & Desktop Screenshots/Recordings
While Generating:
Successful message:
Error Message:
Added tests?
Added to documentation?
[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?