Skip to content

fix: show the full description of space permissions - #4976

Open
retransmit wants to merge 2 commits into
owncloud:masterfrom
retransmit:fix/space_permissions_description
Open

fix: show the full description of space permissions#4976
retransmit wants to merge 2 commits into
owncloud:masterfrom
retransmit:fix/space_permissions_description

Conversation

@retransmit

@retransmit retransmit commented Sep 10, 2026

Copy link
Copy Markdown

Related Issues

App: #4968

  • Add changelog files for the fixed issues in folder changelog/unreleased. More info here
  • Add feature to Release Notes in ReleaseNotesViewModel.kt creating a new ReleaseNote() with String resources (if required) -> not required for this fix

Description

The role description in the space member permissions list was capped at two lines with ellipsize="middle". Android only applies a middle ellipsis to single-line text, so the third line of longer descriptions such as "Can manage" was silently hidden.

The description now has room for four lines and uses ellipsize="end", which Android does apply to multi-line text, so anything longer is visibly truncated instead of hidden.

QA

Before / after renderings of the three roles at 360dp on an Android 15 emulator attached below.

@retransmit
retransmit requested a review from a team as a code owner September 10, 2026 14:15
@CLAassistant

CLAassistant commented Sep 10, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@retransmit
retransmit force-pushed the fix/space_permissions_description branch 2 times, most recently from a823364 to b49c29d Compare September 10, 2026 18:48
@joragua joragua linked an issue Sep 11, 2026 that may be closed by this pull request
@joragua

joragua commented Sep 11, 2026

Copy link
Copy Markdown
Member

Hi @retransmit! Thanks for opening this PR! 🙌🏻

I will take of the CR as soon as possible. Stay tuned!

@joragua joragua left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good job @retransmit! 💯 Some comments here about the code:

NOTE: We usually have one commit for the calens entry with the message chore: add calens file. In this PR, you've included the changelog info in the fix commit. Could you split it into two separate commits? Thanks in advance!

Comment thread owncloudApp/src/main/res/layout/role_item.xml Outdated
The description of a role in the space member permissions list was
capped at two lines with a middle ellipsis. Android only applies a
middle ellipsis to single-line text, so longer descriptions such as the
one for "Can manage" were silently cut after the second line.

The description now has room for four lines and uses an end ellipsis,
which Android does apply to multi-line text, so anything longer is
visibly truncated instead of hidden.

Signed-off-by: Lennox <parththale02@gmail.com>
Signed-off-by: Lennox <parththale02@gmail.com>
@retransmit
retransmit force-pushed the fix/space_permissions_description branch from b49c29d to 5edea00 Compare September 11, 2026 12:18
@retransmit

Copy link
Copy Markdown
Author

Addressed all three points: history is now a fix: commit plus a chore: add calens file commit, the instrumented test is removed, and the description is capped at four lines with an end ellipsis.

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.

[BUG] Incomplete description in space permissions

3 participants