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: remove archive tooltip conditionally #8702

Merged
merged 4 commits into from
Nov 8, 2024
Merged

Conversation

sjaanus
Copy link
Contributor

@sjaanus sjaanus commented Nov 8, 2024

The archived functionality has been moved into the feature list, and we are showing a tooltip. However, it doesn’t make sense to display it to new customers, as they wouldn’t be familiar with the previous behavior.

I've introduced a "new/old user" classification, where I’m setting 08.11.2024 as the dividing line. All customers created after 08.11.2024 will be considered new, and we won’t display the tooltip for them. Everyone else will be treated as old customers.

This approach means there will be a brief period from 08.11.2024 until the release date where any customers created during this time will be categorized as new, even if they still have access to the old archive. For simplicity, I’m willing to accept this risk, as it's likely that in 95% of cases, for those few customers (0–10), they won’t need the archive functionality immediately, so it’s acceptable not to display the tooltip for them.

This setup is temporary in our code base and will be removed with a feature flag.

Copy link

vercel bot commented Nov 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 1:29pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Nov 8, 2024 1:29pm

Copy link
Contributor

github-actions bot commented Nov 8, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@sjaanus sjaanus merged commit da805f2 into main Nov 8, 2024
8 of 11 checks passed
@sjaanus sjaanus deleted the old-customer-display branch November 8, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants