ix icon indicating copy to clipboard operation
ix copied to clipboard

The about and legal overlay can not be closed by clicking avatar and its sub options

Open chencc1988 opened this issue 1 year ago • 5 comments

What happened?

image

According to the description, the overlay can be closed by clicking another navigation item. But the avatar is an exception.

Animation

What type of frontend frameware are you seeing the problem on?

Angular

Which version of iX do you use?

v2.0.4

Code to produce this issue.

https://stackblitz.com/edit/9vr42x?file=src%2Fapp%2Fvertical-tabs-with-avatar.ts

chencc1988 avatar Dec 27 '23 02:12 chencc1988

Topic was also raised in Viva Engage. Same question as reply here: What exactly is your use case for this? Maybe this will help us understand this requirement better.

  • Expected behaviour: Clicking the Avatar should not close the overlay
  • Expected behaviour: Clicking the Sub option "Logout" should not close the overlay
  • TBD: Clicking any other Sub option might need a closing of the overlay, depending on the action

flxlst09 avatar Feb 01 '24 08:02 flxlst09

@flxlst09 https://ix.siemens.io/docs/controls/navigation/about-and-legal#behavior If this is in accordance with the design rule, could a description of that rule be added to the above link. Otherwise testers ask me again and again why other options close the overlays but not the avatar.

The biggest problem for me is how to explain why it's designed that way

chencc1988 avatar Feb 01 '24 08:02 chencc1988

image Can the team change the description so I can explain to the testers that this is consistent with the design

chencc1988 avatar Feb 01 '24 08:02 chencc1988

Yes, we will specify this.

Until then you can refer to the definition of the menu. There, the Avatar Button is separated from Navigation Section, only (3) and (4) will close the overlay.

(1) Expand/collapse icon button: expands and collapses the navigation menu (2) Avatar button (optional): shows the logged-in user and provides access to user-related actions (3) Navigation section: navigates through the main parts of an application (4) Bottom section: hosts infrastructural actions and additional content but does not navigate away from the selected main part

flxlst09 avatar Feb 01 '24 10:02 flxlst09

Internal ref [IX-857]

matthiashader avatar Feb 06 '24 10:02 matthiashader