Skip to content

#4982 - Add "on the fly" addition of donation sites when entering a donation#5157

Closed
neenu-chacko wants to merge 6 commits into
rubyforgood:mainfrom
neenu-chacko:4982-on-the-fly-addition-of-donation-site
Closed

#4982 - Add "on the fly" addition of donation sites when entering a donation#5157
neenu-chacko wants to merge 6 commits into
rubyforgood:mainfrom
neenu-chacko:4982-on-the-fly-addition-of-donation-site

Conversation

@neenu-chacko
Copy link
Copy Markdown
Contributor

@neenu-chacko neenu-chacko commented Apr 18, 2025

Resolves #4982

Description

  • Added functionality for on the fly addition of donation site from new donations page
  • Added specs to test the same
  • Fixed the modal header alignments

Type of change

  • New feature (non-breaking change which adds functionality)
  • Documentation update

How Has This Been Tested?

  • Run rspec spec/system/donation_system_spec.rb

Screenshots

Donation.site.mp4

@neenu-chacko neenu-chacko changed the title #4982 - Add "on the fly" addition of donation sites (we have it for product drives, and manufacturers) when entering a donation #4982 - Add "on the fly" addition of donation sites when entering a donation Apr 18, 2025
@neenu-chacko neenu-chacko force-pushed the 4982-on-the-fly-addition-of-donation-site branch from e240b26 to 3696784 Compare April 19, 2025 14:20
@neenu-chacko neenu-chacko force-pushed the 4982-on-the-fly-addition-of-donation-site branch from 3696784 to 41e2928 Compare April 19, 2025 15:18
@neenu-chacko neenu-chacko marked this pull request as ready for review April 19, 2025 15:35
@cielf
Copy link
Copy Markdown
Collaborator

cielf commented Apr 20, 2025

It'll probably be Monday before I get to reviewing this.

@cielf
Copy link
Copy Markdown
Collaborator

cielf commented Apr 21, 2025

LGTM functionally. Over to @dorner for technical comments.

Comment thread app/controllers/donation_sites_controller.rb Outdated
@@ -0,0 +1,6 @@
<% flash.discard %>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Using JS ERB is a really old pattern that we'd prefer not using. Turbo and Stimulus are more modern ways of achieving the same goal. Can you look into those approaches? We use them elsewhere in the app.

@cielf
Copy link
Copy Markdown
Collaborator

cielf commented May 28, 2025

Hey @dorner -- it looks to me as if @neenu-chacko made the requested changes, but maybe didn't request a re-review. Can you take a look?

@dorner
Copy link
Copy Markdown
Collaborator

dorner commented May 30, 2025

@cielf the primary concern hasn't been addressed (the PR is still using JS ERB).

@cielf
Copy link
Copy Markdown
Collaborator

cielf commented Jun 4, 2025

@neenu-chacko Are you still working on this? If we don't hear back in a couple of days, we'll assume that we need someone else to finish this off.

@neenu-chacko
Copy link
Copy Markdown
Contributor Author

@cielf Sorry, I missed the messages. I won’t be able to follow up on this anytime soon, so it’s totally fine to pass it on to someone else if needed.

@cielf
Copy link
Copy Markdown
Collaborator

cielf commented Jun 5, 2025

@neenu-chacko Ok .. we'll mark it as open and point to your PR. Please do check back when you can -- sometimes this sort of 'last mile' work isn't picked up quickly.

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.

Add "on the fly" addition of donation sites (we have it for product drives, and manufacturers) when entering a donation

3 participants