Bug 2017001 - Topology context menu for Serverless components always open downwards
Summary: Topology context menu for Serverless components always open downwards
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.11.0
Assignee: Sahil Budhwar
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 2099527
TreeView+ depends on / blocked
 
Reported: 2021-10-25 11:35 UTC by Christoph Jerolimov
Modified: 2022-08-10 10:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 10:39:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
topology-context-menu.mp4 (589.13 KB, video/mp4)
2021-10-25 11:36 UTC, Christoph Jerolimov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11152 0 None open Bug 2017001: Bug fix context menu position on topology 2022-03-08 07:46:24 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:39:33 UTC

Description Christoph Jerolimov 2021-10-25 11:35:53 UTC
Description of problem:
The context menu of the topology opens normally downwards, but for components which are shown at the bottom edge of the visible area, the context menu opens upwards so that the context menu is (hopefully) fully visible.

This works for applications, deployments, etc. but not for Serverless components like a Knative Service or Revision. For these resources the menu always opens downwards.

See attached video.

Version-Release number of selected component (if applicable):
- Works in 4.8 and 4.9
- Broken in latest console master (tested with f516dd96ec498038dfb1b4acbd08bbbc1031937d)

How reproducible:
Always

Steps to Reproduce:
1. Install the OpenShift Serverless operator
2. Switch to the Developer perspective
3. Import an application as standard Deployment
4. Import an application and enable the Serverless option
5. Switch to the topology and move the Deployment and the Serverless Service to the button edge
6. Right click the both applications (the service and revision for example) and compare it with right clicks on the app or the deployment.

Actual results:
- The App and Deployment context menu opens upwards, as expected.
- The Serverless Service and Revision menu opens downwards and are the options could not be selected.

Expected results:
- The Serverless Service and Revision menu should also open upwards when the menu could not be shown completely downwards.

Additional info:
None

Comment 1 Christoph Jerolimov 2021-10-25 11:36:22 UTC
Created attachment 1836720 [details]
topology-context-menu.mp4

Comment 3 Christoph Jerolimov 2022-03-04 15:56:11 UTC
Can we resolve the actions before rendering the menu or performing reposition once all actions are resolved (just once)?

Comment 6 Christoph Jerolimov 2022-04-06 10:18:12 UTC
Verified on 4.11.0-0.nightly-2022-04-01-172551

Comment 9 errata-xmlrpc 2022-08-10 10:39:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5069


Note You need to log in before you can comment on or make changes to this bug.