thunderbird-android icon indicating copy to clipboard operation
thunderbird-android copied to clipboard

Folder name length

Open jbott-tbird opened this issue 2 months ago • 2 comments

Figma

  • Quick win: mid-line truncation

    Always use entire available space for folder names, constrained by icon (left) and counter or chevron (right)

    In case of character overflow:

    Truncate in center, with the following order of characters:

    • Beginning of folder name, except
    • Ellipses: SPACE + 3 dots + SPACE
    • 6 final characters of folder name

    Truncate with ellipses (3 dots) at 6 characters in from the end of the folder name

    Show last 8 characters

    NOTE on usefulness:

    This provides a minor advantage in some cases (cases where a user has multiple very long, similar file names, only differentiated by the final characters)

    However, this should probably be considered a low-impact, low-effort change

    (The two-line folder name already handles this)

  • Longer explorations into increased indentation, or possible nesting or tree views

jbott-tbird avatar Oct 01 '26 14:10 jbott-tbird

Hi, I'd like to take the mid-line truncation quick win in FolderListItem.kt, using a measured prefix + ... + fixed tail and keeping the full name for TalkBack. One question: should the tail be 6 or 8 characters (the spec says both)? Happy to start once assigned.

aakarshitv avatar Oct 03 '26 07:10 aakarshitv

@jbott-tbird - I wasn't able to add the designs to the story above, but here is the reference:

Image

alt-aly-cat avatar Oct 13 '26 21:10 alt-aly-cat