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: Separate out past-opportunities feature #696

Merged
merged 5 commits into from
Oct 15, 2024

Conversation

lukehesluke
Copy link
Contributor

So that it may be opted out of if no past data is available (esp. if using random mode)

This was prompted by Bookteq (and I've seen it for other users too), whose random modes are not capable of producing opportunities in the past.

There is a not-implemented test to ensure that there are no such opportunities if this feature is turned off.


Even still, it is advisable to keep this feature on if at all possible. Even if a booking system cannot generate opportunities in the past in test suite conditions, it may be able to have opportunities expire but remain in the feed outside of test suite conditions. This is a compromise to help accelerate adoption but it may be worth considering if it should be kept as required

So that it may be opted out of if no past data is available (esp. if using random mode)
@lukehesluke lukehesluke marked this pull request as ready for review October 15, 2024 12:31
@lukehesluke
Copy link
Contributor Author

Copy link
Collaborator

@nickevansuk nickevansuk left a comment

Choose a reason for hiding this comment

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

Looks great @lukehesluke !

@lukehesluke lukehesluke merged commit de2979f into master Oct 15, 2024
2 checks passed
@lukehesluke lukehesluke deleted the feature/past-opportunities branch October 15, 2024 16:56
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