OpenBazaar-Client
OpenBazaar-Client copied to clipboard
Allow cosmetic link name in About profile page
As you can see a complex URL will make the link look bad. We should allow users to maybe put a pretty print name with possibly a hover over for the real URL?

We'd just need to add a separate field in the API for the display name, and then add it to the template and to the settings page.
I wonder if we can solve this with regular expressions so that only website.extension displays at all times? If we can strip out 'http://www.' and anything after the trailing slash (if one exists), then it should be as pretty as possible at that point. @hoffmabc @jjeffryes thoughts?
I accidentally answered this in the Slack channel.
Yes, we could make this a bit better with Regex, we'd remove the protocol and www, and any queries, from the displayed name.
That could be done either in the model or the template.
@jjeffryes Any updates on that?
This is still a low-priority todo.
The ideal way to do this would be to change the backend so the "pretty text" can be saved for each field.
That would require two fields for each one, one the displayed text and one the URL.
As a stretch goal it would be good to add an "Other" link, which could be used for whatever users want.