Skip to content

Conversation

@ArtyomSavchenko
Copy link
Member

@ArtyomSavchenko ArtyomSavchenko commented Sep 26, 2025

Before:
Screenshot 2025-09-26 at 11 42 59
After:
Screenshot 2025-09-26 at 13 01 30
Screenshot 2025-09-26 at 13 01 44

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-13784

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 adds support for collapsible display of large messages to improve UI space utilization. When messages exceed a certain height, they are automatically collapsed with a fade effect and can be expanded via "Show more/Show less" buttons.

  • Added collapsible message functionality with configurable max height
  • Implemented automatic height detection and expansion controls
  • Applied collapsible behavior to card feed messages

Reviewed Changes

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

File Description
MessagePresenter.svelte Added collapsible props, height detection logic, and styling for message expansion/collapse
FeedCardPresenter.svelte Enabled collapsible behavior for messages in card feeds

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

ArtyomSavchenko and others added 5 commits September 26, 2025 11:50
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Artyom Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
@ArtyomSavchenko ArtyomSavchenko marked this pull request as ready for review September 26, 2025 05:36
Signed-off-by: Artem Savchenko <armisav@gmail.com>
@kristina-fefelova
Copy link
Member

why aren't you using the existing ShowMore component?

@ArtyomSavchenko ArtyomSavchenko marked this pull request as draft September 26, 2025 05:55
aonnikov
aonnikov previously approved these changes Sep 26, 2025
@ArtyomSavchenko
Copy link
Member Author

ArtyomSavchenko commented Sep 26, 2025

why aren't you using the existing ShowMore component?

Thanks, I've updated the PR

Signed-off-by: Artem Savchenko <armisav@gmail.com>
@ArtyomSavchenko ArtyomSavchenko marked this pull request as ready for review September 26, 2025 06:06
aonnikov
aonnikov previously approved these changes Sep 26, 2025
Signed-off-by: Artem Savchenko <armisav@gmail.com>
@ArtyomSavchenko ArtyomSavchenko merged commit cbe41ed into develop Sep 26, 2025
15 checks passed
@aonnikov aonnikov deleted the big-message branch September 26, 2025 07:21
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.

4 participants