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

fix descriptions missing in tree of plugin #10253

Merged
merged 1 commit into from
Oct 28, 2021
Merged

fix descriptions missing in tree of plugin #10253

merged 1 commit into from
Oct 28, 2021

Conversation

shuyaqian
Copy link
Contributor

@shuyaqian shuyaqian commented Oct 12, 2021

Signed-off-by: shuyaqian [email protected]

What it does

  1. fix descriptions missing in tree of plugin
  2. delete unused function: getCaption

How to test

  1. install tree-view-sample
  2. in theia, description of tree node is missing
    image
    in vscode:
    image

Review checklist

Reminder for reviewers

@shuyaqian shuyaqian changed the title fix descriptions missing in tree fix descriptions missing in tree of plugin Oct 12, 2021
@colin-grant-work colin-grant-work self-requested a review October 12, 2021 14:50
@colin-grant-work
Copy link
Contributor

I confirm that this allows descriptions in tree views to show. I also confirm that the getCaption function was not being used by code within the framework and that the behavior that it implemented - creating links from markdown-styled text in labels - is not consistent with VSCode's behavior. @tsmaeder, it looks like that behavior was implemented by a Red Hat developer - do you know if it's something you guys are using / rely on?

@vince-fugnitto vince-fugnitto added plug-in system issues related to the plug-in system tree issues related to the tree (ex: tree widget) vscode issues related to VSCode compatibility labels Oct 15, 2021
@RomanNikitenko
Copy link
Contributor

RomanNikitenko commented Oct 18, 2021

I confirm that this allows descriptions in tree views to show. I also confirm that the getCaption function was not being used by code within the framework and that the behavior that it implemented - creating links from markdown-styled text in labels - is not consistent with VSCode's behavior. @tsmaeder, it looks like that behavior was implemented by a Red Hat developer - do you know if it's something you guys are using / rely on?

I think the behaviour was introduced within 27c0050, so it would be helpful if @vitaliy-guliy could take a look

@vitaliy-guliy
could you review the changes

Copy link
Contributor

@colin-grant-work colin-grant-work left a comment

Choose a reason for hiding this comment

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

The changes are reasonable and fix the stated problem. Unless @vitaliy-guliy objects, I'll plan to merge at the end of the week.

@colin-grant-work
Copy link
Contributor

@shuyaqian, would you mind adding a brief breaking change notice in the changelog about removing the getCaption method? Then this should be good to go.

@shuyaqian
Copy link
Contributor Author

@shuyaqian, would you mind adding a brief breaking change notice in the changelog about removing the getCaption method? Then this should be good to go.

Done.

Copy link
Contributor

@RomanNikitenko RomanNikitenko left a comment

Choose a reason for hiding this comment

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

@shuyaqian
thanks for the fix!

@colin-grant-work @vince-fugnitto
thank you very much for the heads-up and time to check if the changes don't break our assembly!

@colin-grant-work colin-grant-work merged commit 0739bd8 into eclipse-theia:master Oct 28, 2021
@vince-fugnitto vince-fugnitto added this to the 1.19.0 milestone Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plug-in system issues related to the plug-in system tree issues related to the tree (ex: tree widget) vscode issues related to VSCode compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants