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

Add NewFeatures service #66

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Add NewFeatures service #66

merged 1 commit into from
Oct 2, 2024

Conversation

Madumo
Copy link
Member

@Madumo Madumo commented Oct 2, 2024

📖 Description

When we introduce a new feature to an app, we might want to prompt the user with an onboarding message, a "what's new" modal, or something of the sort.

⚠️ Problem

If a user install the app after a feature was introduced, it's not a change for him, so we probably dont want to prompt him with a bunch of new feature prompts. If a user install the app before a feature is introduced, but then doesn't use the app for a while, and then open it a few versions after that, we probably still want that "new feature" prompt to be shown, because it's still new to him, even if it's not to the rest of the userbase. But its still possible that we want to put a cutoff at some point.

🤓 Solution

This service stores the first opened version of the app, and then will compare it to semver ranges. That way, we can express all of the above.

@Madumo Madumo merged commit 8443478 into main Oct 2, 2024
2 checks passed
@Madumo Madumo deleted the feature/new-feature-service branch October 2, 2024 19:49
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