Simplify listed project names when creating issues from issue board

Release notes

N/A

Problem to solve

When I am creating a new issue from an issue board with deeply nested project groups, the popup to select a project shows the full path to each project. This leads to extremely long text for each option that make it hard to read the project names and select a project.

Intended users

User experience goal

Users should be presented with a list of projects that are easy to read and select from.

Proposal

Rather than showing the full path for each project, show only the portion of the path below the board's group. This should remove the common group prefix for each project.

For example, here is a screenshot from a board located at Enverus / Business Automation / OpenInvoice / Analytics (actual project names removed). When creating a new issue from an issue board on the group, the listed projects (foo, bar, abc) show the full path, making it very verbose and difficult to read. The length also limits the number of visible projects to 3, in this case.

Screen_Shot_2020-08-31_at_9.26.42_AM

Given all these projects are under the board's group, it is redundant to show Enverus / Business Automation / OpenInvoice / Analytics repeatedly for every project. Removing that from the text of each option greatly reduces the length of the project names shown, and makes the list much more navigable.

Screen_Shot_2020-08-31_at_9.30.09_AM

Further details

This project is most apparent with deeply nested groups.

Permissions and Security

No impact.

Documentation

Availability & Testing

What does success look like, and how can we measure that?

Users should be able to easily read the list of project names and select a project when creating an issue from an issue board.

What is the type of buyer?

Issue boards are available in Core.

Is this a cross-stage feature?

Links / references

Edited by 🤖 GitLab Bot 🤖