Skip to content

Conversation

@CerDennis
Copy link
Contributor

@CerDennis CerDennis commented Jan 28, 2026

This PR improves the responsiveness of the message header display by implementing adaptive layouts based on container width. The changes introduce a useContainerWidth hook to dynamically determine whether to use wide or compact layouts, and updates components to support both modes.

Changes:

Implemented useContainerWidth hook using ResizeObserver to detect container width and toggle between wide/compact layouts
Refactored header components into smaller, focused modules (PreviewHeaderActions, TagsInExpandedHeader)
Added compact view alternatives for contacts and tags with popover-based overflow handling

@CerDennis CerDennis requested a review from Copilot January 28, 2026 13:47
@CerDennis CerDennis self-assigned this Jan 28, 2026

This comment was marked as outdated.

@CerDennis CerDennis requested a review from Copilot January 30, 2026 14:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 20 out of 20 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqube-zextras
Copy link

@CerDennis CerDennis marked this pull request as ready for review January 30, 2026 15:00
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.

2 participants