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

Same workspace actions menu #1108

Merged
merged 12 commits into from May 13, 2024
Merged

Same workspace actions menu #1108

merged 12 commits into from May 13, 2024

Conversation

akurinnoy
Copy link
Contributor

@akurinnoy akurinnoy commented May 7, 2024

What does this PR do?

  1. The workspace actions menu closes as expected.

    Demo
    Screen.Recording.2024-05-08.at.12.25.30.mov
  2. All the workspace action menus look the same.

    Demo

    Recent workspaces in sidebar

    Screenshot 2024-05-08 at 11 23 53

    Workspaces list page

    Screenshot 2024-05-08 at 11 25 35

    Workspace details page

    Screenshot 2024-05-08 at 12 15 39

What issues does this PR fix or reference?

fixes eclipse-che/che#22931
fixes https://issues.redhat.com/browse/CRW-6269

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
Copy link

openshift-ci bot commented May 7, 2024

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

@che-bot
Copy link
Contributor

che-bot commented May 7, 2024

Click here to review and test in web IDE: Contribute

Copy link

codecov bot commented May 7, 2024

Codecov Report

Attention: Patch coverage is 96.03175% with 30 lines in your changes are missing coverage. Please review.

Project coverage is 89.29%. Comparing base (0125fb5) to head (2e78937).

Files Patch % Lines
...rc/pages/WorkspaceDetails/Header/Actions/index.tsx 72.41% 8 Missing ⚠️
...dashboard-frontend/src/Layout/Navigation/index.tsx 0.00% 7 Missing ⚠️
...ntexts/WorkspaceActions/BulkDeleteButton/index.tsx 96.22% 4 Missing ⚠️
...rontend/src/contexts/WorkspaceActions/Provider.tsx 91.66% 4 Missing ⚠️
...shboard-frontend/src/pages/WorkspacesList/Rows.tsx 90.47% 4 Missing ⚠️
...t/Navigation/RecentItem/WorkspaceActions/index.tsx 96.55% 2 Missing ⚠️
...hboard-frontend/src/pages/WorkspacesList/index.tsx 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1108      +/-   ##
==========================================
+ Coverage   89.07%   89.29%   +0.21%     
==========================================
  Files         406      407       +1     
  Lines       41698    41469     -229     
  Branches     2792     2761      -31     
==========================================
- Hits        37143    37030     -113     
+ Misses       4528     4413     -115     
+ Partials       27       26       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented May 7, 2024

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

kubectl patch command
kubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1108", name: che-dashboard}]}}]"

Copy link

github-actions bot commented May 8, 2024

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

kubectl patch command
kubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1108", name: che-dashboard}]}}]"

@akurinnoy akurinnoy marked this pull request as ready for review May 8, 2024 09:36
Copy link

github-actions bot commented May 8, 2024

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

kubectl patch command
kubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1108", name: che-dashboard}]}}]"

Copy link

github-actions bot commented May 8, 2024

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

kubectl patch command
kubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1108", name: che-dashboard}]}}]"

Copy link

github-actions bot commented May 9, 2024

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

kubectl patch command
kubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1108", name: che-dashboard}]}}]"

Copy link
Contributor

@olexii4 olexii4 left a comment

Choose a reason for hiding this comment

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

I have tested these changes with Minikube. Everything looks like it was expected.

Знімок екрана 2024-05-10 о 14 51 15

Copy link

openshift-ci bot commented May 10, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

…teButton/__tests__/index.spec.tsx

Co-authored-by: Oleksii Orel <oorel@redhat.com>
@openshift-ci openshift-ci bot removed the lgtm label May 10, 2024
Copy link

openshift-ci bot commented May 10, 2024

New changes are detected. LGTM label has been removed.

Copy link

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

kubectl patch command
kubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1108", name: che-dashboard}]}}]"

@akurinnoy akurinnoy merged commit a010b15 into main May 13, 2024
18 checks passed
@akurinnoy akurinnoy deleted the workspace-actions branch May 13, 2024 08:15
@devstudio-release
Copy link

Build 3.14 :: dashboard_3.x/489: Console, Changes, Git Data

@devstudio-release
Copy link

@devstudio-release
Copy link

@devstudio-release
Copy link

@devstudio-release
Copy link

@devstudio-release
Copy link

@devstudio-release
Copy link

Build 3.14 :: dashboard_3.x/489: SUCCESS

Upstream sync done; /DS_CI/sync-to-downstream_3.x/6768 triggered

@devstudio-release
Copy link

@devstudio-release
Copy link

@devstudio-release
Copy link

@devstudio-release
Copy link

@devstudio-release
Copy link

Build 3.14 :: copyIIBsToQuay/2642: Console, Changes, Git Data

@devstudio-release
Copy link

Build 3.14 :: sync-to-downstream_3.x/6769: SUCCESS

Build container: devspaces-operator-bundle synced; /DS_CI/get-sources-rhpkg-container-build_3.x/6722 triggered; /job/DS_CI/job/dsc_3.x triggered;

@devstudio-release
Copy link

Build 3.14 :: operator-bundle_3.x/2986: SUCCESS

Upstream sync done; /DS_CI/sync-to-downstream_3.x/6769 triggered

@devstudio-release
Copy link

Build 3.14 :: update-digests_3.x/6570: SUCCESS

Detected new images: rebuild operator-bundle
* dashboard; /DS_CI/operator-bundle_3.x/2986 triggered

@devstudio-release
Copy link

Build 3.14 :: dsc_3.x/1915: Console, Changes, Git Data

@devstudio-release
Copy link

Build 3.14 :: dsc_3.x/1915: SUCCESS

3.14.0-CI

@devstudio-release
Copy link

Build 3.14 :: copyIIBsToQuay/2642: SUCCESS

3.14
arches = x86_64, s390x, ppc64le;
  * LATEST DS OPERATOR BUNDLE = <a href=https://quay.io/repository/devspaces/devspaces-operator-bundle?tab=tags>registry-proxy.engineering.redhat.com/rh-osbs/devspaces-operator-bundle:3.14-23
  * LATEST DWO OPERATOR BUNDLE = <a href=https://quay.io/repository/devworkspace/devworkspace-operator-bundle?tab=tags>registry-proxy.engineering.redhat.com/rh-osbs/devworkspace-operator-bundle:???
+ s390x-rhel8 IIB(s) copied:
  + quay.io/devspaces/iib:3.14-v4.16-726393-s390x
  + quay.io/devspaces/iib:3.14-v4.16-s390x
  + quay.io/devspaces/iib:next-v4.16-s390x
  + quay.io/devspaces/iib:3.14-v4.15-726392-s390x
  + quay.io/devspaces/iib:3.14-v4.15-s390x
  + quay.io/devspaces/iib:next-v4.15-s390x
  + quay.io/devspaces/iib:3.14-v4.14-726390-s390x
  + quay.io/devspaces/iib:3.14-v4.14-s390x
  + quay.io/devspaces/iib:next-v4.14-s390x
  + quay.io/devspaces/iib:3.14-v4.13-726387-s390x
  + quay.io/devspaces/iib:3.14-v4.13-s390x
  + quay.io/devspaces/iib:next-v4.13-s390x
  + quay.io/devspaces/iib:3.14-v4.12-726386-s390x
+ x86_64-rhel8 IIB(s) copied:
  + quay.io/devspaces/iib:3.14-v4.16-726393-x86_64
  + quay.io/devspaces/iib:3.14-v4.16-x86_64
  + quay.io/devspaces/iib:next-v4.16-x86_64
  + quay.io/devspaces/iib:3.14-v4.15-726392-x86_64
  + quay.io/devspaces/iib:3.14-v4.15-x86_64
  + quay.io/devspaces/iib:next-v4.15-x86_64
  + quay.io/devspaces/iib:3.14-v4.14-726390-x86_64
  + quay.io/devspaces/iib:3.14-v4.14-x86_64
  + quay.io/devspaces/iib:next-v4.14-x86_64
  + quay.io/devspaces/iib:3.14-v4.13-726387-x86_64
  + quay.io/devspaces/iib:3.14-v4.12-726386-x86_64
+ ppc64le-rhel8 IIB(s) copied:
  + quay.io/devspaces/iib:3.14-v4.16-726393-ppc64le
  + quay.io/devspaces/iib:3.14-v4.16-ppc64le
  + quay.io/devspaces/iib:next-v4.16-ppc64le
  + quay.io/devspaces/iib:3.14-v4.15-726392-ppc64le
  + quay.io/devspaces/iib:3.14-v4.15-ppc64le
  + quay.io/devspaces/iib:next-v4.15-ppc64le
  + quay.io/devspaces/iib:3.14-v4.14-726390-ppc64le
  + quay.io/devspaces/iib:3.14-v4.14-ppc64le
  + quay.io/devspaces/iib:next-v4.14-ppc64le
  + quay.io/devspaces/iib:3.14-v4.13-726387-ppc64le
  + quay.io/devspaces/iib:3.14-v4.12-726386-ppc64le

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants