Implemented trimming for item's name in Web IDE

What does this MR do?

Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/57540 by implementing trimming for items' names in Web IDE. It removes leading and trailing spaces in names while leaving the internal spaces intact.

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/57540

Does this MR meet the acceptance criteria?

Closes #57540 (closed)

Merge request reports

Loading