console icon indicating copy to clipboard operation
console copied to clipboard

ODC-7130: Show focus border on pipeline run nodes

Open jeff-phillips-18 opened this issue 2 years ago • 8 comments

Fixes: Fixes ODC-7130

Analysis / Root cause: PF sets the focus border to be hidden on all elements. Updating the layer on hover/focus causes elements to lose focus shortly after gaining it.

Solution Description: Add styling to show the focus border on the task nodes. Restructure the pieces of the node so they remain under the Layer.

jeff-phillips-18 avatar Oct 11 '22 11:10 jeff-phillips-18

/test e2e-gcp-console

jeff-phillips-18 avatar Oct 11 '22 18:10 jeff-phillips-18

/test e2e-gcp-console

jeff-phillips-18 avatar Oct 11 '22 19:10 jeff-phillips-18

/retest

jeff-phillips-18 avatar Oct 13 '22 11:10 jeff-phillips-18

/retest

invincibleJai avatar Oct 18 '22 08:10 invincibleJai

/cc @vikram-raj

invincibleJai avatar Oct 18 '22 08:10 invincibleJai

@vikram-raj Updated:

image

jeff-phillips-18 avatar Oct 18 '22 14:10 jeff-phillips-18

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jeff-phillips-18, vikram-raj

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

The pull request process is described 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[bot] avatar Oct 18 '22 14:10 openshift-ci[bot]

/retest

invincibleJai avatar Oct 20 '22 08:10 invincibleJai

/retitle OCPBUGS-2651: Show focus border on pipeline run nodes

invincibleJai avatar Oct 20 '22 15:10 invincibleJai

@jeff-phillips-18: This pull request references Jira Issue OCPBUGS-2651, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.12.0) matches configured target version for branch (4.12.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact: /cc @sanketpathak

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Fixes: Fixes ODC-7130

Analysis / Root cause: PF sets the focus border to be hidden on all elements. Updating the layer on hover/focus causes elements to lose focus shortly after gaining it.

Solution Description: Add styling to show the focus border on the task nodes. Restructure the pieces of the node so they remain under the Layer.

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.

openshift-ci-robot avatar Oct 20 '22 15:10 openshift-ci-robot

/retest

invincibleJai avatar Oct 21 '22 08:10 invincibleJai

@jeff-phillips-18 i couldn't verify it, am on mac, chrome Version 106.0.5249.119

I couldn't see the outline working, check the below gif

pipelies-details-outline

pipelines-darktheme-import-outline

cc @vikram-raj

invincibleJai avatar Oct 21 '22 08:10 invincibleJai

/hold

invincibleJai avatar Oct 21 '22 08:10 invincibleJai

@invincibleJai Is there a reason to have focus on nodes that are not selectable? I've only added the focus border to the pipeline runs since those nodes are clickable to show details.

jeff-phillips-18 avatar Oct 21 '22 15:10 jeff-phillips-18

@invincibleJai There was no previous focus on the pipeline details tasks. Since they are not clickable there is no need for focus.

jeff-phillips-18 avatar Oct 25 '22 11:10 jeff-phillips-18

/retest

jeff-phillips-18 avatar Oct 25 '22 11:10 jeff-phillips-18

/retest

invincibleJai avatar Oct 26 '22 07:10 invincibleJai

/unhold

invincibleJai avatar Oct 26 '22 10:10 invincibleJai

@invincibleJai There was no previous focus on the pipeline details tasks. Since they are not clickable there is no need for focus.

sorry my bad, I missed that. Thanks for the update

invincibleJai avatar Oct 26 '22 10:10 invincibleJai

/retest

karthikjeeyar avatar Oct 26 '22 12:10 karthikjeeyar

/retest

invincibleJai avatar Oct 27 '22 05:10 invincibleJai

@jeff-phillips-18: all tests passed!

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.

openshift-ci[bot] avatar Oct 27 '22 19:10 openshift-ci[bot]

@jeff-phillips-18: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-2651 has been moved to the MODIFIED state.

In response to this:

Fixes: Fixes ODC-7130

Analysis / Root cause: PF sets the focus border to be hidden on all elements. Updating the layer on hover/focus causes elements to lose focus shortly after gaining it.

Solution Description: Add styling to show the focus border on the task nodes. Restructure the pieces of the node so they remain under the Layer.

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.

openshift-ci-robot avatar Oct 27 '22 19:10 openshift-ci-robot