hashgraph / guardian

The Guardian is an innovative open-source platform that streamlines the creation, management, and verification of digital environmental assets. It leverages a customizable Policy Workflow Engine and Web3 technology to ensure transparent and fraud-proof operations, making it a key tool for transforming sustainability practices and carbon markets.
Apache License 2.0
104 stars 131 forks source link

Users with long names on Guardian are not displayed correctly #3263

Open armarik opened 8 months ago

armarik commented 8 months ago

Problem description

Users with long names on Guardian (latest version with new UI) are not displayed correctly.

Step to reproduce

Steps to reproduce the behavior:

  1. Create a user with a long name such as "cee - c23a7dd4-7384-4504-9d3f-8be4e36cd319"
  2. After signing into guardian, the name of the user in the side panel is cut and the logout icon is not visible (Check screenshots)
  3. Go to the initial Login page
  4. Click the Demo Admin button on the login page and check the list of users and SRs (Check screenshots)) where the name is not readable

Expected behavior

The name of the user should be readable The button for logout should be visible

Screenshots

Added two screenshots illustrating the issue. image (4) image (3)

denischasovskikh commented 8 months ago

I think we should use truncate for long names and add full user name inside Profile page. Also I think it would be useful to add Copy icon for username and DID just incase if it would be needed to send to support team or for any other cases.

Screenshot 2024-03-01 at 16.37.07.png tooltip for user menu.png

Design: https://www.figma.com/file/r4opkmPm3TPieVSXTb0pjK/Design-file-(Guardian)?type=design&node-id=167%3A21230&mode=design&t=Yj44Gm7Bp9ETT5tC-1

armarik commented 3 days ago

@prernaadev01 any updates on this bug?

prernaadev01 commented 3 days ago

@armarik Thank you for following up on this. Currently, this issue is added as an UI/UX enhancement. Please let us know if its a priority for you so that we can plan on this accordingly. Thanks

armarik commented 2 days ago

Hi, @prernaadev01! It is not high priority but a nice to have. All of our users have long names and it can be cumbersome to not have a visible logout button (which the long name "obscures").

prernaadev01 commented 2 days ago

@armarik Sure. We will prioritize this and plan to complete this in this month.