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

Add ability to open cluster web console from Dashboard #378

Merged
merged 8 commits into from
Oct 25, 2021
Merged

Conversation

akurinnoy
Copy link
Contributor

What does this PR do?

This PR adds an application launcher into the page masthead. As for now, app launcher contains one item that allows users to open the cluster Web UI page.

What issues does this PR fix or reference?

resolves eclipse-che/che#20106

Is it tested? How?

Release Notes

Docs PR

@openshift-ci
Copy link

openshift-ci bot commented Oct 8, 2021

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@codecov
Copy link

codecov bot commented Oct 8, 2021

Codecov Report

Merging #378 (ef9b1b4) into main (b6943a2) will increase coverage by 0.10%.
The diff coverage is 72.76%.

❗ Current head ef9b1b4 differs from pull request most recent head 9e77b85. Consider uploading reports for the commit 9e77b85 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main     #378      +/-   ##
==========================================
+ Coverage   48.99%   49.10%   +0.10%     
==========================================
  Files         194      201       +7     
  Lines        6643     6765     +122     
  Branches     1065     1089      +24     
==========================================
+ Hits         3255     3322      +67     
- Misses       3078     3126      +48     
- Partials      310      317       +7     
Impacted Files Coverage Δ
packages/dashboard-backend/src/api/clusterInfo.ts 0.00% <0.00%> (ø)
...ackages/dashboard-backend/src/constants/schemas.ts 0.00% <0.00%> (ø)
...d/src/devworkspace-client/services/cluster-info.ts 0.00% <0.00%> (ø)
...ges/dashboard-frontend/src/Layout/Header/index.tsx 66.66% <ø> (-2.09%) ⬇️
...ard-frontend/src/services/bootstrap/PreloadData.ts 0.00% <0.00%> (ø)
packages/dashboard-frontend/src/store/helpers.ts 100.00% <ø> (ø)
packages/dashboard-frontend/src/store/index.ts 0.00% <0.00%> (ø)
...rontend/src/Layout/Header/Tools/UserMenu/index.tsx 66.66% <66.66%> (ø)
...ontend/src/Layout/Header/Tools/AboutMenu/index.tsx 74.28% <74.28%> (ø)
...shboard-frontend/src/Layout/Header/Tools/index.tsx 87.50% <80.00%> (+15.23%) ⬆️
... and 32 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 b6943a2...9e77b85. Read the comment docs.

@github-actions
Copy link

github-actions bot commented Oct 8, 2021

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-378

@che-bot
Copy link
Contributor

che-bot commented Oct 8, 2021

✅ E2E dashboard tests succeed 🎉

See Details

Test product:

  • Use comment "[dashboard-ci-test]" to rerun the dashboard e2e tests

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

@sleshchenko sleshchenko changed the title chore(fronend): refactor HeaderTools component chore(frontend): refactor HeaderTools component Oct 11, 2021
@sleshchenko
Copy link
Member

Tested with eclipse-che/che-operator#1132 and it seems to work.
Probably we need avoid using RedHat in upstream and then override it on the downstream side.
The upstream way is under discussion, it may be just Applications or Related Applications
Screenshot_20211011_180102

@github-actions
Copy link

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-378

@che-bot
Copy link
Contributor

che-bot commented Oct 12, 2021

✅ E2E dashboard tests succeed 🎉

See Details

Test product:

  • Use comment "[dashboard-ci-test]" to rerun the dashboard e2e tests

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

@akurinnoy akurinnoy changed the title chore(frontend): refactor HeaderTools component Add ability to open cluster web console from Dashboard Oct 12, 2021
@akurinnoy akurinnoy marked this pull request as ready for review October 12, 2021 14:56
@github-actions
Copy link

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-378

@che-bot
Copy link
Contributor

che-bot commented Oct 19, 2021

✅ E2E dashboard tests succeed 🎉

See Details

Test product:

  • Use comment "[dashboard-ci-test]" to rerun the dashboard e2e tests

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

@github-actions
Copy link

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-378

1 similar comment
@github-actions
Copy link

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-378

@che-bot
Copy link
Contributor

che-bot commented Oct 20, 2021

✅ E2E dashboard tests succeed 🎉

See Details

Test product:

  • Use comment "[dashboard-ci-test]" to rerun the dashboard e2e tests

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

@github-actions
Copy link

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-378

@che-bot
Copy link
Contributor

che-bot commented Oct 20, 2021

✅ E2E dashboard tests succeed 🎉

See Details

Test product:

  • Use comment "[dashboard-ci-test]" to rerun the dashboard e2e tests

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

@sleshchenko sleshchenko modified the milestones: 7.39, 7.36 Oct 20, 2021
@github-actions
Copy link

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-378

@github-actions
Copy link

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-378

@olexii4
Copy link
Contributor

olexii4 commented Oct 20, 2021

I have tested it. Looks good, but it has several small issues:

2021-10-20_14 25 37
Swagger (wrong schema for the GET request)
2021-10-20_14 33 26

@che-bot
Copy link
Contributor

che-bot commented Oct 20, 2021

✅ E2E dashboard tests succeed 🎉

See Details

Test product:

  • Use comment "[dashboard-ci-test]" to rerun the dashboard e2e tests

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

@akurinnoy
Copy link
Contributor Author

akurinnoy commented Oct 20, 2021

@olexii4 Could you add some details for the pictures you posted?
I see that icon is not found, maybe something else wrong there?
What is the cluster console URL?

@akurinnoy
Copy link
Contributor Author

akurinnoy commented Oct 20, 2021

@olexii4 I got it, the second picture shows the REST method returns an object with empty fields, and the first picture shows how Dashboard renders that. Thanks, I'm fixing that.

Update: the offline discussion reveals that I got it a bit wrong, there are two separate questions and only one with swagger (request schema) should be fixed.

@openshift-ci
Copy link

openshift-ci bot commented Oct 20, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: akurinnoy, olexii4, sleshchenko

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link

openshift-ci bot commented Oct 20, 2021

New changes are detected. LGTM label has been removed.

@openshift-ci openshift-ci bot removed the lgtm label Oct 20, 2021
@github-actions
Copy link

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-378

@che-bot
Copy link
Contributor

che-bot commented Oct 20, 2021

✅ E2E dashboard tests succeed 🎉

See Details

Test product:

  • Use comment "[dashboard-ci-test]" to rerun the dashboard e2e tests

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

@akurinnoy
Copy link
Contributor Author

/test v7-dashboard-happy-path

@github-actions
Copy link

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-378

@openshift-ci
Copy link

openshift-ci bot commented Oct 25, 2021

@akurinnoy: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/v7-dashboard-happy-path fbe2ccd link true /test v7-dashboard-happy-path

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@akurinnoy akurinnoy merged commit 45f65e6 into main Oct 25, 2021
@akurinnoy akurinnoy deleted the console-link branch October 25, 2021 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

As a user, I want to have a possibility to quickly switch from User Dashboard to the cluster Web UI
4 participants