feat: live standups promo strip on the home feed#6069
Merged
Conversation
Adds a compact promotional strip that surfaces currently live standups above the home feed. Uses a boot hint (`liveRooms.hasLive`) to avoid an extra round-trip when no rooms are live, then fetches the active set via a new `activeLiveRooms` query. Rotates through rooms with a stop-and-go ticker, pauses on hover/focus, and renders a flat bottom-shine variant on mobile.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Adds ImpressionStandupsStrip (once when the strip renders with live rooms) and ClickStandupsStrip (per item navigation, with target_id set to the room id). Both carry surface='home_strip' to disambiguate from the page-level ViewStandup event already fired by the standup page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
LIVEbadge, the existing baconSTANDUPkicker, host avatar, topic, host + watcher count, and‹ index/total ›pagination.liveRooms.hasLivehint and the newuseActiveLiveRoomshook (activeLiveRoomsGraphQL query) only fires when the hint is true and the consumer didn't passitems.rounded-b-12only, no border around the box, with a gently pulsing bacon shine glued to the bottom edge. Two rows on mobile (badge + kicker, then carousel + pagination), single row ontablet+where the box keeps the animated conic-gradient border.TOGGLEABLE_TYPES) and mapsPostType.LiveRoominuseFeedContentTypeActionso per-post hide/unhide flows route to the same advanced setting.Test plan
/standups/{id}.liveRooms.hasLive: false), confirm the component never renders and theactiveLiveRoomsquery is not fired.Standupsunder Feed settings → Content preferences and confirm the advanced setting updates; hide a live-room post and confirm the toast/action references "Standups".prefers-reduced-motion: reducedisables the border spin, marquee transition, loading bar, and bottom shine.Preview domain
https://feat-live-standups-strip.preview.app.daily.dev