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
long urls don't break in activity page cards #4727
Comments
/cc @dawariley |
URLs in practice can be upwards of 2000 characters, so another solution, rather than just wrapping the URL, would be to do as many services these days do and display a subset of the characters of the URL while preserving the full URL in the
So, a long URL might be rendered like the following:
|
I like this (with enough characters that normal info about the domain and page is shown so that a human can say "oh, yeah, that page". 30-40?) But another Q of course is: What do we do in the sidebar? I think we should tend towards harmonizing the two. |
Thanks for bringing this to our attention @judell. The solution I would also propose would be to truncate the url, not simply wrapping. Text wrapping is an improvement to it overspilling the 'div' layer which it currently does. I think the more reliable and robust solution for long urls is to truncate the url for the reasons @segdeha has outlined above. |
No further UX/design input is needed and if everyone is ok with the truncating solution it is good to go from my point of view, I will move it out of the design queue into one of the other columns as it is now up to @ajpeddakotla and the delivery team to pick this up when there is time. Thanks for including me! |
Per discussion in our product meeting today w/ @dawariley and @ajpeddakotla, lets make sure we harmonize solution we're using in sidebar and activity pages. |
It looks to me like this was fixed by #4943 |
We're doing this:
But it looks like we also (or instead?) need to do this:
The text was updated successfully, but these errors were encountered: