Skip to content

feat: add /highlights page with channel navigation#5857

Draft
idoshamun wants to merge 5 commits intomainfrom
feat/highlights-page
Draft

feat: add /highlights page with channel navigation#5857
idoshamun wants to merge 5 commits intomainfrom
feat/highlights-page

Conversation

@idoshamun
Copy link
Copy Markdown
Member

@idoshamun idoshamun commented Apr 13, 2026

Summary

  • Add dedicated /highlights page with "Happening Now" header and channel tab navigation
  • Dynamic /highlights/[channel] subpages with ISR (revalidate: 60s)
  • Collapsible highlight items showing headline + TLDR with "Read more" link
  • Highlight cards in the feed now link directly to the highlights page with deep-linking (?highlight=id)
  • Swipeable tab navigation (generic TabContainer feature via swipeable prop)
  • Shallow routing for smooth tab transitions (shallow prop on TabContainer)
  • Remove HighlightPostModal and all related modal infrastructure (7 files deleted, ~1000 lines removed)

Test plan

  • Navigate to /highlights — verify Headlines tab loads with major highlights
  • Switch tabs — verify channel highlights load, URL updates, swipe works
  • Click a highlight in the feed card — verify it navigates to /highlights?highlight=id with that item expanded
  • Verify the page works on mobile (footer nav, swipe between tabs)
  • Verify highlight cards in the feed still render correctly without the modal

Preview domain

https://feat-highlights-page.preview.app.daily.dev

Add a dedicated /highlights page with channel tab navigation, replacing
the inline highlight modal. Each highlight is collapsible (title + TLDR)
and links back to the post. Highlight cards in the feed now link directly
to the highlights page with deep-linking support via query params.

- New /highlights page with ISR and SEO
- Dynamic /highlights/[channel] subpages per channel
- Tab navigation with swipe support (generic TabContainer feature)
- Shallow routing for smooth tab transitions
- Remove HighlightPostModal and all related infrastructure
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 13, 2026

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

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview Apr 13, 2026 9:06pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored Apr 13, 2026 9:06pm

Request Review

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