Folder name length
-
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
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.
@jbott-tbird - I wasn't able to add the designs to the story above, but here is the reference: