Feature/multiline description support#4593
Open
xkello wants to merge 2 commits into
Open
Conversation
Coverage Report for CI Build 29202718672Coverage increased (+0.1%) to 59.128%Details
Uncovered ChangesNo uncovered changes found. Coverage Regressions3 previously-covered lines in 1 file lost coverage.
Coverage Stats
💛 - Coveralls |
📦 Build Artifacts Ready
|
Withalion
reviewed
Jul 17, 2026
Withalion
left a comment
Collaborator
There was a problem hiding this comment.
I'm not 100% sold on this solution as it enables 3 line text for a lot of stuff. Maybe we could expose some property, which would enable long descriptions if necessary. Then enable it for value map/relation editors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Long description values in value map or value relation fields were truncated in the selection dialog, with no way to add line breaks. This forced users to shorten their descriptions to avoid cut-off text.
Ticket: #4502
What changed
In
app/qml/components/MMListDelegate.qml, both the primary and secondaryTextelements now support multi-line wrapping instead of single-line truncation.Text.Wrapwas selected as it seemed the most appropriate of the three wrap methods, since users may usesnake_caseor similar naming conventions in their descriptions.Expected behaviour
Descriptions now support line breaks/wrapping so multi-line text displays properly
List item height expands to accommodate up to 3 lines of text without truncation
Only descriptions exceeding 3 lines get truncated with an ellipsis (...), instead of the previous 1-line limit