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

ui: adding alerts for robot account actions (PROJQUAY-5946) #2228

Merged
merged 14 commits into from Oct 5, 2023

Conversation

Sunandadadi
Copy link
Contributor

No description provided.

@Sunandadadi Sunandadadi changed the title ui: Adding alerts for Robot account actions (PROJQUAY-5946) ui: adding alerts for robot account actions (PROJQUAY-5946) Sep 11, 2023
@codecov
Copy link

codecov bot commented Sep 11, 2023

Codecov Report

All modified lines are covered by tests ✅

see 2 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@Sunandadadi Sunandadadi changed the title ui: adding alerts for robot account actions (PROJQUAY-5946) ui: wip - adding alerts for robot account actions (PROJQUAY-5946) Sep 11, 2023
@Sunandadadi Sunandadadi changed the title ui: wip - adding alerts for robot account actions (PROJQUAY-5946) ui: adding alerts for robot account actions (PROJQUAY-5946) Sep 29, 2023
const queryClient = useQueryClient();

const createRobotAccntMutator = useMutation(
const updateRobotData = async (result) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These calls aren't handled with error handling. A success will still be reported to the user if the robot was created successfully even if these all fail.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think this was done to make sure a robotAcct is created before adding repos/teams/etc to the robot acct.

Copy link
Contributor

@bcaton85 bcaton85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Sunandadadi Sunandadadi merged commit 48b300a into quay:master Oct 5, 2023
15 checks passed
@Sunandadadi Sunandadadi deleted the PROJQUAY-5946 branch October 5, 2023 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants