Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Aug 28, 2025

  • Analyze the repository structure and understand sticky date implementation
  • Identify the DayAnimated component as the main floating sticky date component
  • Run tests to ensure current state is working (tests pass)
  • Plan minimal changes approach
  • Add showStickyDate prop to GiftedChatProps interface
  • Add showStickyDate prop to MessageContainerProps interface
  • Update MessageContainer to conditionally render DayAnimated based on showStickyDate prop
  • Create focused tests for the new functionality
  • Verify the changes work correctly
  • Update example/documentation if needed

Plan Summary

Add a showStickyDate?: boolean prop (default: true) to allow disabling the floating sticky date feature. The changes will be minimal and backward-compatible:

  • New optional prop in type interfaces
  • Conditional rendering of DayAnimated component
  • Focused tests to verify functionality

This addresses the user's request to "disable it entirely" while maintaining the existing renderDay prop for customization when sticky dates are enabled.

Fixes #2622.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copy link
Contributor Author

Copilot AI commented Aug 28, 2025

@kesha-antonov 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

Co-authored-by: kesha-antonov <11584712+kesha-antonov@users.noreply.github.com>
@kesha-antonov
Copy link
Collaborator

@copilot merge master and retry make find solution in PR

Copilot AI and others added 2 commits August 28, 2025 22:39
Co-authored-by: kesha-antonov <11584712+kesha-antonov@users.noreply.github.com>
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.

Disabling or customizing the floating sticky date
2 participants