Remove trailing space from Name, Company, and Email fields
The Name
, Company
, and Email
fields on the CustomersDot License Details page have a trailing space.
That's fine for displaying purposes, you will not notice it.
When investigating license problems we often copy the Email
field (sometimes one of the other fields) and use that to search further in SFDC, Zuora, whatnot.
The search will then fail due to the trailing space. As we're not aware of the trailing space we think the searched value doesn't exist, and we dig deeper into the rabbit hole. I've wasted some time on investigations, being very puzzled, before I noticed the extra space.
The space is probably there to add some visual space between the field and the fa-search
. That could be replaced with some CSS.
How to reproduce
- Go to https://customers.gitlab.com/admin/license
- Click on a license to view the license details page for that license
- Highlight and copy the email address
- Go to https://customers.gitlab.com/admin/customer or SFDC or Zuora and paste the copied email address into the search box
- Observe the trailling white space at the end of the email address
Availability & Testing
Recommend that we add some JavaScript to remove these trailing spaces from the search component. A test should be added to validate that any trailing/leading spaces are removed from the search query.