Skip to content

Show Cloud organizers contextual feature tips in the event sidebar - #1540

Merged
daveearley merged 1 commit into
developfrom
feature/feature-tips
Dec 1, 2026
Merged

daveearley merged 1 commit into
developfrom
feature/feature-tips

Conversation

@daveearley

Copy link
Copy Markdown
Contributor

What this does

Hi.Events Cloud now shows organizers the occasional tip in the event sidebar about a feature that fits what they're doing right now. A lot of what we've shipped this year is hard to find, and a tip that turns up when it's useful ("Early Bird is 92% sold. Turn on the waitlist") gets clicked far more than a generic tip of the day.

Self-hosted installs never see tips: the API returns nothing outside SaaS mode, and the frontend doesn't ask.

How it behaves

  • One tip at a time, in a quiet card pinned to the bottom of the event sidebar. On short screens it drops the illustration; on mobile it stays in normal flow.
  • Only on live events with a date still to come (drafts already have the setup checklist), only for members with edit access who can act on it, and never while a superadmin is impersonating.
  • The server picks the tip: the first one in priority order whose condition fits the event and that this user hasn't seen.
  • Clicking × or the tip's link marks that tip as seen for the user across every event, then pauses all tips for 3 days. After a dismissal there's a "Turn off tips" link, and Profile has a matching "Feature tips" switch (Cloud only).
  • If the organizer uses the feature some other way while a tip is showing, the tip hides on the next page change instead of swapping in a new one.

The tips, in priority order

Tip Shows when
Waitlist A ticket without a waitlist is 80%+ sold (or a date is filling up). Opens that ticket's edit drawer on its Waitlist setting
Check-in list The event starts within 7 days, has attendees, and only has the default check-in list
Reminder email The event is 2 to 14 days away, has sales, no messages yet, and the account can send messages
Transfers and resale Neither is on and the event has sales (needs refund permission)
Audience Audience is enabled for the account, the organizer has 2+ published events and hasn't opened Audience (needs organizer access)
Embeds The organizer has no widgets
Tracking links The event has sales and no affiliates
Hidden tickets The event has promo codes but no promo-code-only ticket
Sequential tier release A tiered ticket has 2+ tiers without sequential release
Add-ons The event has tickets and no add-ons

The copy has a bit of personality ("Psst. Secret tickets.", "Plans change. Tickets can too.") and uses each event's real numbers. Each tip reuses an illustration from the empty-state set.

API and data

  • New session-only routes (API keys can't reach them): GET /events/{event_id}/feature-tip and POST /feature-tips/{tip}/dismiss.
  • PUT /users/me accepts an optional show_feature_tips, and the user resource returns show_feature_tips. Both additive.
  • Migrations: a feature_tip_dismissals table plus users.feature_tips_hidden_at, and an index on messages.event_id, built concurrently so the table isn't locked.
  • A lookup is about 6ms and 11 small queries; during the 3-day pause it's 2 queries. The browser caches the result per event for 10 minutes.

Testing

  • Unit tests for every tip's conditions, permissions and edge cases (FeatureTipSelectionServiceTest).
  • Feature tests for the endpoints: SaaS-only, drafts, finished events, viewers, other accounts, dismissal pause, unknown tips, and the profile switch (FeatureTipsTest).
  • E2E (feature-tips.spec.ts): dismiss then turn off, open the feature, the tip hiding after the feature is used elsewhere, the waitlist link opening the right ticket, and no tips on self-hosted.
  • Translated into every supported language.

One tip at a time, picked by the server from the event's state: waitlist,
check-in lists, reminder emails, transfers and resale, Audience, embeds,
tracking links, hidden tickets, sequential tiers and add-ons. Cloud only,
live events only, and only for members who can act on the tip. Dismissing
or opening a tip pauses tips for three days, and tips can be turned off
from the card or the profile.
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

✅ E2E smoke tests: Everything passed.

Mode Result ✅ Passed ❌ Failed ⚠️ Flaky ⏭️ Skipped ⏱️ Duration
Self-hosted ✅ Passed 129 0 0 0 5m 5s

Open the run

@daveearley
daveearley merged commit 362902b into develop Dec 1, 2026
11 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant