-
Notifications
You must be signed in to change notification settings - Fork 66
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
[SIMPLE_FORMS] feat: add logic to handle multiple attachments for 20-10207 #18308
Conversation
modules/simple_forms_api/app/controllers/simple_forms_api/v1/uploads_controller.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/controllers/simple_forms_api/v1/uploads_controller.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/controllers/simple_forms_api/v1/uploads_controller.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/controllers/simple_forms_api/v1/uploads_controller.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/controllers/simple_forms_api/v1/uploads_controller.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/controllers/simple_forms_api/v1/uploads_controller.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/controllers/simple_forms_api/v1/uploads_controller.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/services/simple_forms_api/pdf_uploader.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/services/simple_forms_api/pdf_uploader.rb
Outdated
Show resolved
Hide resolved
b49018d
to
ea87c12
Compare
Generated by 🚫 Danger |
modules/simple_forms_api/app/services/simple_forms_api/benefits_intake_client.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/services/simple_forms_api/benefits_intake_client.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/services/simple_forms_api/benefits_intake_client.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/services/simple_forms_api/benefits_intake_client.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/services/simple_forms_api/benefits_intake_client.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/services/simple_forms_api/benefits_intake_client.rb
Outdated
Show resolved
Hide resolved
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.
Nice job thinning out the controller 👍
modules/simple_forms_api/app/services/simple_forms_api/benefits_intake_client.rb
Outdated
Show resolved
Hide resolved
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.
Looking good to me! I have two comments inside plus I'm wondering if we can write or update a test to ensure that we're using the attachments
argument for BenefitsIntake::Service.perform_upload
.
modules/simple_forms_api/app/services/simple_forms_api/benefits_intake_client.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/services/simple_forms_api/benefits_intake_client.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/services/simple_forms_api/benefits_intake_submission_handler.rb
Outdated
Show resolved
Hide resolved
modules/simple_forms_api/app/services/simple_forms_api/benefits_intake_submission_handler.rb
Show resolved
Hide resolved
modules/simple_forms_api/app/services/simple_forms_api/benefits_intake_submission_handler.rb
Show resolved
Hide resolved
modules/simple_forms_api/app/services/simple_forms_api/benefits_intake_submission_handler.rb
Show resolved
Hide resolved
@pennja is this still being worked on or can this PR be closed? |
@pennja is this good to close? |
I'd like to keep the refactor work here but the PR itself is not longer necessary. I'll make a fresh one based off this one. |
Note: Delete the description statements, complete each step. None are optional, but can be justified as to why they cannot be completed as written. Provide known gaps to testing that may raise the risk of merging to production.
Summary
Related issue(s)
Testing done
Screenshots
Note: Optional
What areas of the site does it impact?
(Describe what parts of the site are impacted andifcode touched other areas)
Acceptance criteria
Requested Feedback
(OPTIONAL)What should the reviewers know in addition to the above. Is there anything specific you wish the reviewer to assist with. Do you have any concerns with this PR, why?