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

support octicon in the quick pick items #5412

Closed
akosyakov opened this issue Jun 10, 2019 · 8 comments
Closed

support octicon in the quick pick items #5412

akosyakov opened this issue Jun 10, 2019 · 8 comments
Assignees
Labels
enhancement issues that are enhancements to current functionality - nice to haves git issues related to git monaco issues related to monaco Team: Che-Editors issues regarding the che-editors team vscode issues related to VSCode compatibility

Comments

@akosyakov
Copy link
Member

akosyakov commented Jun 10, 2019

See #4005 (comment)

I cannot come up with a way to reuse Monaco quick palette for it. It could be we need to implement our own to have the control over it.

It's reproducible with checkout status bar item contributed by vscode git extension.

@akosyakov akosyakov added enhancement issues that are enhancements to current functionality - nice to haves vscode issues related to VSCode compatibility labels Jun 10, 2019
@akosyakov akosyakov added the git issues related to git label Jun 10, 2019
@kittaakos
Copy link
Contributor

New icons were added to Octicon in VS Code: https://code.visualstudio.com/updates/v1_35#_updated-octicons

@benoitf
Copy link
Contributor

benoitf commented Nov 26, 2019

FYI now it's called codicons https://github.com/microsoft/vscode-codicons :-)
microsoft/vscode#82729

@azatsarynnyy azatsarynnyy added the Team: Che-Editors issues regarding the che-editors team label Jan 9, 2020
@RomanNikitenko
Copy link
Contributor

I investigated the issue and found that the octiconLabel.mock is used for rendering icons instead of the real implementation.
If I understand correctly the cause of the problem is the redirection
At the same time the last version of vs code doesn't have such redirection

@akosyakov maybe you know more about this problem, could you confirm or refute my assumptions about it.

I would like to know your opinion about the direction of resolving this problem.
Is it possible to avoid the redirection and use the vs code implementation for rendering instead of the mock?
Or should we consider the providing the own implementation of rendering on theia side?

Thanks in advance!

@akosyakov
Copy link
Member Author

akosyakov commented Jan 14, 2020

Maybe we "just" should upgrade to latest Monaco and it will come with octicons already? Could you check in the monaco playground?

@RomanNikitenko
Copy link
Contributor

I checked for 0.19.2 version of Monaco, codicons work well for command palette: https://youtu.be/Y1PRBSYKtLM

codIcons_monaco

@akosyakov akosyakov added the monaco issues related to monaco label Jan 14, 2020
@akosyakov
Copy link
Member Author

akosyakov commented Jan 14, 2020

We have to migrate then. It is a bit involving, see https://github.com/eclipse-theia/theia/wiki/LSP-and-Monaco-integration#migration-guidelines and last migration PR: #5901.

The plan was to land #6852, switch to VS Code extensions instead of Theia extensions for typescript/node (cc @vince-fugnitto @marcdumais-work ) and automate tests from #5901

@azatsarynnyy
Copy link
Member

... see https://github.com/eclipse-theia/theia/wiki/LSP-and-Monaco-integration#migration-guidelines and last migration PR: #5901

@akosyakov PR: #5901 - am I understand it right that all amount of work in this PR is related to upgrading to a newer version of monaco?

The plan was to land #6852, switch to VS Code extensions instead of Theia extensions for typescript/node (cc @vince-fugnitto @marcdumais-work ) and automate tests from #5901

@akosyakov do you mean that upgrading monaco work shouldn't be started before completing the mentioned plan?

@akosyakov
Copy link
Member Author

@akosyakov PR: #5901 - am I understand it right that all amount of work in this PR is related to upgrading to a newer version of monaco?

It is more. First https://github.com/TypeFox/monaco-languageclient have to be migrated, after that we should update and test Theia. Testing usually is the biggest effort. If you want to start working on monaco-languageclient, I can make you maintainers that you can move faster, see TypeFox/monaco-languageclient#164

@akosyakov do you mean that upgrading monaco work shouldn't be started before completing the mentioned plan?

Upgrading monaco-languageclient is irrelevant to it. Generally I would like to minimize testing effort, but if it is super important we can do manual testing one time more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement issues that are enhancements to current functionality - nice to haves git issues related to git monaco issues related to monaco Team: Che-Editors issues regarding the che-editors team vscode issues related to VSCode compatibility
Projects
None yet
Development

No branches or pull requests

5 participants