LearnNewsExamplesServices
Frontmatter
id8508
titleImplement Text Truncation for Portal TreeList
stateClosed
labels
enhancementdesignai
assigneestobiu
createdAtJan 10, 2026, 5:16 PM
updatedAtJan 10, 2026, 5:26 PM
githubUrlhttps://github.com/neomjs/neo/issues/8508
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 10, 2026, 5:26 PM

Implement Text Truncation for Portal TreeList

Closed v11.20.0 enhancementdesignai
tobiu
tobiu commented on Jan 10, 2026, 5:16 PM

Implement CSS text truncation for TreeList items in the Portal app. The calculated titles (e.g., ID + Date) can exceed the sidebar width. We need to apply text-overflow: ellipsis, overflow: hidden, and white-space: nowrap to the item content. Target file: resources/scss/src/apps/portal/shared/content/TreeList.scss. Focus on leaf nodes, but ensure folders also handle overflow gracefully if possible.

tobiu added the enhancement label on Jan 10, 2026, 5:16 PM
tobiu added the design label on Jan 10, 2026, 5:16 PM
tobiu added the ai label on Jan 10, 2026, 5:16 PM
tobiu referenced in commit bfb57d2 - "enhancement: Add text truncation and right padding to Portal TreeList items (#8508)" on Jan 10, 2026, 5:25 PM
tobiu assigned to @tobiu on Jan 10, 2026, 5:26 PM
tobiu
tobiu Jan 10, 2026, 5:26 PM

Input from Gemini 3 Pro:

✦ I have implemented the CSS text truncation for TreeList items by adding flex: 1, overflow: hidden, text-overflow: ellipsis, and white-space: nowrap to .neo-list-item-content. I also added 3px right padding to nested list items to ensure text doesn't hit the edge visually. The changes were applied to resources/scss/src/apps/portal/shared/content/TreeList.scss.

tobiu closed this issue on Jan 10, 2026, 5:26 PM