-
Notifications
You must be signed in to change notification settings - Fork 111
Conversation
Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
Signed-off-by: Vitaliy Guliy <vgulyy@redhat.com>
Signed-off-by: Vitaliy Guliy <vgulyy@redhat.com>
@benoitf I updated |
} | ||
|
||
.che-welcome-command-desc { | ||
display: flex; | ||
} | ||
|
||
.che-welcome-command-desc .monaco-keybinding { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hello, why these margins are gone ? (and for cheico logo) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style is not used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't found it in HTML, so I removed
it's not clear to me how override is done ? I was thinking that customization could have been done through custom plug-in providing these entries as we have dynamic extensibility and plug-ins can require other plug-ins or ask them. |
You don't need to rebuild the plugin. You can just edit |
I still did nothing with about dialog. But wanted to go with the same way as welcome plugin. |
Thinking again on the branding:
If branding is done at compile time, then about/extension can use a branding.json file and we can provide on |
Ok. Let's implement it step-by-step:
wdyt? |
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
we can't use vscode namespace except for all other fields need to be part of che namespace I would stick with camelCase to match VS Code What's the difference between icon and logo ? what is the description ? |
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
@benoitf I'm not sure I understand you correctly. I see that there is Variables plugin API https://github.com/eclipse/che-theia/blob/master/extensions/eclipse-che-theia-plugin/src/che-proposed.d.ts#L61 Do we need extra service for branding? We can just describe variables for Che Theia about dialog and for Welcome plugin. For About dialog we have to provide:
For Welcome plugin we have to provide:
|
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
Hello, I think we don't need dialog title (can be product title)
and we need product description + links |
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:
|
Signed-off-by: Vitaliy Guliy <vgulyy@redhat.com>
extensions/eclipse-che-theia-about/src/browser/about-che-theia-dialog.ts
Show resolved
Hide resolved
could you provide screenshot of About dialog in light theme ? |
extensions/eclipse-che-theia-plugin-ext/src/resource/product.json
Outdated
Show resolved
Hide resolved
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
@benoitf defaults with light theme |
Signed-off-by: Vitaliy Guliy <vgulyy@redhat.com>
Signed-off-by: Vitaliy Guliy <vgulyy@redhat.com>
// Temporary solution. | ||
// We should wait for some time until proxy is being fully initialized. | ||
setTimeout(() => { | ||
this.proxy.$setName(this.productInfo.name); | ||
this.proxy.$setLogo(this.productInfo.logo); | ||
this.proxy.$setDescription(this.productInfo.description); | ||
this.proxy.$setLinks(this.productInfo.links); | ||
}, 500); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the expected proper solution ? it looks something that is not working when we're using timeout
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still don't get it there and why we have setTimeout as it'll mostly fail.
we have async everywhere so it should either be async or deleted/reworked
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Main part should send values to the plugin. In our plugin system main part is initialized earlier than plugin part. So, if we send the values immediately, nobody receive it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
che.product
plugin API has only variables. They have to be initialized somehow before using.
We cannot use asynchronous method as you requested to use synchronous variables.
Cannot approve due to setTimeout but no longer request changes
Signed-off-by: Vitaliy Guliy <vgulyy@redhat.com>
@benoitf No more timeout and setters. |
E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:
|
where should the logo be located ? next to the product.json ? |
@sunix |
This PR has been checked locally. The new regressions was not defined. |
Awesome ! you have to mention that in the doc |
@sunix sure |
Revert the previous fix for eclipse-che/che#16728, and add a new 1.33.0a plugin to the registry with the correct node-debug dependency specified. Signed-off-by: Eric Williams <ericwill@redhat.com>
What does this PR do?
Makes it possible to brand your Theia IDE to be consistent with your product.
Product name, logo, description and helpful links were extracted to external
product.json
JSON file.Default product.json has been placed in
che-theia/extensions/eclipse-che-theia-plugin-ext/src/resource/
directory:The following screenshots shows how Theia looks with this file.
You can customize Che Theia in two steps:
PRODUCT_JSON
environment variable with path to this JSON fileSample of
product.json
file.Result
After changing theme to white
What issues does this PR fix or reference?
eclipse-che/che#14110