Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Update: Display product logo as image instead displaying in text #482

Merged
merged 3 commits into from
Oct 14, 2019

Conversation

vitaliy-guliy
Copy link
Contributor

What does this PR do?

Allows to display product logo as image instead displaying it in text.
To customize Che-Theia product JSON file should have two logo images for dark and light theme. If so, logo images will be shown depending on the current theme.
If product JSON will have only one image, it will be not theme dependent.

Screenshot from 2019-10-11 16-30-25

Screenshot from 2019-10-11 16-30-35

What issues does this PR fix or reference?

eclipse-che/che#14845
eclipse-che/che#14110

Signed-off-by: Vitaliy Guliy <vgulyy@redhat.com>
Signed-off-by: Vitaliy Guliy <vgulyy@redhat.com>
Signed-off-by: Vitaliy Guliy <vgulyy@redhat.com>
@che-bot
Copy link
Contributor

che-bot commented Oct 12, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:

Copy link
Contributor

@benoitf benoitf left a comment

Choose a reason for hiding this comment

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

Hello, i think you need to subscribe to themeservice listener as we may change theme without redisplaying about dialog

@vitaliy-guliy
Copy link
Contributor Author

@benoitf in what case?
In welcome plugin it works fine using CSS. We don't have theme plugin API to handle switching the theme.
There is one subscription on changing the theme in About dialog. It works fine.

Copy link
Contributor

@benoitf benoitf left a comment

Choose a reason for hiding this comment

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

Approving as it works as expected 👍

@benoitf
Copy link
Contributor

benoitf commented Oct 14, 2019

@vitaliy-guliy also before merging, a PR to documentation needs to be done for updated changes

@vitaliy-guliy
Copy link
Contributor Author

@benoitf let's merge a document after mergin this PR, as it will use an example for the Code Ready Workspaces, which will use the feature provided by this PR

@vitaliy-guliy
Copy link
Contributor Author

I need @eclipse/che-theia:next container image with this feature

@vitaliy-guliy vitaliy-guliy merged commit ace8524 into master Oct 14, 2019
@vitaliy-guliy vitaliy-guliy deleted the logo-images branch October 14, 2019 09:19
@vitaliy-guliy
Copy link
Contributor Author

Draft PR to che-docs eclipse-che/che-docs#843

vinokurig pushed a commit that referenced this pull request Apr 6, 2021
* updates from CRW 2.2

Change-Id: I777b9353d9634f810598effa51ea88f26983a171
Signed-off-by: nickboldt <nboldt@redhat.com>

* make README and build.sh more generic so it's more closely aligned to devfile reg script and downstream version

Change-Id: Ibb2ae67ac5442e85b9aceba4500b25deb457b9aa
Signed-off-by: nickboldt <nboldt@redhat.com>

* rename build/dockerfiles/content_sets_centos8_appstream.repo to build/dockerfiles/content_sets_centos8.repo and include baseos repo too

Change-Id: Ie2cede8bbf5f9d55089a6e2acd24b8733e1b6003
Signed-off-by: nickboldt <nboldt@redhat.com>

* rename build/dockerfiles/fedora.repo to build/dockerfiles/content_sets_fedora30.repo for consistency/accuracy

Change-Id: I732f8d891bded2400bac635c43dd3b212e7b13cc
Signed-off-by: nickboldt <nboldt@redhat.com>

* updates from CRW 2.2

Change-Id: Ie8df16a14c44a4ccdaedeb02e045a504de18385a
Signed-off-by: nickboldt <nboldt@redhat.com>

* fix broken shellcheck source directive;remove duplicate declaration of SCRIPT_DIR

Change-Id: I12a670025b18ace6a64f1a2a7201160d751bd594
Signed-off-by: nickboldt <nboldt@redhat.com>

* yet more shellcheck fixes

Change-Id: I6ce96afa77d9791b74dd1d638cbcbcf0c23aff1e
Signed-off-by: nickboldt <nboldt@redhat.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants