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 redirect field to voucher nbs #310

Closed
wants to merge 1 commit into from

Conversation

travis
Copy link
Member

@travis travis commented Dec 14, 2022

We'd like to allow clients (especially on the web) to specify a redirect when registering a new space. To do this we add a redirect field to voucher/claim and voucher/redeem and use it to decide whether to send a user to the normal landing page or to redirect them to the specified URL after claiming and redeeming a voucher.

This is my first time in this code, so looking for careful review and suggestions for improvement - happy to write tests, more docs, etc but wanted to validate the approach before I get too deep.

We'd like to allow clients (especially on the web) to specify a redirect when registering a new space. To do this we add a `redirect` field to `voucher/claim` and `voucher/redeem` and
use it to decide whether to send a user to the normal landing page or to redirect them to the specified URL after claiming and redeeming a voucher.
@travis
Copy link
Member Author

travis commented Dec 14, 2022

fixes #291

@gobengo
Copy link
Contributor

gobengo commented Jan 11, 2023

general approach seems workable so far, and working through ci test failures will unblock merging

@hugomrdias hugomrdias mentioned this pull request Jan 12, 2023
95 tasks
@travis
Copy link
Member Author

travis commented Feb 9, 2023

closing in favor of the work in #399

@travis travis closed this Feb 9, 2023
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.

2 participants