-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Support compact display for large messages #9947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
|
Connected to Huly®: UBERF-13784 |
There was a problem hiding this 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.
plugins/communication-resources/src/components/message/MessagePresenter.svelte
Outdated
Show resolved
Hide resolved
plugins/communication-resources/src/components/message/MessagePresenter.svelte
Outdated
Show resolved
Hide resolved
plugins/communication-resources/src/components/message/MessagePresenter.svelte
Outdated
Show resolved
Hide resolved
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
… into big-message
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
|
why aren't you using the existing |
Thanks, I've updated the PR |
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Signed-off-by: Artem Savchenko <armisav@gmail.com>
Before:



After: