Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title: Display Ellipses when content not displayed fully #6939

Merged
merged 1 commit into from
Jan 24, 2020

Conversation

Anasshahidd21
Copy link
Contributor

What it does

Fixes: #6711

When the width of the navigator is reduced and the content cannot be displayed completely, then the file name should show ellipses, which currently is not displayed. Fixing one of the css property, fixed the issue.

How to test

  • Create a new folder or a file, try to contract the size of the navigator and test to see if the name of the file/folder displays ellipses or not.

Review checklist

Reminder for reviewers

Signed-off-by: Muhammad Anas Shahid muhammad.shahid@ericsson.com

@akosyakov akosyakov added the navigator issues related to the navigator/explorer label Jan 22, 2020
@akosyakov
Copy link
Member

@vince-fugnitto all trees should be reviewed

@akosyakov akosyakov added the tree issues related to the tree (ex: tree widget) label Jan 22, 2020
@vince-fugnitto
Copy link
Member

vince-fugnitto commented Jan 22, 2020

@Anasshahidd21 can you squash your changes to a single commit preserving the appropriate commit message?

Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

@Anasshahidd21 do you think you can handle the tree-view contributed by plugins in this pull request as well? If you rebase this pull request against master you should pick up #6883 which adds some builtin VS Code extensions (like npm)

@vince-fugnitto
Copy link
Member

@Anasshahidd21 ping when you're ready for another review :)

@Anasshahidd21 Anasshahidd21 force-pushed the anas/6711 branch 2 times, most recently from 4533978 to cf973bf Compare January 23, 2020 16:46
Fixes: eclipse-theia#6711.
When the width of the navigator is reduced and the content cannot be displayed completely, then the file name should show ellipses, which currently is not displayed. Fixing one of the css property, fixed the issue.

Signed-off-by: Muhammad Anas Shahid <muhammad.shahid@ericsson.com>
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

It works well for both the explorer and tree-views contributed by plugins 👍

@akosyakov
Copy link
Member

please merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
navigator issues related to the navigator/explorer tree issues related to the tree (ex: tree widget)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[tree] display ellipsis when content cannot be displayed fully
4 participants