-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
feat: reporting images added #147
Conversation
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.
really good @sumana2001 ... maybe it would be nice to have a tooltip in the button or a question mark icon with a tooltip next to the flag or something that explains what the flag means
I have made the changes you suggested, please have a look again. @nobeeakon @alexfauquette |
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.
I notice that you do not fetch the flagged images for a product to check if some images have already been flagged by other users.
It's not a problem, because it should be rare, and I prefer having rare inconsistencies than spamming my toy server 🙈
} | ||
) | ||
.catch(() => { | ||
console.log("Something went wrong. Image could not be flagged"); |
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.
nit: no need for the console.log
as it is not useful for the client, you could leave .catch(() => {})
and it will be fine
Screen.Recording.2022-08-14.at.2.47.40.PM.mov
Closes #22