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

275/bulk adding removing #300

Merged
merged 14 commits into from
Sep 21, 2023
Merged

Conversation

qope
Copy link
Contributor

@qope qope commented Sep 10, 2023

Description

Implemented bulk adding/removing of member IDCs #275.

Below is a list of the changes:

API Server

For off-chain operations, instead of sending a transaction for every addition/removal of a member, it's more efficient to send them all at once at the end. Therefore, I updated the API server to include the addMembers and removeMembers methods to support bulk adding/removing.

UI

(Add)
Supporting CSV files can be challenging because of the need to explain the acceptable format to users. As a result, I did not include CSV support. Instead, I've allowed for the addition of multiple member IDs at once, separated by commas, spaces, or new lines. This format matches the content one might copy and paste from CSV or Excel files, so it should be convenient for users of those file types.

(Remove)
I've added checkboxes to facilitate the removal of multiple member IDs simultaneously. However, as of now, only off-chain operations support removal. Thus, the checkboxes are displayed only for off-chain cases.


Related Issue

#275

Does this introduce a breaking change?

  • Yes
  • No

Other information

@vplasencia vplasencia self-requested a review September 11, 2023 07:23
@vplasencia vplasencia changed the base branch from main to dev September 11, 2023 07:24
@aguzmant103 aguzmant103 linked an issue Sep 20, 2023 that may be closed by this pull request
@vplasencia vplasencia merged commit 5864018 into bandada-infra:dev Sep 21, 2023
@gitpoap-bot
Copy link

gitpoap-bot bot commented Sep 21, 2023

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

2023 Bandada Contributor:

2023 Bandada Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

@vplasencia
Copy link
Member

Hey @qope great work! Thank you so much 🚀

@qope
Copy link
Contributor Author

qope commented Sep 21, 2023

I'm glad to hear that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bulk Adding/Removing
2 participants