You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One difficulty might be that this causes a 'jump' when the request loads and it adds the buttons. This might be an acceptable trade-off though.
I think the site is low traffic enough anyways that the increased requests probably won't do much to the cost of running the service. If this does become a problem we can fix this later.
A route to fixing both the above problems is doing this at build time, and somehow triggering a build when fundraisers start / on some daily schedule. But I think that would be overengineering it at this time.
The text was updated successfully, but these errors were encountered:
Problem
It's a bit of a pain for chapters to add donate buttons to their pages. It'd be good to make this process easier.
Proposed solution: option A
Add a property in the _config.ts with 'showDonateButtons' as a boolean, given that should be fairly easy for chapters to edit.
Have this trigger the donate buttons (e.g. in the header navigation, and a few other places on the page - see https://github.com/raisenational/raise/pull/108/files).
Proposed solution: option B
Get the public fundraiser info (e.g. similar to how we do on the DonationPage from the config). If it's:
The page should show donate buttons (e.g. in the header navigation, and a few other places on the page - see https://github.com/raisenational/raise/pull/108/files).
Difficulties with option B
One difficulty might be that this causes a 'jump' when the request loads and it adds the buttons. This might be an acceptable trade-off though.
I think the site is low traffic enough anyways that the increased requests probably won't do much to the cost of running the service. If this does become a problem we can fix this later.
A route to fixing both the above problems is doing this at build time, and somehow triggering a build when fundraisers start / on some daily schedule. But I think that would be overengineering it at this time.
The text was updated successfully, but these errors were encountered: