Skip to content

Conversation

@adlius
Copy link
Contributor

@adlius adlius commented Sep 27, 2021

Purpose

This PR enables admins of registration providers to upload a CSV file and create registrations in bulk.

Summary of Changes

PLACEHOLDER

Screenshot(s)

Screenshot from 2021-08-23 12-43-36

Side Effects

QA Notes

* UploadCSV component

* bulk upload widget

* err modals

* add moar msgs

* bump ember-template-lint version; add toast msg

* fix tests
@coveralls
Copy link

coveralls commented Sep 27, 2021

Pull Request Test Coverage Report for Build 1281836326

  • 17 of 20 (85.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.3%) to 72.232%

Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/registries/addon/branded/moderation/-components/upload-csv/component.ts 15 18 83.33%
Totals Coverage Status
Change from base Build 1239383444: 0.3%
Covered Lines: 4800
Relevant Lines: 6379

💛 - Coveralls

Copy link
Member

@fabmiz fabmiz left a comment

Choose a reason for hiding this comment

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

Looks great 💯 Minor suggestion. I am also not sure why yarn.lock was updated, could you not commit the update.

Comment on lines 3 to 13
@buildUrl={{action this.buildUrl}}
@options={{this.dropzoneOptions}}
@dropzone={{false}}
@addedfile={{action this.addedFile}}
@uploadprogress={{action this.uploadProgress}}
@success={{action this.success}}
@error={{action this.error}}
@dragenter={{action (mut this.dropping) true}}
@dragover={{action (mut this.dropping) true}}
@drop={{action (mut this.dropping) false}}
@dragleave={{action (mut this.dropping) false}}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
@buildUrl={{action this.buildUrl}}
@options={{this.dropzoneOptions}}
@dropzone={{false}}
@addedfile={{action this.addedFile}}
@uploadprogress={{action this.uploadProgress}}
@success={{action this.success}}
@error={{action this.error}}
@dragenter={{action (mut this.dropping) true}}
@dragover={{action (mut this.dropping) true}}
@drop={{action (mut this.dropping) false}}
@dragleave={{action (mut this.dropping) false}}
@buildUrl={{this.buildUrl}}
@options={{this.dropzoneOptions}}
@dropzone={{false}}
@addedfile={{this.addedFile}}
@uploadprogress={{this.uploadProgress}}
@success={{this.success}}
@error={{this.error}}
@dragenter={{fn (mut this.dropping) true}}
@dragover={{fn (mut this.dropping) true}}
@drop={{fn (mut this.dropping) false}}
@dragleave={{fn (mut this.dropping) false}}

@adlius
Copy link
Contributor Author

adlius commented Sep 27, 2021

Looks great Minor suggestion. I am also not sure why yarn.lock was updated, could you not commit the update.

yarn.lock is updated to update ember-template-lint's version. I need the latest version (which includes this commit) to allow using variables defined in the template as element id. Otherwise template linting will fail.

@adlius adlius changed the base branch from develop to feature/bulk_upload September 28, 2021 12:25
@adlius adlius changed the base branch from feature/bulk_upload to develop September 28, 2021 12:28
@adlius adlius closed this Sep 28, 2021
@adlius
Copy link
Contributor Author

adlius commented Sep 28, 2021

Closed in favor of #1307

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.

3 participants