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

Basic bulk update implementation #3794

Merged
merged 7 commits into from
May 17, 2023
Merged

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented May 17, 2023

About the changes

First draft of the bulk toggle on/off with Promise.all and no optimizations. This is to get it functional and available for integration with the UI.

In the followup PR I will implement transactions and error handling, but only once we have the UI.

Important files

Discussion points

@vercel
Copy link

vercel bot commented May 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) May 17, 2023 8:27am
unleash-monorepo-frontend ⬜️ Ignored (Inspect) May 17, 2023 8:27am

@kwasniew kwasniew requested a review from sjaanus May 17, 2023 08:27
user?: User,
shouldActivateDisabledStrategies = false,
): Promise<void> {
await Promise.all(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will test later if sequential creation is needed or if we can run it in parallel

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also I will do error handling once I have the UI and transactions

Copy link
Contributor

@andreas-unleash andreas-unleash left a comment

Choose a reason for hiding this comment

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

LG

@kwasniew kwasniew merged commit 6b41cf0 into main May 17, 2023
9 checks passed
@kwasniew kwasniew deleted the basic-bulk-update-implementation branch May 17, 2023 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants