Theia: tree-view: update styling when the tree row content cannot be fully displayed

Created on 12 Feb 2020  路  6Comments  路  Source: eclipse-theia/theia

Description

The styling of tree-view components (ex: 'npm scripts') should be updated so we are consistent with the rest of the application.

Namely, when a tree-view row's content cannot be fully displayed, the row should display ellipsis like other trees in the application. At the moment, the styling is inconsistent:

Screen Shot 2020-02-12 at 11 05 02 AM

Additional Information

Related Pull-Requests:

help wanted plug-in system uux vscode

All 6 comments

Hi @vince-fugnitto.

I don't see this issue in Gitpod. I've taken a screenshot showing the ellipsis being applied.
Notably the spanner icon for npm scripts is also different.

Hi @vince-fugnitto.

I don't see this issue in Gitpod. I've taken a screenshot showing the ellipsis being applied.
Notably the spanner icon for npm scripts is also different.

Hi @garethwhittaker, in your screenshot, are you displaying Gitpod itself or simply using Gitpod to open Theia? If it鈥檚 the former, it鈥檚 possible that Gitpod is using an older version of Theia that does not have this regression.

@garethwhittaker I've verified again with master:

Screen Shot 2020-02-15 at 10 23 25 AM

The fix was initially present as part of #6939 but due to other issues it was reverted as part of #7124. #7124 fixed some problems with how other plugin views were displayed at the expense that rows present in tree-views did not successfully display ellipsis when their content could not be displayed entirely.

Yes you're right @vince-fugnitto. Whilst the issue doesn't appear in Gitpod, it does when using Gitpod to view latest Theia.

I can take a look at resolving this regression and provide an update in the next week.

I can take a look at resolving this regression and provide an update in the next week.

Sure! That'd be great, please keep #7124 in mind during your updates, other plugin views (such as gitlens) should be displayed correctly as well.

Closed by #7237

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jeanlucburot picture jeanlucburot  路  3Comments

tetchel picture tetchel  路  3Comments

tetchel picture tetchel  路  3Comments

vinokurig picture vinokurig  路  3Comments

cekvenich picture cekvenich  路  3Comments