-
Notifications
You must be signed in to change notification settings - Fork 10
feat(client): discoverable apps notification fixed #1275
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
Conversation
@CodiumAI-Agent /describe |
Titlefeat(client): discoverable apps notification fixed User descriptionDescriptionThe user does not have access to view this project or project id is invalid notification msg fixed for discoverable page Changes MadeHow to Test
NotesPR TypeBug fix Description
Changes walkthrough 📝
|
@CodiumAI-Agent /review |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
@CodiumAI-Agent /improve |
PR Code Suggestions ✨Latest suggestions up to d7d9af4
Previous suggestionsSuggestions up to commit d7d9af4
Suggestions up to commit 0b45cd2
|
@CodiumAI-Agent /improve |
Please Refer first commit for issue fix |
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.
see comments
if (res.status === 'rejected') { | ||
emitMessage(true, res.reason); | ||
} else { | ||
if (idx === 0) { |
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.
is the array always the same way? Its never structured differently? One thing that worries me about this if else statement is that if the structure ever changes it would break.
Is there another check that we can make that is a bit more stringent?
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.
@AAfghahi the indexes are based on the array insertion in the promises. It will always remain the same till the array is changed
}), | ||
); | ||
} | ||
}); |
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.
Could we add error checking to this as well? Does not look like we do anything if the pixel call errors out.
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.
Individual calls are tracked within the indexes and if the overall call fails, that is taken as rejected.
@CodiumAI-Agent /update_changelog |
Description
The user does not have access to view this project or project id is invalid notification msg fixed for discoverable page
Changes Made
How to Test
Notes