Skip to content

Conversation

@rebelchris
Copy link
Contributor

@rebelchris rebelchris commented Jan 14, 2026

On mobile, there are two NewComment components rendered:

  1. From PostEngagements in the post content area
  2. From FooterWrapper in the mobile footer (tablet:hidden)

The footer component was missing the shouldHandleCommentQuery prop, which prevented it from handling the ?comment= query parameter on mobile. Desktop worked because it only uses the PostEngagements version which has the prop.

This fix adds shouldHandleCommentQuery to the footer's NewComment so notifications with pre-filled comment text work correctly on mobile.

Fixes #5296

Generated with Claude Code) | View job run | [Branch](https://github.com/dailydotdev/apps/tree/claude/issue-5296-20260114-0723

Preview domain

https://claude-issue-5296-20260114-0723.preview.app.daily.dev

…y to footer

On mobile, there are two NewComment components rendered:
1. From PostEngagements in the post content area
2. From FooterWrapper in the mobile footer (tablet:hidden)

The footer component was missing the shouldHandleCommentQuery prop,
which prevented it from handling the ?comment= query parameter on mobile.
Desktop worked because it only uses the PostEngagements version which
has the prop.

This fix adds shouldHandleCommentQuery to the footer's NewComment so
notifications with pre-filled comment text work correctly on mobile.

Fixes #5296

Co-authored-by: Chris Bongers <rebelchris@users.noreply.github.com>
@rebelchris rebelchris requested a review from a team as a code owner January 14, 2026 07:57
@vercel
Copy link

vercel bot commented Jan 14, 2026

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

Project Deployment Review Updated (UTC)
daily-webapp Ready Ready Preview Jan 14, 2026 8:01am
1 Skipped Deployment
Project Deployment Review Updated (UTC)
storybook Ignored Ignored Jan 14, 2026 8:01am

@rebelchris rebelchris merged commit 8b6fd32 into main Jan 14, 2026
11 checks passed
@rebelchris rebelchris deleted the claude/issue-5296-20260114-0723 branch January 14, 2026 08:04
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.

Mobile comment pre-fill not working

2 participants