unkeyed / unkey

Open source API management platform
https://go.unkey.com
Other
2.76k stars 278 forks source link

Long permission name makes settings hard to navigate as it pushes elements off screen. #1976

Open perkinsjr opened 1 month ago

perkinsjr commented 1 month ago

Preliminary Checks

Reproduction / Replay Link (Optional)

No response

Issue Summary

When you have a large permission name, the copy button pushes all elements off screen.

https://github.com/user-attachments/assets/b526e268-cb19-4c3c-aed3-368aa4f8f514

Steps to Reproduce

  1. Create permission with long name
  2. Select the permission to go to settings
  3. See behavior

Expected behavior

Name should be reduced with ellipsis and a tooltip provided for full length name

Other information

No response

Screenshots

No response

Version info

N/A
linear[bot] commented 1 month ago

ENG-1281 Long permission name makes settings hard to navigate as it pushes elements off screen.

DeepaPrasanna commented 1 month ago

sorry I missed this while fixing the long permission names

harshsbhat commented 1 month ago

I think someone already fixed this issue. It's working fine on both my local set up and app.unkey https://www.loom.com/share/473b5431c44844b5860959e2c3510d6e?sid=2dba87e0-c229-4513-bf6d-046e172cd81e

DeepaPrasanna commented 1 month ago

Are the following changes okay?

Screenshot 2024-07-25 231238 Screenshot 2024-07-25 231309