Skip to content

Add more nuanced premium perk ineligible tooltips #11342

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexbluo
Copy link
Contributor

different tooltips depending on reason org is ineligible for premium (manager perms, hq-affil, teen tag, matus)

@alexbluo alexbluo requested review from a team as code owners August 18, 2025 02:00
<% if (!@perks_available || [email protected]_by_teenagers? || @event.users.count { |user| user.teenager? && user.active? } < 10) %>
<div class="tooltipped tooltipped--w inline-block" aria-label="Must have at least 10 active teenagers">
<% if !@perks_available %>
<div class="tooltipped tooltipped--w inline-block" aria-label="User must be manager and org must not be HQ-affiliated">
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<div class="tooltipped tooltipped--w inline-block" aria-label="User must be manager and org must not be HQ-affiliated">
<div class="tooltipped tooltipped--w inline-block" aria-label="User must be manager and organization must not be HQ-affiliated">

Also - we should split these into two scenarios. "HQ-affiliated" isn't something every user will be familiar with.

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