-
Notifications
You must be signed in to change notification settings - Fork 111
Display by default only containers defined with recipe source. #49
Conversation
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
extensions/eclipse-che-theia-terminal/src/node/workspace-service-impl.ts
Show resolved
Hide resolved
extensions/eclipse-che-theia-terminal/src/node/workspace-service-impl.ts
Show resolved
Hide resolved
@AndrienkoAleksandr so it means user don't see anymore theia-ide terminal for example ? |
Yes, you understood correctly.
@benoitf I could apply temporary workaround to display theia container. Is it OK for you? |
@AndrienkoAleksandr or like hitting a special key before clicking on the menu (like macos key CMD on some macOS menus) |
I am not sure that command palette has such feature.
I guess we could save some flags to the workspace attributes. But I talked with @garagatyi about filtering terminal containers. There some tool containers, which should be always hidden, it is no make sense to show them for users. So "all containers" looks not very good for me. @garagatyi , What do you think? |
@AndrienkoAleksandr the Quick Open API doesn't provide it but such behavior can be implemented in a particular implementation - |
@AndrienkoAleksandr I've found that the Quick Open API actually allows to set hidden attr for list items. I've never used it but I guess it might help |
I agree that we shouldn't completelly dissalow user to open a terminal into tooling container. For example Che k8s Plugin provides kubectl tool in its container. And user should be able to use it. |
I see that commands could be not visible, we could try to use this ability too: https://github.com/theia-ide/theia/blob/master/packages/core/src/common/command.ts#L86 |
@AndrienkoAleksandr overall I like double CTRL+P solution. We could add additional filtering by introducing some new label, like |
But it doesn't have to go into this PR |
…lterContainers
…ainer command. Fix terminal creation for container plugin. Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
…lterContainers
@benoitf I handled your feedback about ability create new terminal for tool containers. Take a look screen shot, please. Is it OK for you? |
@AndrienkoAleksandr very nice ! |
Display only containers defined by user(recipe source attribute). Simplify a bit code. In case if user want to create new terminal for tool container - user should use 'New terminal for specific container' command and type
Ctrl +
` shortcut.Referenced issue:
Minimal set terminal improvements
Signed-off-by: Oleksandr Andriienko oandriie@redhat.com