Skip to content

feat: live standups promo strip on the home feed#6069

Merged
idoshamun merged 2 commits into
mainfrom
feat/live-standups-strip
May 18, 2026
Merged

feat: live standups promo strip on the home feed#6069
idoshamun merged 2 commits into
mainfrom
feat/live-standups-strip

Conversation

@idoshamun
Copy link
Copy Markdown
Member

@idoshamun idoshamun commented May 18, 2026

Summary

  • Adds a promotional strip above the home feed that surfaces currently live standups, with a ketchup LIVE badge, the existing bacon STANDUP kicker, host avatar, topic, host + watcher count, and ‹ index/total › pagination.
  • Auto-rotates between rooms (5s hold, 1.2s slide) with a seamless forward-direction wrap-around via a duplicate slot and a no-transition snap-back. Pauses on hover/focus.
  • Gates the network call: boot now carries a liveRooms.hasLive hint and the new useActiveLiveRooms hook (activeLiveRooms GraphQL query) only fires when the hint is true and the consumer didn't pass items.
  • Mobile renders flat: full-width, rounded-b-12 only, 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 on tablet+ where the box keeps the animated conic-gradient border.
  • Hooks up Standups as a toggleable content type in feed settings (TOGGLEABLE_TYPES) and maps PostType.LiveRoom in useFeedContentTypeAction so per-post hide/unhide flows route to the same advanced setting.

Test plan

  • On the home feed with one or more live standups present, verify the strip appears, rotates through rooms, and links each item to /standups/{id}.
  • With no live standups in boot (liveRooms.hasLive: false), confirm the component never renders and the activeLiveRooms query is not fired.
  • Resize from mobile to tablet+: mobile shows two rows with a flat top + bottom shine; tablet+ shows a single row with the rounded animated border.
  • Hover and tab into the strip while it's auto-rotating — auto-advance pauses; leaving / blurring resumes.
  • Click prev from item 1 and next from the last item; verify both transitions go forward (no reverse-scroll on wrap).
  • Toggle Standups under 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: reduce disables the border spin, marquee transition, loading bar, and bottom shine.

Preview domain

https://feat-live-standups-strip.preview.app.daily.dev

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.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview May 18, 2026 0:31am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored May 18, 2026 0:31am

Request Review

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.
@idoshamun idoshamun merged commit 2879495 into main May 18, 2026
12 checks passed
@idoshamun idoshamun deleted the feat/live-standups-strip branch May 18, 2026 12:32
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.

1 participant