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

feat: add donation request #3491

Open
7 of 11 tasks
benfurber opened this issue May 1, 2024 · 2 comments
Open
7 of 11 tasks

feat: add donation request #3491

benfurber opened this issue May 1, 2024 · 2 comments
Assignees

Comments

@benfurber
Copy link
Member

benfurber commented May 1, 2024

After a (logged in) user clicks/taps to download files on a how-to, etc. a modal should be added to invite the user to make a donation.

image

Must haves:

  • Generic DonationRequest component in the component library. Responsive. Flexbox.
  • Update Modal to accomidate components that need to be responsive
  • Add listener for when iframe changes on donation accepted
  • Put behind beta-tester wrapper and only for how-tos
  • Test flow on cypress
  • Wrap around the DownloadFileFromLink component
  • Wrap around the DownloadStaticFile component
  • All the text controlled by app common component

Should have:

  • Common component in the app for the iframe/config option
  • Some config by platform for the iframe
  • Add labels convention to component library
@benfurber
Copy link
Member Author

I've been thinking about the user flow for when user actually do make a donation.

There are some url redirect options, though probably not what we want.

Users will/should expect a thank you/completion page. So I'm thinking about setting up a event listener that waits for the thank you page to be visible and when it is, changes the wording of the skip button to 'download now' or similar.

@benfurber
Copy link
Member Author

I'm been doing some playing around to try and get the embed to be 'perfect' across all viewpoint sizes. I haven't got there yet but I've spent enough time on it(!) There might be some more options from donor box to try later down the line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New / Under Discussion
Development

No branches or pull requests

1 participant