Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truncate the display of very long PURLs #227

Closed
pombredanne opened this issue Jan 21, 2025 · 1 comment
Closed

Truncate the display of very long PURLs #227

pombredanne opened this issue Jan 21, 2025 · 1 comment

Comments

@pombredanne
Copy link
Member

We should find a way to truncate the display of very long PURLs, may be with a trailing ellipsis "..." and a hover?

For instance, this is problematic: pkg:generic/confluent-community-7.8.0.tar.gz?download_url=https://packages.confluent.io/archive/7.8/confluent-community-7.8.0.tar.gz%253F_gl%253D1%252Ammrjby%252A_gcl_aw%252AR0NMLjE3MzY3ODk2NjQuQ2owS0NRaUFrSk84QmhDR0FSSXNBTWtzd3lnV0hjZjkzdVFJSlFlYTVzSl9lbmF0N3pMRGY2cjVMd19IRU1xQUNhRldYaVBCX3VGTWhsRWFBaVRJRUFMd193Y0I.%252A_gcl_au%252ANjM1NjIzODAzLjE3MzY3ODkzMzQuMTgwNzIwNjI3OS4xNzM2Nzg5ODU4LjE3MzY3ODk4NTk.%252A_ga%252AMTE4ODIzNzc5My4xNzM2Nzg5MzM1%252A_ga_D2D3EGKSGD%252AMTczNjc4OTMzNC4xLjEuMTczNjc4OTg2MC41OC4wLjA.%2526_ga%253D2.154106683.2092885578.1736789335-1188237793.1736789335%2526_gac%253D1.262641022.1736789664.Cj0KCQiAkJO8BhCGARIsAMkswygWHcf93uQIJQea5sJ_enat7zLDf6r5Lw_HEMqACaFWXiPB_uFMhlEaAiTIEALw_wcB

which comes from this URL:

https://packages.confluent.io/archive/7.8/confluent-community-7.8.0.tar.gz?_gl=1%2Ammrjby%2A_gcl_aw%2AR0NMLjE3MzY3ODk2NjQuQ2owS0NRaUFrSk84QmhDR0FSSXNBTWtzd3lnV0hjZjkzdVFJSlFlYTVzSl9lbmF0N3pMRGY2cjVMd19IRU1xQUNhRldYaVBCX3VGTWhsRWFBaVRJRUFMd193Y0I.%2A_gcl_au%2ANjM1NjIzODAzLjE3MzY3ODkzMzQuMTgwNzIwNjI3OS4xNzM2Nzg5ODU4LjE3MzY3ODk4NTk.%2A_ga%2AMTE4ODIzNzc5My4xNzM2Nzg5MzM1%2A_ga_D2D3EGKSGD%2AMTczNjc4OTMzNC4xLjEuMTczNjc4OTg2MC41OC4wLjA.&_ga=2.154106683.2092885578.1736789335-1188237793.1736789335&_gac=1.262641022.1736789664.Cj0KCQiAkJO8BhCGARIsAMkswygWHcf93uQIJQea5sJ_enat7zLDf6r5Lw_HEMqACaFWXiPB_uFMhlEaAiTIEALw_wcB

display this way in the UI which is messy:
Screenshot 2025-01-21 at 09-38-11 Packages

and

Screenshot 2025-01-21 at 09-37-09 Packages pkg

tdruez added a commit that referenced this issue Jan 27, 2025
tdruez added a commit that referenced this issue Jan 27, 2025
@tdruez
Copy link
Contributor

tdruez commented Jan 27, 2025

Addressed in #248

@tdruez tdruez closed this as completed Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants