Skip to content

Conversation

@ArtyomSavchenko
Copy link
Member

@ArtyomSavchenko ArtyomSavchenko commented Sep 26, 2025

Before:
Screenshot 2025-09-26 at 17 28 37
After:
Screenshot 2025-09-26 at 17 49 16

Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
@huly-github-staging
Copy link

Connected to Huly®: UBERF-13788

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

This PR fixes overflow issues with threads and attachments in large messages by relocating the ShowMore component from the message presenter level to the content viewer level for more precise control over content expansion.

  • Moved ShowMore component from MessagePresenter to MessageContentViewer for targeted content overflow handling
  • Added collapsible and maxHeight props to enable fine-grained control over message expansion behavior
  • Enhanced styling to properly position ShowMore controls within message containers

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
MessagePresenter.svelte Removed ShowMore wrapper and passed through collapsible/maxHeight props
MessageContentViewer.svelte Added ShowMore component around content with configurable parameters
MessageBody.svelte Added props for collapsible behavior and styling for ShowMore positioning
ShowMore.svelte Converted bigger from internal state to exportable prop for external binding

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Signed-off-by: Artem Savchenko <armisav@gmail.com>
@ArtyomSavchenko ArtyomSavchenko marked this pull request as ready for review September 26, 2025 10:50
@ArtyomSavchenko ArtyomSavchenko merged commit 8a7f78c into develop Sep 26, 2025
15 checks passed
@BykhovDenis BykhovDenis deleted the big-message-layout branch September 26, 2025 17:14
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.

3 participants