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

Refactor Welcome plugin #1155

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

vitaliy-guliy
Copy link
Contributor

Signed-off-by: Vitaliy Gulyy vgulyy@redhat.com

What does this PR do?

Improves Welcome plugin.
Adds checkbox to the welcome page to avoid opening the welcome page at the workspace stratup.

Screenshot/screencast of this PR

What issues does this PR fix or reference?

How to test this PR?

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

Happy Path Channel

HAPPY_PATH_CHANNEL=next

Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
@codecov
Copy link

codecov bot commented Jun 25, 2021

Codecov Report

Merging #1155 (524ff4c) into main (c299f59) will decrease coverage by 0.17%.
The diff coverage is 4.31%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1155      +/-   ##
==========================================
- Coverage   32.78%   32.61%   -0.18%     
==========================================
  Files         290      293       +3     
  Lines        9885     9941      +56     
  Branches     1457     1469      +12     
==========================================
+ Hits         3241     3242       +1     
- Misses       6641     6696      +55     
  Partials        3        3              
Impacted Files Coverage Δ
plugins/welcome-plugin/src/commands.ts 0.00% <0.00%> (ø)
plugins/welcome-plugin/src/devfile.ts 0.00% <0.00%> (ø)
plugins/welcome-plugin/src/readme.ts 0.00% <0.00%> (ø)
plugins/welcome-plugin/src/welcome-panel.ts 0.00% <0.00%> (ø)
plugins/welcome-plugin/src/welcome-plugin.ts 0.00% <0.00%> (ø)
...ations-plugin/src/plugin/recommendations-plugin.ts 100.00% <100.00%> (ø)
...ns-plugin/src/strategy/featured-plugin-strategy.ts 100.00% <100.00%> (ø)
plugins/workspace-plugin/src/ssh.ts 30.00% <100.00%> (ø)
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7d9b311...524ff4c. Read the comment docs.

@che-bot
Copy link
Contributor

che-bot commented Jun 25, 2021

❌ E2E Happy path tests failed ❗

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia quay.io/crw_pr/che-theia:1155
che-theia-endpoint-runtime-binary quay.io/crw_pr/che-theia-endpoint-runtime-binary:1155

Test product:

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe


export async function isMultiroot(): Promise<boolean> {
const devfile = await che.devfile.get();
return devfile.metadata?.attributes?.multiRoot !== 'off';
Copy link
Contributor

Choose a reason for hiding this comment

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

I see Multi-root is the only mode in Che-Theia in #1191 ...

"name": "@eclipse-che/ports-plugin",
"publisher": "Eclipse Che",
"name": "ports-plugin",
"publisher": "@eclipse-che",
Copy link
Contributor

Choose a reason for hiding this comment

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

Does It is a breaking change for the plugin which provided by other developer

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